Article View: borland.public.cppbuilder.nativeapi
Article #1946Screen v/s Printer Fonts
From: JD
Date: Sat, 09 Jun 2007 17:11
Date: Sat, 09 Jun 2007 17:11
19 lines
1472 bytes
1472 bytes
I'm at a bit of a loss with how to proceed with a print preview. One can use TScreen::Fonts to get a list of screen fonts and TPrinter::Fonts to get a list of fonts for the currently selected printer. As I was looking at these, I noticed that my HP did not have Courier and of course there were other fonts as well that did not show up in both lists. I can work with what ever screen font even if it's not available to the printer because I can use a Bitmap that I can convert to a DIB and print that when needed. My problem is what to do when the user selects a printer font that's not available to the screen. Any suggestions? ~ JD
Technical Details
Message-ID:
<466adf52$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,be0d896b55cafce,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Screen v/s Printer Fonts Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 152.163.100.144 X-Forwarded-For: 172.146.27.206 NNTP-Posting-Host: 207.105.83.66 Message-ID: <466adf52$1@newsgroups.borland.com> Date: 9 Jun 2007 10:11:46 -0700 X-Trace: newsgroups.borland.com 1181409106 207.105.83.66 (9 Jun 2007 10:11:46 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail