home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8548 < prev    next >
Encoding:
Text File  |  1993-01-26  |  1.9 KB  |  52 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!gmd.de!gmd.de!focke
  3. From: focke@gmd.de (Stefan Focke)
  4. Subject: Re: Font troubles
  5. Message-ID: <focke.151.728042772@gmd.de>
  6. Sender: news@gmd.de (USENET News)
  7. Nntp-Posting-Host: novell2
  8. Organization: gmd
  9. References: <1993Jan16.001305.29011@lunatix.uucp> <1993Jan18.203540.6089@lunatix.uucp>
  10. Date: Tue, 26 Jan 1993 10:06:12 GMT
  11. Lines: 39
  12.  
  13. In article <1993Jan18.203540.6089@lunatix.uucp> shudes@lunatix.uucp (Chris Shudes) writes:
  14. >From: shudes@lunatix.uucp (Chris Shudes)
  15. >Subject: Re: Font troubles
  16. >Date: Mon, 18 Jan 1993 20:35:40 GMT
  17. >I have experimented a little bit, and played around with the
  18. >CreateFont API function.  However, this function does not acheive
  19. >what I am looking for.  What I need is to be able to load a
  20. >specific TrueType font.  The CreateFont only loads a matching
  21. >font, which is to imprecise for my use. 
  22. >
  23. >Also, how do I go about using the Font selection dialog (i.e the
  24. >one the Write uses to let users select the current font).  If Ic
  25. >could get a hold of that dialog, then it might show me how to get
  26. >and load a truetype font.
  27. >
  28. >Could someone please lead me in the right direction, an example
  29. >would be priceless!  Thanks.
  30. >
  31. >-- 
  32. >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  33. >Chris Shudes                            
  34. >Lunatix Public Access, Lexington, KY 
  35. >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  36.  
  37.  
  38. Hello!
  39.  
  40. If you want it could mail or post a piece of code. It uses the 
  41. CreateFontIndirect-call. Why do you think, that this does not use the font 
  42. you specify in the lfFaceName parameter?
  43.  
  44. Stefan
  45.  
  46. ----------------------------------------------------------------------
  47.  
  48. Stefan Focke                  Tel. 02241-14-3154
  49. GMD-I8                        e-mail: stefan.focke@gmd.de
  50. Postfach 1316
  51. D-W 5205 Sankt Augustin 1            
  52.