[futurebasic] Re: Embeding fonts...

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1998 : Group Archive : Group : All Groups

From: allmedia@... (Sylvain Guillemette)
Date:
>>I just can't find how to include fonts in my app.
>>I tried copying the FOND resource of a font to my app,
>>but Resedit say 'Resource not found'.
>
>It depends on what type of font it is; PostScript, TrueType, or
>Bitmapped. In general, you need to include the FOND, FONT (if any) and
>nfnt (if any) resources. This will only cover "screen fonts" if it's
>PostScript, not the printer font.
>
>If the resource is visible, ResEdit shouldn't give you an error on
>"copy"... I'm not sure what you're doing. Are you trying to copy from a
>suitcase? If so, start by creating a suitcase that contains _only_ the
>one font you're working with. Then copy the whole set of resources at
>once.
>
>Bill

DOCMaker holds every fonts contained in the document in its resource fork.
That's black magic to me. When looking at the resource fork of a DOCMaker
document, i just can't see any FOND or FONT resources.
I don't know if someone have some code to do the same in FB, but i'm
sure a lot of users would like to take a look at it. (including me :-)

If someone could write code to 'copy' selected fonts into the resource fork
of a FB app for later viewing on a system that doesn't have'em...
I would pay for it !

Thanks

SG