Fix some UTF-8 Japanese issue on OS X, SF bug 3566884.

This commit is contained in:
Nicholas Marriott 2012-09-24 13:56:32 +01:00
parent dc3df931d7
commit 5b85efeb93

2
utf8.c
View File

@ -135,7 +135,9 @@ struct utf8_width_entry utf8_width_table[] = {
{ 0x0135f, 0x0135f, 0, NULL, NULL }, { 0x0135f, 0x0135f, 0, NULL, NULL },
{ 0x01a17, 0x01a18, 0, NULL, NULL }, { 0x01a17, 0x01a18, 0, NULL, NULL },
{ 0x006e7, 0x006e8, 0, NULL, NULL }, { 0x006e7, 0x006e8, 0, NULL, NULL },
#ifndef __APPLE__
{ 0x03099, 0x0309a, 0, NULL, NULL }, { 0x03099, 0x0309a, 0, NULL, NULL },
#endif
{ 0x00b4d, 0x00b4d, 0, NULL, NULL }, { 0x00b4d, 0x00b4d, 0, NULL, NULL },
{ 0x00ce2, 0x00ce3, 0, NULL, NULL }, { 0x00ce2, 0x00ce3, 0, NULL, NULL },
{ 0x00bcd, 0x00bcd, 0, NULL, NULL }, { 0x00bcd, 0x00bcd, 0, NULL, NULL },