Correct. Also you should check for the screen's density using
WinGetSupportedDensity();
And don't feel so bad about converting, because the new project will be much
easier to handle.
LionScribe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jamie
Macleod
Sent: Monday, September 08, 2003 10:46 PM
To: Palm Developer Forum
Subject: Re: RE: Re: Re: Re: RE: Font Family, High Density & xFont


LionScribe,

Thanks for all your help.  I did as you said and the font works for a new
empty project.

Regarding the older OS versions (pre 5.0 I presume) I will need to use just
a font and not a font family.  To clarify.  I will need to check if the OS
is 5.0 or up and use a font family if so.  If the OS is less than 5.0 I need
to use a font.  Do I have this correct?

Looks like I'll have a bit of work converting resources and importing my
source into my new project. Sigh.

Jamie
>
> Te easiest thing for you to do, is to update PilRc to version 3.0 (as per
> previous instructions from Ben), convert all your constructer resources to
> the PilRC type (there are some utility programs that can do that for you),
> then make sure your project uses the Palm OS Linker, (You change it in the
> project's settings. If you do not know to do it, it would be easier to
just
> create a new project from scratch using the new project wizard, and
copying
> in your old files). Then add the following lines to your resource text
file
> (rcp file), (change it based on the file names);
>
> FONTFAMILY ID 128
> BEGIN
>     FONT "Fonts/StdLow.pfn" DENSITY 72
>     FONT "Fonts/StdHigh.pfn" DENSITY 144
> END
>
> You should also not forget to add the standard font type, because the new
> ones don't work on older OS's, like this;
>
> FONT 128 FONTID 128 "Fonts/StdLow.pfn"
>
> The project should compile smoothly, though the High-Density font did not
> come out perfect on my test. Maybe it's a bug that will be fixed in next
> release. So if you need the program soon, and you can't wait for bug
fixes,
> then try it out in an empty project, before making the total move.
> Good Luck,
> LionScribe

--
Composed with Newz Crawler 1.4 http://www.newzcrawler.com/

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



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

Reply via email to