I see.  Can you please email me all the font txt files you have for this?
I'm quite eager to get them running.

I think the problem I was having was that in my font family, the double
density fonts were not always exactly double the size of the single density
ones.  The OS has trouble rendering glyph when the single and double density
ones are not exactly in proportion to each other.

Alan

"Dave Lasker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have this working. I don't have a FONT command in my pilrc input, just
> FONTFAMILY. That might be your problem. Your C code looks correct.
>
> If you are using the Palm examples of high density fonts, the 72DPI fonts
> don't have usefull glyphs in them, and display as the demi-random noise
you
> describe. They are just there as placeholders to make the font family
work.
> You must use the font family on a high res device to get a readable
display
>
> See http://www.escribe.com/computing/pcpqa/m79159.html for more info.
>
> HTH...
>
> Dave
>
> "Alan Ingleby" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > "Matthew Bevan" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > I'm trying to get the spiffy high-density FONTFAMILY structure working
> in
> > my
> > > app.  When I use the following, however, all I get on-screen is
> > demi-random
> > > noise.  (Not entirely random, as each character has specific
> randomness...
> > > if you know what I mean.)  I set a field to use the newly instantiated
> > font.
> > > Does anyone have a working example?
> >
> > Did you ever get this to work?.. I'm getting hte exact same thing today.
> > Here's my code:
> >
> > FONT ID 131 FONTID 131 "std_lo.txt"
> >
> > FONTFAMILY ID 131
> > BEGIN
> >  FONT "std_lo.txt" DENSITY 72
> >  FONT "std_hi.txt" DENSITY 144
> > END
> >
> > Initialise the font:
> >
> > fontHandle = DmGetResource(fontExtRscType, 131);
> > fontPtr = (FontType*)MemHandleLock(fontHandle);
> > error = FntDefineFont((FontID)131, fontPtr);
> >
> > Use the font:
> >
> > oldFont = FntSetFont(131);
> >
> >
> > Alan
> >
> >
> >
>
>
>



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

Reply via email to