nanogui: Regarding JIS Support..


Previous by date: 13 Nov 2007 01:06:00 +0000 Re: list of available nano-x widgets?, Greg Haerr
Next by date: 13 Nov 2007 01:06:00 +0000 Re: Japanese Conversion(Shift JIS to UTF 8), Greg Haerr
Previous in thread: 13 Nov 2007 01:06:00 +0000 Regarding JIS Support.., Prashanth Dwarakanath
Next in thread:

Subject: Re: [nanogui] Regarding JIS Support..
From: "Greg Haerr" ####@####.####
Date: 13 Nov 2007 01:06:00 +0000
Message-Id: <015301c82591$5201e280$6401a8c0@winXP>

> Is it possible to get the character itself instead of bitmap so that the 
> same can be stored in a text file?
The reason I want to do this is, I get Shift JIS hexa code as my input. I 
was thinking of mapping these hex values to their corresponding characters 
and store them in a text file.


In order to do this, you'll have to store the characters in one of
your buffers every time you call GrText().


> Is there a way I can achieve this by an API to do bitmap to character 
> conversion?

No.  Much easier to just save the characters you ask to be
displayed with GrText().  Write a wrapper function that does
both and call that instead.

Regards,

Greg


Previous by date: 13 Nov 2007 01:06:00 +0000 Re: list of available nano-x widgets?, Greg Haerr
Next by date: 13 Nov 2007 01:06:00 +0000 Re: Japanese Conversion(Shift JIS to UTF 8), Greg Haerr
Previous in thread: 13 Nov 2007 01:06:00 +0000 Regarding JIS Support.., Prashanth Dwarakanath
Next in thread:


Powered by ezmlm-browse 0.20.