I have hacked some poor java code together to extract fonts from pdb,
create copies double and half size in the plirc format. And use them in
my apps through the font family feature.

I used this on the AlphaFonts as they are free.

But it's not at my taste... when you want to use a tiny glyph.
You always need to bundle it with a version twice as small (an easy trap
to bugs). This implies the tiny glyph to have even dimensions. And
glyphs usually like to be sometimes odd sometimes even. So if you want
to use an existing font you need to pad the glyph and this leads to
uneven spacing between the chars. I don't like it.

I correct way would be switch off the scaling factor for the fonts...
but this is palm concern.

I can forward the small java code to someone it interested in exchange
of some clean up.


Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jamie
Sent: Tuesday, September 16, 2003 6:10 PM
To: Palm Developer Forum
Subject: Re: Tiny fonts

The memory usage is pretty minimal.

"Dave Lasker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I am in the process of figuring out how to use high-density mode
myself,
so
> maybe we can help each other. Here's what I've found so far:
>
> Go to http://kb.palmsource.com and search on "tiny". You will find an
> article titled "Creating Teeny Tiny Fonts in OS 5". At the bottom of
the
> article is a link to download example code. The example includes
1/2-size
> versions of the 4 standard PalmOS fonts that you can add to your app.
>
> Option 2: in the palm-dev-forum are a couple of postings that explain
how
to
> shrink the built-in fonts by writing them to an off-screen window,
then
> reading back the resulting bits. Take a look at
> http://www.escribe.com/computing/pcpqa/m68206.html
>
> Caveat: I've not tried to use either of these yet. I'm leaning towards
the
> 2nd approach as it should use less memory. However, the first method
of
> adding the new fonts is much more general and easy to use.
>
> Hope that helps...
>
> Dave
> "Richard Coutts" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > Codewarrior 8.2 & Constructor 1.8
> >
> > I need a tiny font for my application.  I just read up on custom
fonts
in
> > The Bible and have a couple of questions.  As far as I can tell, the
> > smallest font native to the Palm is the stdFont.  I'd like something
much
> > smaller.  E.g., I see AvantGo has a couple small fonts, one of which
is
> > tiny, but still very legible.
> >
> > Are any of these small fonts publicly available?  Also, I've never
worked
> > with custom fonts before, so if there's any pitfalls or tips, I'd
> appreciate
> > hearing about them.
> >
> > Thanks!
> > Rich
> >
> >
> >
>
>
>
>



-- 
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