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 / 10225
  Re: txt2dat - Create LDraw files from text
 
(...) Nuthin like a good ol' command line utility ;) though I wouldn't be adverse to someone creating a nice graphical interface - working out which font file to use is a bit of a pain sometimes... ROSCO (20 years ago, 29-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Yeah, I was gonna suggest you convert the "font" from the ldraw lettered tiles into a cheesy builtin internal font, which would be used by default. Then add a -f before the font if you can find a better one somewhere. That way you could make (...) (20 years ago, 29-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) <snip> (...) ahhh..... ummm.... LSynth? LPub has its own built in cheezy little GUI! (...) K (20 years ago, 29-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Err... yeah, lsynth. That's why I couldn't find it. So now that I found it it looks a bit more than 10 lines. Oops. Anyhow, substitute txt2dat for lsynth, make a few little additions and ya get a cheesy GUI for txt2dat that sorta works. Enjoy, (...) (20 years ago, 29-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) All we need to generate the cheesy LEGO font file is an output-truetype module for autotrace, and a ready supply of lettered tiles ;) ROSCO (20 years ago, 29-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) That's not too hard to find. (URL) like a wrapper for autotrace and some other stuff. (...) Yeah, you got me there. I think I've got a couple a numbers from the harry potter house sets, and that's about it. Yer more likely to get the whole (...) (20 years ago, 30-Apr-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Actually, looking at the brick 1x1s with letters in LDraw, it should be possible to generate glyphs straight from the DAT files. Then it's just a matter of packaging them up nicely in a font file, saves having to convert it to a bitmap & back. (...) (20 years ago, 30-Apr-05, to lugnet.cad.dev)
 
  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 (...) (20 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 (...) (20 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. (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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? (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 years ago, 5-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Your wish is my command... well almost. (URL) (20 years ago, 9-May-05, to lugnet.cad.dev)
 
  Re: txt2dat - Create LDraw files from text
 
(...) coerce it into TrueType format? Always one to push my luck, I do have two little quibbles. I liked the way version 1.4 printed the usage info when running txt2dat with no args. Now it prints a weird error message. Also, the internal default (...) (20 years ago, 9-May-05, to lugnet.cad.dev, FTX)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Well I worked out the scale factor, and imported the DATs into an Access db (some had to have some stuff inlined first) then manually went through the polygons working out all the verteces and entered them directly using Font Creator. (...) (...) (20 years ago, 9-May-05, to lugnet.cad.dev, FTX)
 
  Re: txt2dat - Create LDraw files from text
 
(...) You can find it (URL) here>. ROSCO PS: Does anyone want the brick.ttf font? It's not really very useful because of the limited characters, but if anyone wants it, I'll make a separate download page for it. (20 years ago, 10-May-05, to lugnet.cad.dev, FTX)

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