[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Working with Shift-JIS encoded characters?
From: |
山内 英敏 |
Subject: |
Re: [Devel] Working with Shift-JIS encoded characters? |
Date: |
Wed, 31 Jul 2002 00:34:00 +0900 (JST) |
Hello,
From: "Frank Faubert" <address@hidden>
Subject: [Devel] Working with Shift-JIS encoded characters?
Date: Mon, 29 Jul 2002 18:33:12 -0400
> However, it is unclear to me what I need to pass to FT_Get_Char_Index to
> get the correct glyph id. The string (in hex) that I am trying to
> render is:
>
> 8D C5 8F 89 82 C9 89 7B 97 97 82 B3 82 EA 82 BD 83 79 81 5B 83 57
8DC5 8F89 82C9 897B 9797 82B3 82EA 82BD 8379 815B 8357
The result is the following Japanese sentence.
最初に閲覧されたページ
> Is there any documentation on what I need to do to these characters in
> order to properly call FT_Get_Char_Index?
I do not know any english documents on the web. But the encoding rule
is faily simple.
* ASCII or JIS Roman
byte range 0x20 - 0x7f
* Half width katakana
byte range 0xa1 - 0xdf
* JISX0208
first byte range 0x80 - 0x9f, 0xe0 - 0xef
---- YAMANO-UCHI, Hidetoshi