Here's some useful info on the Rez format from the CodeWarrior for Palm
Computing platform FAQ (http://www.metrowerks.com/pda/palm/faq)

9.4 What is Rez and where can I get documentation about it?

A Rez is a format that describes Mac OS resources using a text file.The Rez
plugin compiles the text into Mac OS resources. On Windows, these
resources are found in the output (.tmp) file. The Rez format is documented
in the following file, found on Apple's web site.

ftp://ftp.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./Documentt
ion/MPW_Reference/Bldg%26Mng_Progs_In_MPW.sit.hqx

For Palm OS programming, Rez is useful for binding the results of several
builds into one executable.For instance, if you build a program that uses a
shared library and you want to bind that shared library with your .prc file,
you can include a Rez text file in your program that includes the output of
the shared library build.The syntax for such an application would included
in "SomeSharedLib.tmp".

In order to use .r files in CodeWarrior, you will need to do the following:
Add a new file mapping in the File Mappings pref panel of the Project
Settings. You need to set the file type to TEXT, all Flags off, .r extension
and the compiler to be used is Rez. Once this is done, you can use the .r
file in the project.

As for the other programs, I'm afraid I don't know of any off the top of my
head. Someone here may be able to suggest one. It may be possible to De-rez
the font and stick it in a .r file (wild guess) and use this .r file though.

Hope this helps.

JK Lam
Metrowerks Technical Support

----- Original Message -----
From: James Lynes <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 23, 1999 1:25 PM
Subject: RE: including fonts in CW


> OK, so I "have to activate REZ resource compiler" in CW....
> Can you give me some context on this?
> I don't even have a .r file, I'm using Constructor to build a .rsrc file
> (binary) and I see in the project settings that the "PalmRez Post Linker"
> uses the input file <Project>.tmp (probably generated by constructor?)
>
> Where did you get an editor/utility to create a .BIN file... is it the
same
> mac-font-format
> (see http://developer.apple.com/techpubs/mac/Text/Text-250.html )
> as the .PFT file created by the (downloaded) "FontEdit123" utility?
>
> What about conversion programs to convert from Windows/other fonts?
>
> Any help is greatly appreciated.
> James Lynes  [EMAIL PROTECTED]
>
>

Reply via email to