Asian characters printing - not supported

leanne leanne at thizlinux.com
Tue May 21 23:52:10 CDT 2002


Dear all,

We tried to print Chinese on notepad but failed.
We found that WINE default only writes western characters
to postscript.  Is that true?


Here is the .ps we produced from notepad on WINE.
We were trying to print a text of Chinese.


~~~~~~~~~~~~~~~~
%%% 7 args
%!PS-Adobe-3.0
%%Creator: Wine PostScript Driver
%%Title: ¥¼©R¦W - °O¨Æ¥»
%%BoundingBox: 18 36 594 756
%%Pages: (atend)
%%Orientation: Portrait
%%EndComments
%%BeginProlog
/tmpmtrx matrix def
/hatch {
  pathbbox
  /b exch def /r exch def /t exch def /l exch def /gap 32 def
  l cvi gap idiv gap mul
  gap
  r cvi gap idiv gap mul
  {t moveto 0 b t sub rlineto}
  for
} bind def
%%EndProlog
%%BeginSetup
mark {
%%BeginFeature: *PageSize Letter
<</PageSize[612 792]/ImagingBBox null>>setpagedevice
%%EndFeature
} stopped cleartomark
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
/pgsave save def
72 600 div 72 600 div scale
150 6300 translate
1 -1 scale
0 rotate
%%EndPageSetup
0.00 setgray
% /InnMing-Light-HKscs-B5-H findfont
/AvantGarde-Book findfont
[84 0 0 -84 0 0]
0 10 div matrix rotate
matrix concatmatrix
makefont setfont
457 132 moveto
/space glyphshow
/space glyphshow
/space glyphshow
/space glyphshow
/space glyphshow
/space glyphshow
/yen glyphshow
/onequarter glyphshow
/copyright glyphshow
/R glyphshow
/brokenbar glyphshow
/W glyphshow
/space glyphshow
/space glyphshow
/space glyphshow
/space glyphshow
0.00 setgray
/AvantGarde-Book findfont
[167 0 0 -167 0 0]
0 10 div matrix rotate
matrix concatmatrix
makefont setfont
457 667 moveto
(This is a test.  ) show

====================================== later we edit the .ps and add:
/InnMing-Light-HKscs-B5-H findfont
[167 0 0 -167 0 0]
0 10 div matrix rotate
matrix concatmatrix
makefont
setfont
(§Ú­Ì³£¬O¦nªB¤Í¡C) show
======================================

/AvantGarde-Book findfont
[167 0 0 -167 0 0]
0 10 div matrix rotate
matrix concatmatrix
makefont setfont
/threesuperior glyphshow
/o glyphshow
/logicalnot glyphshow
/O glyphshow
/currency glyphshow
/at glyphshow
/space glyphshow
/Oacute glyphshow
/guillemotleft glyphshow
/D glyphshow
/plusminus glyphshow
/grave glyphshow
/yen glyphshow
/i glyphshow
/periodcentered glyphshow
/R glyphshow
/ordfeminine glyphshow
/ordmasculine glyphshow
/ordfeminine glyphshow
/F glyphshow
/brokenbar glyphshow
/egrave glyphshow
/exclamdown glyphshow
/C glyphshow
/section glyphshow
/Uacute glyphshow
/currency glyphshow
0.00 setgray
/AvantGarde-Book findfont
[84 0 0 -84 0 0]
0 10 div matrix rotate
matrix concatmatrix
makefont setfont
457 5832 moveto
/space glyphshow
....
~~~~~~~~~~~~~~~~~~~~~


I would like to ask if WINE will support multi-byte character printing?


Thanks very much.
Leanne Tsang
ThizLinux Laboratory Limited









More information about the wine-devel mailing list