Article View: borland.public.delphi.nativeapi
Article #12195Re: Windows Fonts Again
From: Peter Below (TeamB)
Date: Sat, 23 Nov 2002 10:18
Date: Sat, 23 Nov 2002 10:18
20 lines
2013 bytes
2013 bytes
In article <3dde62a8@newsgroups.borland.com>, Camiel Wijffels wrote: > When I use the Windows API call EnumFontFamilies with for example "Arial", I > get as response four fonts: "Arial", "Arial Italic", "Arial Bold" and "Arial > Bold Italic". However I have more "Arial" fonts installed in my Fonts > directory, for example "Arial Cursief", "Arial Vet" and "Arial Vet Cursief" > (the dutch version). However the EnumFontFamilies function does NOT find > them. And I NEED to find them as well. How to? Perhaps these fonts do not belong to the Arial family, despite their display names. Try to call EnumFontFamiliesEx with a Tlogfont that has its lfFaceName set to empty (#0). If you now get one of the missing fonts in addition to Arial you know that it belongs to a different typeface. -- Peter Below (TeamB) Use the newsgroup archives : http://www.mers.com/searchsite.html http://www.tamaracka.com/search.htm http://groups.google.com http://www.prolix.be
Technical Details
Message-ID:
<VA.0000966f.003cab0b@antispam.compuserve.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3dde62a8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,b43c296ff6ef66e1 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2002-11-23 03:15:33 PST Date: Sat, 23 Nov 2002 11:18:59 +0100 Newsgroups: borland.public.delphi.nativeapi Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va Organization: TeamB Message-ID: <VA.0000966f.003cab0b@antispam.compuserve.com> Subject: Re: Windows Fonts Again From: "Peter Below (TeamB)" <100113.1101@compuXXserve.com> Reply-To: 100113.1101@compuXXserve.com References: <3dde62a8@newsgroups.borland.com> NNTP-Posting-Host: 172.177.2.54 X-Trace: newsgroups.borland.com 1038046727 172.177.2.54 (23 Nov 2002 02:18:47 -0800) Lines: 22 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail