The Z22 may not know about kCoordinatesDouble. Try getting the actual state or checking feature presence before relying on the return value.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Johnson Sent: Monday, February 06, 2006 12:57 PM To: Palm Developer Forum Subject: FntCharsWidth on Z22 Hi, I am having problems with FntCharsWidth on the Z22. In my application I work with the coordinate system set to kCoordinatesDouble. On devices with a 160x160 screen FntCharsWidth returns the width of the string for the double coordinates. So it returns the string width that is twice the width in pixels of what it will be when actually rendered on the screen. However, on the Z22 when I call FntCharsWidth it returns the actually width of the string in pixels. Not the width doubled. Has anyone else seen this or know of a clean work around or is it probably a bug somewhere in my code :)? Thanks! Stephen Johnson Software Engineer Olive Tree Bible Software www.olivetree.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
