mk124

Members
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mk124

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  • Birthday 21/03/89

Details

  • Location
    China
  1. [DEV] Unicode support

    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. [DEV] Unicode support

    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.