Author Topic: Xenogears character map  (Read 2879 times)

Micky

  • *
  • Posts: 300
    • View Profile
Xenogears character map
« on: 2008-07-27 21:28:34 »
Just in case anyone wants to display Xenogears text without the font:
Quote
wchar_t textCypher[256] = {
   /*00*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*10*/   ' ', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
   /*20*/   'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
   /*30*/   'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', ']', '=', 'a', 'b', 'c',
   /*40*/   'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's',
   /*50*/   't', 'u', 'v', 'w', 'x', 'y', 'z', '!', '"', '#', '%', '&', '\'', '(', ')', ':',
   /*60*/   '?',    0xff10, 0xff11, 0xff12, 0xff13, 0xff14, 0xff15, 0xff16, 0xff17, 0xff18, 0xff19, 0xff05, 0xff06, 0x2606, 0x25cb, 0x25a1,
   /*70*/   0x25b3, 0x203b, 0x2192, 0x2190, 0x2191, 0x2193, 0xff0e, 0xff1a, 0xfe63, 0xff0f, 0x2025, 0x201c, 0x300d, 0xff0b, 0xff0d, 0x2573,
   /*80*/   0xff1c, 0xff1e, 0xff05, 0xff06, 0x300e, 0x300f, 0xff03, 0x3001, 0x3002, 0x00b7, 0xff1f, 0xff01, 0xff3f, 0x301c, 0x2026, 0x201d,   
   /*90*/   0xff08, 0xff09, 0x300c,  0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*a0*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*b0*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*c0*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*d0*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*e0*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   
   /*f0*/   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0
};
I picked unicode codepoints for the codes from 0x61 on, to get double-wide chars that match what is in the font and to get appropriate symbols. The font contains hiragana and katakana, but I haven't matched those.