Hi, thanks for the reply 

I was trying to create a custom font and thus checked out the knowledgebase. In 
the answer to 'Creating Teeny Tiny Fonts', it says: 

1. Use PilRC to create the font (See PilRC documentation on font creation). You 
can      also use a third party freeware tool called xFont to create a font in 
PilRC       format. The end result is a font stored as a PFN file such as 
myFont.pfn. 
-  I have created a font using xFont (*.pfn) 

2. Install the PilRC CodeWarrior plugin available at 
http://www.calliopeinc.com/pilrcplugin.html. Follow the installation 
instruction on that page. 
-  Downloaded the file and saved it at Bin\Plugins\Compiler 

3. Add to your CodeWarrior project an RCP file that contains the following 
text: 
   Font 'FONT' FONTID 128 "myFont.pfn" 
-  Added it 

4. Compile the project, and the build process will create a .r file containing 
an       'NFNT' resource with 128 as the resource ID. 
-  Couldn't figure out where this got created. 

5. Once you have the two fonts, you can combine them into a font family 
resource         using Constructor. See the section on "Working with Fonts" in 
the Constructor for     Palm OS documentation from the Palm OS 5 SDK. PalmRez 
converts the font family        esource to an extended font resource when the 
project is built. 
-  I have partly understood this. I created a font family resource with id 1000 
and      defined the NFNT resource id's as 1000 and 1001. 

Now my question is how do the 2 get linked ......i mean the resource id defined 
in pilrc and the one in the constructor. Am i doing something wrong. 
I am using CW9 and on doing the above i get a compile error. 
"PalmRez Error: tfnf ID=1200 element #1 requires NFNT 1200. Compilation halted" 
Could anyone please guide me.  
 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to