|
> The problem we were discussing was the fact that there doesn't seem to exist
> a nice way to get (programatically) the font file name, given a font name
> (and attributes). The only solution found yet for this seems to be: Locate
> all font files on the system, read all the info from them, and build a huge
> table in memory (or database) and use this. Much too much work for a quick
> hack :-)
Or...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
This brought to my attention that not all the files listed are "single
font" files (look for ttc files).
Is there any reason that txt2dat can't handle font face names?
--
Dean Earley, Dee (dean@earlsoft.co.uk)
irc: irc://irc.blitzed.org/
web: http://personal.earlsoft.co.uk
phone: +44 (0)780 8369596
|
|
|
In lugnet.cad.dev, Dean Earley wrote:
>
> Is there any reason that txt2dat can't handle font face names?
Well, apart from the difficulty of converting a Windows face name to a filename
as identified here, I always intended it to be relatively easy to port to other
platforms. And the most non-platform specific way I could think to do that was
to require the full path to the actual font file.
I would rather concentrate on the guts of it, and let others produce nice front
ends (like quitx2d) for their platform of choice.
BTW anyone that feels like porting to other platforms please feel free...
ROSCO
|
|
|