From: "Matsumoto, Masakazu" <[EMAIL PROTECTED]>
> On 2003/12/13, at 5:54, Alexander R. Pruss wrote:
> > Question: Is there a way of getting this to work without a patch to the
> > code, but just by using a font package that remaps fonts?
>
> I also think the patch is not smart enough, but I don't know other way
> to do it. (What are font package and font remapping?)
It's not documented very well yet, but you can remap any of the 12 Plucker
user fonts to any of the system fonts by generating a custom font package
(like the ones generated by the utilities at palmfontconv.sf.net) whose font
resources only give the FontID to map the font to.
Specifically, a font remap resource is:
UInt16 fontVersion; // always 0x4000
UInt16 fontIDToRemapTo;
These resources can be generated by the toremap.c program (see
palmfontconv.sf.net).
For instance, the following generates a font package that remaps all the
font sizes/weights to hrStdFont, i.e., removes formatting:
./toremap NFNT0420.bin hrStdFont ## standard
./toremap NFNT0421.bin hrStdFont ## bold
./toremap NFNT0422.bin hrStdFont ## large
./toremap NFNT0423.bin hrStdFont ## large bold
./toremap NFNT0424.bin hrStdFont ## narrow
./toremap NFNT0426.bin hrStdFont ## fixed width
./toprc SonyHiResAllStandard.prc "All standard" Font Plkr NFNT*.bin
(You can use pilrc or par instead of toprc. toprc is also at
palmfontconv.sf.net)
Alex
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev