View | Details | Raw Unified | Return to issue 386
Collapse All | Expand All

(-)salgdi3.cxx (-1 / +11 lines)
Lines 547-554 Link Here
547
			{
547
			{
548
				if ( (unsigned char)pBuffer[ n ] < 0x80 )
548
				if ( (unsigned char)pBuffer[ n ] < 0x80 )
549
				{
549
				{
550
					pTextChars[ m++ ] = 0x0;
550
					switch(nEncoding)
551
					{
552
					case RTL_TEXTENCODING_GB_2312://The font are store in cjk iso2022  mode do some translation
553
					pTextChars[ m++ ]=pBuffer[n++]&0x7f;
554
					pTextChars[ m++]=pBuffer[n++]&0x7f;
555
					break;
556
										
557
					default:
551
					pTextChars[ m++ ] = pBuffer[ n++ ];
558
					pTextChars[ m++ ] = pBuffer[ n++ ];
559
					pTextChars[ m++ ] = 0x0;
560
					break;
561
					}
552
				}
562
				}
553
				else
563
				else
554
				{
564
				{

Return to issue 386