Jump to content

mk124

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by mk124

  1. Sorry, I forgot. codepage=936 GBK (Simplified Chinese) http://www.unicode.org/Public/MAPPINGS/ ... /CP936.TXT codepage=950 BIG5 (Traditional Chinese) http://www.unicode.org/Public/MAPPINGS/ ... /CP950.TXT codepage=932 SJIS (Japanese) http://www.unicode.org/Public/MAPPINGS/ ... /CP932.TXT
  2. As there are 20986 Chinese characters in CJK Charsets,so it's very wasteful for loading all characters into RAM. It proposes that you should establish a Cache Buffering for fonts' Render. I think the buffer size of 512 * 512 is enough. If the font size of 20*20 needs to be rendered, the 512*512 buffer area size will be contained 655 characters. You see, about 2000 Chinese are used in daily life,and less than 500 chinese are displayed in a screen at the same time. Implementation Method is very simple. Create [buffer Index] <---> [unicode] Doubly linked list,then you only maintenance the buffer list according to the frequence of character usage. Represents only my suggestion is for reference only.
×
×
  • Create New...