I am newbie in Palm programming. I have a little problem, which is also asked forums. I have searched many forums and examples but i dont understood. I know you are so bussy but would show me the right way, i feel that the problem is simple but how?
Problem is displaying GLYPH formated Tiny Fonts; I have a rcp which includes internal HEX font like ----------------------------------- HEX "nfnt" ID 1005 0x92 0x00 0x00 0x09 0x00 0xff 0x00 0x06 0x00 0x00 0x00 0x00 0x00 0x06 0x00 0x06 0x01 0x06 0x00 0x05 0x00 0x01 0x00 0x00 0x00 0x29 0x00 0x01 0x00 0x02 0x00 0x48 bla bla bla .... -----------------------------------
And this code shows with;
-----------------------------------
WinSetCoordinateSystem(kCoordinatesNative); fontTinyH = DmGetResource('nfnt', 1005);
fontP = (FontType*) MemHandleLock(fontTinyH );
FntDefineFont(fontTiny, (FontType*)fontP);
FntSetFont(fontTiny);
-----------------------------------
It works both hires and lowres mode. And no problem. Also this rcp
format shows my
GLYPH font as a big fonts with same code, but now hires.
-----------------------------------
FONT 1005 FONTID 128 "myfont.txt"
-----------------------------------
But when I use PilRC 3.0 rcp like that; ----------------------------------- FONTFAMILY ID 1005 BEGIN FONT "myfont.txt" DENSITY 72 FONT "myfont.txt" DENSITY 144 END -----------------------------------
and code is same ----------------------------------- fontTinyH = DmGetResource('nfnt', 1005); fontP = (FontType*) MemHandleLock(fontTinyH ); FntDefineFont(fontTiny, (FontType*)fontP); FntSetFont(fontTiny); -----------------------------------
How would I able to show hires fonts with my GLYPH format ? (i mean same font but small sized) Where is the wrong, or any bug in PilRC 3.0 ? Or is there any font programs exports this HEX mode ? I try pifont, ndmfont, xFont, pixelfont etc.. none of them have this type HEX type.
Thank you YILMAZ YORU
PS: I have latest Palm Dev. Suite & PilRC 3.0 with Cygwin.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
