[Prev][Next][Index][Thread]

Re: Executor/DOS problems handling Mac fonts



>>>>> "Karsten" == Karsten Schneeberger <ks@fotodesign.spacenet.de> writes:
In article <Pine.LNX.3.91.960413101713.553B-100000@fotodesign.spacenet.de> Karsten Schneeberger <ks@fotodesign.spacenet.de> writes:


    Karsten> On Wed, 10 Apr 1996, Clifford T. Matthews wrote:
    >> Hmmm...  So you're copying fonts from the Mac to the PC and you
    >> then use some conversion program that wants the resource fork?
    >> I don't know what Mac-ette does, but Executor doesn't give you
    >> the resource fork in a file by itself.  The datafork is in a
    >> file by itself, but the resource fork is combined in a file
    >> that also contains the type information and a map of what
    >> information is stored where.  You can strip the first 512 bytes
    >> of the %file and then you're left with just the resource fork.

    Karsten> Can you just tell me how to do this with Linux ? I'll try
    Karsten> this.

dd bs=1b skip=1 < %file > resource_fork

That tells the "dd" program to copy from %file to resource_file and to
use a block size of one block (i.e. 512 bytes) and to skip the first
block when copying.

    Karsten> I can ftp the font conversion program to ARDI if you
    Karsten> like. This program converts between mac and pc ps-fonts
    Karsten> and I think that all it does is to strip some bytes off
    Karsten> the mac-outline font to generate the pc ps-font *.pfb .

How about trying the above first and letting us know if that works?

    Karsten> There are other conversion programs to convert the
    Karsten> bitmapped fonts to the pc screen fonts *.pfm - but I was
    Karsten> not happy with the converted screen fonts (they look
    Karsten> ugly, bad kerning). I prefer using the original *.pfm
    Karsten> screen fonts; they are stored on every mac&pc font CD
    Karsten> along with the suitcases that contain the mac bitmapped
    Karsten> fonts.

    Karsten> --- Karsten Schneeberger

--Cliff
ctm@ardi.com


References: