Re: Help writing Japanese apps
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/
Re: Help writing Japanese apps
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? Chris John Duhart [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I am trying to write an app that will support Japanese text. How to I enter Japanese text into a form using the CW Constructor? Is there any documentation explaining this. My version of CWR6 Constructor is missing its help file. Thanks, JHD IV -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Help writing Japanese apps
As far as fonts that use extended ascii. Code Wariior IDE does not suppport them. A. If you copy an extended character from say, a Hebrew word processor and paste it inot the standard IDE editor, it displays the incorrect info. You're better off editing the file in Word or something. B. Constructor, you can paste it in, but it will display crap, but the final output on the palm will be ok. OR, type in the hex values one by one (yuck) Chris Percival [EMAIL PROTECTED] wrote in message news:18270@palm-dev-forum... 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? Chris John Duhart [EMAIL PROTECTED] wrote in message news:18146@palm-dev-forum... Hello, I am trying to write an app that will support Japanese text. How to I enter Japanese text into a form using the CW Constructor? Is there any documentation explaining this. My version of CWR6 Constructor is missing its help file. Thanks, JHD IV -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
A KnowledgeBase article would be good, and would save space on this forum i guess! Chris Ken Krugler [EMAIL PROTECTED] wrote in message news:18408@palm-dev-forum... 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 Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
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 Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
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? Chris John Duhart [EMAIL PROTECTED] wrote in message news:18146@palm-dev-forum... Hello, I am trying to write an app that will support Japanese text. How to I enter Japanese text into a form using the CW Constructor? Is there any documentation explaining this. My version of CWR6 Constructor is missing its help file. Thanks, JHD IV -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
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? Chris PilRC lets you :) az. -- Aaron Ardiri Java Certified Programmer http://www.hig.se/~ardiri/ University-College i Gävle mailto:[EMAIL PROTECTED] SE 801 76 Gävle SWEDEN Tel: +46 26 64 87 38 Fax: +46 26 64 87 88 Mob: +46 70 656 1143 A/H: +46 8 668 78 72 if you enjoy it, then it aint work :) - rule #106 of life -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
At 12:00am -0700 00-07-21, Palm Developer Forum digest wrote: Subject: Help writing Japanese apps From: "John Duhart" [EMAIL PROTECTED] Date: Thu, 20 Jul 2000 11:46:18 -0400 X-Message-Number: 47 Hello, I am trying to write an app that will support Japanese text. How = to I enter Japanese text into a form using the CW Constructor? Is there = any documentation explaining this. My version of CWR6 Constructor is = missing its help file. I'm assuming that you want to edit UI text such as a menu, form title, etc. so that it contains Japanese text. In that case, the first thing you need to do is select the appropriate character encoding. In the Project Settings pane, select "Palm OS for Japan" for the Palm OS Target setting. After that, assuming your desktop supports Japanese text entry, you should be able to enter Japanese and see it displayed properly in Constructor. At least it works for me, using Constructor 1.2 on Mac OS 8.6 with the Japanese Language Kit. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
i think u must define one font ressoucr ( using Font editor for exemple) and in ur app u must get this ressource and set ur font to the default font mostapha bouterfass - Original Message - From: John Duhart [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, July 20, 2000 3:46 PM Subject: Help writing Japanese apps Hello, I am trying to write an app that will support Japanese text. How to I enter Japanese text into a form using the CW Constructor? Is there any documentation explaining this. My version of CWR6 Constructor is missing its help file. Thanks, JHD IV -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
RE: Help writing Japanese apps
My version of CWR6 Constructor is missing its help file. Download the 3.5 SDK and Update 1 from http://www.palmos.com/dev/tech/tools/sdk35.cgi/. These updates contain a new Constructor with help files included. -hkmlt -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Help writing Japanese apps
From: "John Duhart" [EMAIL PROTECTED] Subject: RE: Help writing Japanese apps Hello, OK, I did what you suggested, but I an still missing the help = files. If I click on the Help menu and select Contents I get an error = John, You have encountered the most common question there is about CodeWarrior. The answer is: it doesn't come with the HLP files. All of the information you are looking for can be found in "Constructor for Palm OS.pdf" which (in a default installation) is found in the "C:\Program Files\Metrowerks\CW for Palm OS R6\Documentation\Palm OS Documentation\PDF\" folder (on a Windows machine) . Two other very important reference docs are there also: "Palm OS Reference.pdf"and "Palm OS Companion.pdf". -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
RE: Help writing Japanese apps
You have encountered the most common question there is about CodeWarrior. The answer is: it doesn't come with the HLP files. Not exactly true. The 3.5 SDK comes with a new Constructor and all appropriate help files. -hkmlt -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/