Displaying 1 result from an estimated 1 matches for "kcfallocatordefault".
2008 May 23
0
A problem about the Japanese font of OSX
...529,7 +529,7 @@
int i;
for(i = 0; i < length(names); i++)
if(0 == strcmp(fontfamily, CHAR(STRING_ELT(names, i)))) break;
- if(i < length(names))
+ if(i < length(names) && fontface > 0)
fontName = CFStringCreateWithCString(kCFAllocatorDefault,
CHAR(STRING_ELT(VECTOR_ELT(db, i), fontface - 1)),
kCFStringEncodingUTF8);
There was not the problem in the Japanese environment if this added a change.
--
EI-JI Nakama <nakama at ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <naka...