PDA

View Full Version : qt3 QPrinter and unicode - not working



FredB
21st November 2019, 20:41
This is older qt3 code we have to support.
We are using a chinese font, where LANG=zh_TW.big5

I am able to save chinese text to a .txt file fine.

However, when I am using QPrinter to save it to a post script file ( .ps) the
Chinese text is coming out gobble-do-gook.

An example is below:

13290

The questions marks "???" is where the chinese text would show as shown below:

13291

Any ideas ?
There are no QPrinter settings related to unicode or related at all.

Not even sure post script support Chinese Fonts.

Any help, tips, advice, etc. would be much appreciate.
Not sure what to look at or where to go from here.

Regards,

Fred Bartholomai