To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10241
10240  |  10242
Subject: 
Re: txt2dat - Create LDraw files from text
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 3 May 2005 23:37:15 GMT
Viewed: 
4830 times
  
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



Message has 1 Reply:
  Re: txt2dat - Create LDraw files from text
 
(...) 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 (...) (20 years ago, 4-May-05, to lugnet.cad.dev)

Message is in Reply To:
  Re: txt2dat - Create LDraw files from text
 
(...) ?? I don't understand exactly what you're saying here. Are you trying to copy the full file path to the Clipboard? If so, don't try in the dialog, select a file instead and copy the full path from the input field 'Font file' on the main screen (...) (20 years ago, 3-May-05, to lugnet.cad.dev)

29 Messages in This Thread:











Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR