home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- From: chris@chrism.demon.co.uk (Chris Marriott)
- Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
- Subject: Re: Help: How to print w/ the same fonts as on screen
- Distribution: world
- References: <1992Dec30.231615.10852@njitgw.njit.edu>
- Organization: None
- Reply-To: chris@chrism.demon.co.uk
- X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
- Lines: 35
- Date: Thu, 31 Dec 1992 19:28:05 +0000
- Message-ID: <725830085snz@chrism.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <1992Dec30.231615.10852@njitgw.njit.edu> wxt5592@hertz.njit.edu writes:
-
- >
- > Question: How do you print the text with the same fonts as what
- >
- >are displayed on screen?
- >
- > What if true type fonts are used?
- >
- > What if non true type fonts are used?
- >
- > (Assume the fonts on screen are not printer internal fonts)
- >
- >
- > Thanks.
- >
-
- That's one of the purposes of the "ChooseFont" common dialog box. If you
- give it the "CF_WYSIWYG" flag, it'll only show you the fonts which are
- available on both the screen and the printer.
-
- In general, if you want WYSIWYG, you have to use scalable fonts. That means
- TT fonts on 3.1 and (yuck!) vector fonts on 3.0. Unless you use a scaleable
- font, the Window font mapper will give you the "closest approximation" to
- the font you request, which sometimes is *not* terribly close at all!
-
- Chris
- --
- --------------------------------------------------------------------------
- | Chris Marriott | chris@chrism.demon.co.uk |
- | Warrington, UK | BIX: cmarriott |
- | (Still awaiting inspiration | CIX: cmarriott |
- | for a witty .sig .... ) | CompuServe: 100113,1140 |
- --------------------------------------------------------------------------
-
-