Results 1 to 11 of 11

Thread: How can I embed fonts in VB?

  1. #1

    Thread Starter
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91

    Question

    In my program, I have used some different fonts. When another user uses my program, they don't have the fonts, and as a result, the default is used, and the words don't align right. Does anyone know how to embed the fonts into my program so that the right fonts will show? Or am I better off changing the fonts to a default font that windows has. Thanks for your help!!

    ~Brian

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Hmm. I believe you can ship the fonts in your installation package, you'll have to put them in c:\windows\fonts\

    but you have to register them or somethin', do a search on this forum, it was posted not so long ago
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91
    Yea, that is what I thought. I'll do a search of this place and see what I get. Thanks for you help, Jop

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    No Problem.
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Hmmmm.....
    Remeber that most fonts are copyright and if you dont have a license to distribute them you are not allowed to do so.

  6. #6
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Joacim, you're right, but there a lot cool free-ware fonts too, as long as you make a special thanx in your Readme.txt
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  7. #7

    Thread Starter
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91
    Yes, the 3 fonts that I want to embed are freeware, and are legitimate. I think I'll write an extra thanks to the makers of the fonts, and maybe an extra confirmation as well. I did find "some" information, and found that the fonts have to be put in the users C:/windows/fonts folder. So that means that I have to make a nice little package for my program, and have the fonts install. Does anyone know how to do this? Thanks for your help!

  8. #8
    Lively Member Kersey's Avatar
    Join Date
    Jun 1999
    Location
    The Netherlands
    Posts
    101

    pack & depl wiz...

    I think you could also
    Add the fonts to your cab.
    edit (don't if it's possible in p&d wiz.) the setup.lst to install them in the dir you want.

  9. #9

    Thread Starter
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91
    Sweetness, I'll give it a try Kersey. Thanks

    ~Brian

  10. #10
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    You could do this with the Package and Deployment Wizard.
    Add the fonts when you get to the "Included files" dialog and when you reach the "Install Location" dialog just pick $(Font) as the install location.

  11. #11
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    http://forums.vb-world.net/showthrea...threadid=28121

    This will help, Parksie did it again!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width