Announcement

Collapse
No announcement yet.

Create "Script" or "MS Script Bold" font?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create "Script" or "MS Script Bold" font?

    My font code will create "Signature" font but not "Script"? Is there a
    True type font that looks like written words and not printed words?

    Thanks,

    Brent

  • #2
    brs_____.ttf looks just like handwriting. It's called Brush Script.

    Comment


    • #3
      COMPILE AND RUN :
      Code:
      '-------------------------------------------------------------------------------
      '   CHOOSE_FONT.BAS for PB/DLL 6.11
      '   AUTHOR: Michael Mattias Racine WI
      '   Test ChooseFont Common DialogBox.
      '   Written: 6/23/02
      '   WORKS TERRIFIC. Can add options with CfhookProc if I want to do something else.
      '   Like.. command line option "printer fonts, screen fonts, "printer & screen fonts"
      '-------------------------------------------------------------------------------
      
      #COMPILE EXE
      #DEBUG ERROR ON
      #REGISTER NONE
      
      #INCLUDE  "WIN32API.INC"    ' file date: 2/25/02 (PB version date).
      #INCLUDE "COMDLG32.INC"
      ' #RESOURCE "CHOOSE_FONT.PBR"   NOT USED
      
      
      FUNCTION WINMAIN (BYVAL hInstance     AS LONG, _
                        BYVAL hPrevInstance AS LONG, _
                        lpCmdLine           AS ASCIIZ PTR, _
                        BYVAL iCmdShow      AS LONG) AS LONG
        ' and the incredibly complicated code for what WinMain does:
        LOCAL cf AS choosefontapi       ' comdlg32
        cf.lstructSize  = SIZEOF(cf)
        cf.flags        = %CF_BOTH OR %CF_EFFECTS
        FUNCTION = ChooseFont(cf)
      
        FUNCTION = 5
      
      
      END FUNCTION
      Michael Mattias
      Tal Systems (retired)
      Port Washington WI USA
      [email protected]
      http://www.talsystems.com

      Comment


      • #4
        Thanks John,

        Found out can also use "Script MT Bold", had it spelled wrong.

        Comment


        • #5
          > had it spelled wrong.

          Determine if font with given face name is installed on user system

          MCM
          Michael Mattias
          Tal Systems (retired)
          Port Washington WI USA
          [email protected]
          http://www.talsystems.com

          Comment

          Working...
          X