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 / 10232
  Re: txt2dat - Create LDraw files from text
 
(...) Quick hack: (URL) (Exe + Delphi 5 source, 270 kB) (...) 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 (...) (19 years ago, 30-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Wow! Thanks Anders, I will add a link from my page next time I update it! (...) I see what you mean. I never realised it would be so hard to get that information, good ol' windoze. I think your way is the easiest workaround. (...) Works great (...) (19 years ago, 30-Apr-05, to lugnet.cad.dev)
 
  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)
 
  Re: txt2dat - Create LDraw files from text
 
(...) I'm not sure if this is what you're talking about, but in both the (URL) GUItxt2d app> and (URL) 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 (...) (19 years ago, 3-May-05, to lugnet.cad.dev, FTX)
 
  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)
 
  Re: txt2dat - Create LDraw files from text
 
(...) No, I figured it out. XP seems to come with a special Hidden System desktop.ini file in the font directory with this in it. [.ShellClassInfo] UICLSID={BD84B380-8C...00948F534} It makes the standard Windows open file dialog behave in a way that (...) (19 years ago, 3-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) ?? I have WinXP, SP2 and don't see this. But I have set Explorer to not hide anything and show all extensions. I haven't done anything special to the Fonts directory (as I remember), and it shows just like any other. (...) I have a nice little (...) (19 years ago, 3-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Or... HKEY_LOCAL_MACHINE\S...ft\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? (19 years ago, 3-May-05, to lugnet.cad.dev)
 
  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 (...) (19 years ago, 4-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) That's odd. I always set explorer that way myself, but I have the same desktop.ini file and the same behavior in the fonts directory on both XP and 95. Apparently you can modify all sorts of folder behavior with these magic options in (...) (19 years ago, 4-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) If you make a program that accepts drag and drop, you can drag the font file onto the program, and it will get the full path. I don't know what's up with Anders' system either. Mine behaves just like yours. Oh, and the UICLSID in the (...) (19 years ago, 5-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Maybe it's a language thing. I've seen hints that some of the desktop.ini bits behave differently when you're set up for a different language. Or perhaps the OEMs package Windows differently for other countries and skip the desktop.ini file in (...) (19 years ago, 5-May-05, to lugnet.cad.dev)

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