home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4536 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.8 KB  |  50 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. From: chris@chrism.demon.co.uk (Chris Marriott)
  3. Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
  4. Subject: Re: Help: How to print w/ the same fonts as on screen 
  5. Distribution: world
  6. References: <1992Dec30.231615.10852@njitgw.njit.edu>
  7. Organization: None
  8. Reply-To: chris@chrism.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
  10. Lines: 35
  11. Date: Thu, 31 Dec 1992 19:28:05 +0000
  12. Message-ID: <725830085snz@chrism.demon.co.uk>
  13. Sender: usenet@demon.co.uk
  14.  
  15. In article <1992Dec30.231615.10852@njitgw.njit.edu> wxt5592@hertz.njit.edu writes:
  16.  
  17. >
  18. >    Question:  How do you print the text with the same fonts as what 
  19. >
  20. >are displayed on screen?
  21. >
  22. >    What if true type fonts are used?
  23. >
  24. >    What if non true type fonts are used?
  25. >
  26. >    (Assume the fonts on screen are not printer internal fonts)
  27. >
  28. >
  29. >    Thanks.
  30. >
  31.  
  32. That's one of the purposes of the "ChooseFont" common dialog box.  If you
  33. give it the "CF_WYSIWYG" flag, it'll only show you the fonts which are
  34. available on both the screen and the printer.
  35.  
  36. In general, if you want WYSIWYG, you have to use scalable fonts.  That means
  37. TT fonts on 3.1 and (yuck!) vector fonts on 3.0.  Unless you use a scaleable
  38. font, the Window font mapper will give you the "closest approximation" to
  39. the font you request, which sometimes is *not* terribly close at all!
  40.  
  41. Chris
  42. -- 
  43. --------------------------------------------------------------------------
  44. | Chris Marriott                           | chris@chrism.demon.co.uk    |
  45. | Warrington, UK                           | BIX: cmarriott              |
  46. | (Still awaiting inspiration              | CIX: cmarriott              |
  47. |  for a witty .sig .... )                 | CompuServe: 100113,1140     |
  48. --------------------------------------------------------------------------
  49.  
  50.