🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6391

Re: How to get font-name(s) inside a font-file (e.g. .ttf)?

#6391
From: Gary Setter
Date: Thu, 12 May 2005 14:46
10 lines
1513 bytes
<snip>
 What am I doing wrong?
<snip>
The second parameter of EnumFontFamiliesEx is suppose to be a pointer to a
LOGFONT struct. Passing a null does not seem like a good idea to me. Also,
why not set the lfFaceName member to the font you're looking for?

That might get you started.
Good luck,
Gary
Technical Details
Message-ID: <42836caf@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <0c7u719l2n1sqsjblkuj6q5kqimdvbrvun@4ax.com> <427f6106$1@newsgroups.borland.com> <rd4381lh1vdngk75scu572cnldb6vguqdk@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fb5240beb7be969f
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Gary Setter" <setterg@worldnet.att.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <0c7u719l2n1sqsjblkuj6q5kqimdvbrvun@4ax.com> <427f6106$1@newsgroups.borland.com> <rd4381lh1vdngk75scu572cnldb6vguqdk@4ax.com>
Subject: Re: How to get font-name(s) inside a font-file (e.g. .ttf)?
Date: Thu, 12 May 2005 09:46:35 -0500
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 12.74.20.157
Message-ID: <42836caf@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115909295 12.74.20.157 (12 May 2005 07:48:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail