Kanji bit-mapped font
- Posted by Craig Welch <euphoria at welchaviation.org> Jul 02, 2004
- 614 views
I've written a little program to drill kanji characters as I learn them. It works just fine, and I've been pleased to see that EDS handles unicode just fine, and Tommy Carlier's unicode file handling was very useful. Matt Lewis' EDS browser has been invaluable as well. I'm using IDE and Win32Lib on Windoze 98. To display kanji characters, I use a third party program, from NJStar, which provides both an IME and a trapped display capability. Thus if I display "真", the relevant kanji will be displayed. The problem with that is that the 3P program uses its own fonts, and they don't scale up well. If I set the font size in the field into which I output the characters to a high size (24, say) I'll get a large character, but badly rendered. It doesn't matter what font I choose for the field, that's not what is used. I would like to use bitmap fonts, as many of the commercial programs of the same type do. An example font might be ftp://ftp.cc.monash.edu.au/pub/nihongo/asiya24.zip. But I'm at a loss as to how to do this in Euphoria/Windoze. These are not Windoze fonts, so it's not just a matter of doing a Windoze instal. I need to read the font, and render it into a field ... or straight onto the window, I guess. Any insights or suggestions? TIA, -- Craig