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 / 10247
10246  |  10248
Subject: 
Re: txt2dat - Create LDraw files from text
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 May 2005 14:25:05 GMT
Viewed: 
4294 times
  
In lugnet.cad.dev, Ross Crawford wrote:
   In lugnet.cad.dev, Don Heyse wrote:
  
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 something without searching around for fonts.

Your wish is my command... well almost.

http://www.br-eng.info/words/?p=7

Very nice! That font looks better than I remember. How’d you 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 font does not seem to contain the space character, despite what it says on the website and in the readme.txt file. Instead I get this.

Warning: No font specified - Using internal default.

Warning: Char 32 has no glyph in font - ignoring...

Maybe I’m using the wrong character for space?

Oh, and by the way, I managed to build 1.4 on Redhat 9. Here’s a snapshot of it running in the cheesy tcl gui. You’ll have to pretend not to see the XP Window decorations. The redhat box was headless, so I displayed it via the Cygwin X server. The only trouble I had building (other than figuring out where to put Triangle and Freetype) was with $MATH. It gets defined to -lm but it’s never used by the linker. I had to add it by hand to the linker options.

Have fun,

Don



Message has 2 Replies:
  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)

Message is in Reply To:
  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)

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