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 / 10237
10236  |  10238
Subject: 
Re: txt2dat - Create LDraw files from text
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 3 May 2005 18:19:24 GMT
Viewed: 
4255 times
  
In lugnet.cad.dev, Dean Earley wrote:
  
  
   working out which font file to use is a bit of a pain sometimes...

I googled for it (going from font name to font file) and could only find the advice to enumerate all font files and read the info in them. Sounds like loads of work :-(

I did it the other way around - point to a font file, and my GUI shows a preview of the font.

I was trying to knock something up in VB, but came across the problem of getting the file from the font. I couldn’t find anything suitable in the registry either.

I’m not sure if this is what you’re talking about, but in both the GUItxt2d app and my cheesy tcl app I can’t get the font file directly from the file open dialog in XP. Instead, when I double click on a font, I get a large window with a preview of that font. In order to get the file name I have to right click on the font name, select properties and then cut and paste the filename from that dialog. What a pain indeed.

I noticed another possible problem with the GUItxt2d program. It looks like the WinExecAndWait function works on XP, but not on Win95. On 95 I get a small dialog box with the informative message error message “2”, and an OK button. Press Ok and then of course it complains that the tmp.tmp file doesn’t exist. Does anyone else out there still use 95? Probably not...

Have Fun,

Don



Message has 1 Reply:
  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 (...) (19 years ago, 3-May-05, to lugnet.cad.dev)

Message is in Reply To:
  Re: txt2dat - Create LDraw files from text
 
(...) I was trying to knock something up in VB, but came across the problem of getting the file from the font. I couldn't find anything suitable in the registry either. (19 years ago, 1-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