Someone on this forum told me that PilRC would bridge the gap between xFONT output and
the binary resource format needed by CodeWarrior. I downloaded PilRC from PalmGear.com
and found that all I had was source code that needed compiling (I assume with the GCC
tools). Next, I downloaded a Win32 binary from the author's web site. When I run
pilrcui.exe, it only wants to open .rcp files and generates an error when I try to
open a .pfn file (text) produced by xFONT. I found I had to launch pilrc.exe from a
DOS box, and it produced the same error when I tried to feed it a .pfn file. The
documentation for this tool is minimal, and I can't get it to work for my purposes
(see my original posting below for an explanation of what I am trying to do).
I have successfully used Font Editor to create a font character by character, using
the .pfn file produced by xFONT. Font Editor creates a .pft file. I then create a .r
file as described in the Font Editor documentation and include the .r file in my
CodeWarrior project resources and access the font using FntDefineFont. This works. But
it would be nice if I didn't have to manually create the font in Font Editor using the
.pfn file from xFONT as a guide. I thought PilRC might automate this, but I have not
been successful in my attempts.
Anybody else have success integrating Windows fonts into Palm application using
CodeWarrior without having to manually enter bitmap patterns? (I don't have any
knowledge about using GCC tools, having chosen the CodeWarrior path. PilRC seems to be
geared for those who have chosen the GCC path...)
<Original message>
Does anyone know if there exists any conversion software to translate Windows fonts
into a format that I can use with CodeWarrior 6? I have found a program on
palmgear.com called xFONT that will convert Windows fonts into a .pfn file, which is
readable as a text file. Then I purchased Font Editor from palmgear.com, which allows
importing Palm fonts from .pdb files and also can generate new fonts built from
scratch and produces a .pft file. The instructions included with Font Editor have a
section credited to James Lynes that describes how to use a .pft file with
CodeWarrior.
Now what I need is a program that can translate a .pfn file to a .pft file. Or, I need
a program like Font Editor that can import Windows fonts and translate them into .pft
files. Or, if anyone knows the format of .pft files or how to generate them, then I
could try to create my own program to
translate .pfn files to .pft format. Any help appreciated.
Dave Heil
Preco Electronics
[EMAIL PROTECTED]
208-322-4288
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/