A KnowledgeBase article would be good, and would save space on this forum i guess!
Chris Ken Krugler <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi Chris, > > At 12:00am -0700 00-07-22, Palm Developer Forum digest wrote: > >Subject: Re: Help writing Japanese apps > >From: "Chris Percival" <[EMAIL PROTECTED]> > >Date: Fri, 21 Jul 2000 13:33:26 +0100 > >X-Message-Number: 10 > > > >Hi John / everyone, > > > >On similar lines, how does one use any other kind of font than the standard > >ones? I would like to use a fixed width font, but couldn't find any > >infomation on how to do this. I read somthing about a 'special' kind of > >file that you can make, and then 'add' to the resource? > > Ultimately you need to have a resource in your app that contains font > data in the appropriate Palm OS format. You then lock down this > resource and pass it to FntDefineFont, using a font id >= > fntAppFontCustomBase. > > Getting a custom resource such as this into your PRC is a separate > topic, one that has been beaten to death on this list. Various > techniques exist, depending on your platform/development environment. > For example, on a Mac I'd use ResEdit to create a Mac OS resource > file with the data, then add that to my CodeWarrior project file. I > could also create a Rez-format text file (xxx.r). > > Creating the correct font data is yet another topic, one which has > also been discussed ad nauseam on this list. In a nutshell the format > is virtually the same as the Mac 'FONT' resource format, but each > character glyph's width has to be equal to the actual character > width, including any trailing white space. > > Perhaps it's time for a KnowledgeBase article that answers this > specific question. > > -- Ken > > Ken Krugler > TransPac Software, Inc. > <http://www.transpac.com> > +1 530-470-9200 > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
