[links] CJK support in Links2
Andrés Domínguez <[email protected]> Tue, 15 Feb 2005 04:32:18 +0100
| Newsgroups | gmane.comp.web.links.list |
|---|---|
| Message-ID | <[email protected]> |
Hi, my name is Andrés Domínguez and I'm a new links mailing
list member.
I'm interested in add Japanese support to links2. On Sun Dec 21
BC Sittler posted about CJK support. What's the actual CJK
status?
I want to modify the font renderer to draw with external bitmap-font
files in graphical mode. I think hiragana and katakana (about 100
symbols) can be draw like the usual way. I have seen that hiragana
and katakana in UTF-8 are not complete. Test here:
http://www.fileformat.info/info/unicode/block/hiragana/utf8test.htm
http://www.fileformat.info/info/unicode/block/katakana/utf8test.htm
I have read a few lines of source code and i have a question:
struct letter{
int begin; /* Begin in the byte stream */
int length; /* Length (in bytes) of the PNG data in the byte stream */
int code; /* Unicode code of the character */
int xsize;
int ysize;
void *foo;
void *bar;
};
inline static int print_letter(struct graphics_driver *gd, struct
graphics_device *device, int x, int y, struct style *style,
int char_number)
Are "int code" and "int char_number" UTF-8 or UCS-2 codes?
Advices are welcome.
I hope that this is also Links2 mailing list. Sorry for my
English.
--
andoresu yori
_______________________________________________
Links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list