? gbpatch.diff ? gb.diff ? gdpatch.diff Index: salgdi3.cxx =================================================================== RCS file: /cvs/oo/gsl/vcl/unx/source/gdi/salgdi3.cxx,v retrieving revision 1.2 diff -u -r1.2 salgdi3.cxx --- salgdi3.cxx 2000/11/03 15:10:35 1.2 +++ salgdi3.cxx 2001/02/07 06:41:53 @@ -547,8 +547,18 @@ { if ( (unsigned char)pBuffer[ n ] < 0x80 ) { - pTextChars[ m++ ] = 0x0; + switch(nEncoding) + { + case RTL_TEXTENCODING_GB_2312://The font are store in cjk iso2022 mode do some translation + pTextChars[ m++ ]=pBuffer[n++]&0x7f; + pTextChars[ m++]=pBuffer[n++]&0x7f; + break; + + default: pTextChars[ m++ ] = pBuffer[ n++ ]; + pTextChars[ m++ ] = 0x0; + break; + } } else {