Masaki Asami <[EMAIL PROTECTED]> wrote in message
news:7312@palm-dev-forum...
>
> Hello,
>
> Does anybody know how to create custom font on Windows?
> I'm trying to implement custom font for Japanese Palm OS 3.1. I already
> have Windows format custom font data.
> I need following information.
>
>   1) Font data converter from Windows to Palm OS.

If you have a Windows format, all you need to know is MAC Bitmapped Font
('NFNT') Resource.
It is almost identical to PALM font. Description is at
http://developer.apple.com/techpubs/mac/Text/Text-181.html.

At www.Palmgear.com you can find New Data Masters Font Tool, but I really
don't know, if it converts
Japanese TTFs too.

>   2) How to use custom fonts from my application.
>

Sorry, for Japanese, if there is some difference, I don't know. For Central
Europe:

font128=MemHandleLock(DmGetResource('NFNT', 1000));
FntDefineFont(128, font128);
...
FntSetFont(128);


LP, Peter Hribar

> I understand we can use Fontedit for ASCII characters, but Fontedit
> can't handle multi-byte characters. That's the trouble on me.
>
> Thanks in advances for ANY help of suggestion.
>
> Regards.
> Asami
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to