To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 779
778  |  780
Subject: 
txt2dat on Mac OS X (was Re: Announcing Bitsticker)
Newsgroups: 
lugnet.cad, lugnet.cad.dev.mac
Date: 
Fri, 2 Mar 2007 04:59:11 GMT
Viewed: 
46 times
  
In lugnet.cad, Ross Crawford wrote:

   In lugnet.cad, Jim DeVona wrote:

   Hey, txt2dat is cool! It looks like it should build on the Mac, too, so I’m puttering with rewriting the Makefile to make that happen. (The triangle library builds fine with the -DLINUX switch turned off.) It’s part of my new crusade to get every LDraw program on earth ported to the Mac. Any other LDraw utility authors - watch out! You’re next. ;-)

Hey, that’d be great! The makefile is a bit of a rat’s nest, because I borrowed it from the freetype library, and modified it. The main reason I did that was for cross-platform compatability, but I’ve never had a Mac to try on. If you can get it to build on the Mac, I’d be happy to work any changes into the official version.

Hi Ross,

It works! I just built it by hand, so I’ll write a simple makefile for it tomorrow. Only issue is that the version of Freetype 2 that comes with OS X doesn’t seem to know about FT_Orientation, so I just ifdeffed out the few bits that referred to that, possibly at the expense of handling certain cases (Postscript fonts which are wound the other way, perhaps? I dunno).

txt2dat on OS X

I have a proposition: working out a Mac build is great, but what would you say to adapting txt2dat to run on the web (like Bitsticker)? Even more than my Mac crusade, I like the idea of making all these LDraw tools more accessible to the casual user, who may not be so keen on the command line or even just installing lots of little programs. I’d be willing to work on that, when possible, and I could even host it since my web server supports compiled CGI “scripts.”

Jim



Message has 1 Reply:
  Re: txt2dat on Mac OS X (was Re: Announcing Bitsticker)
 
(...) Hmmm, interesting. txt2dat is currently compiled against 2.1.9, I haven't tried upgrading since txt2dat is the only thing I use it for. But the API doc at the freetype site still documents (URL) FTOrientation API>. Also, version 2.3.1 (which I (...) (18 years ago, 2-Mar-07, to lugnet.cad, lugnet.cad.dev.mac, FTX)

Message is in Reply To:
  Re: Announcing Bitsticker (and other txt/bit-to-dat utilities)
 
(...) Hey, that'd be great! The makefile is a bit of a rat's nest, because I borrowed it from the freetype library, and modified it. The main reason I did that was for cross-platform compatability, but I've never had a Mac to try on. If you can get (...) (18 years ago, 2-Mar-07, to lugnet.cad, FTX)

18 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