none
Problem with internal unicode fonts RRS feed

  • Question

  • I am developing printer driver that supports internal fonts. Things work OK when internal font is in specific code page (Western for example), but I don't know how to specify that internal font supports characters from multiple code pages (Russian and Greek for example). The problem is that Microsoft Word only allows characters from selected code page to be used in document (other characters are printed with TrueType fonts).

    I checked with FontUnicodeRanges and all characters are listed there. I think the solution is in lfCharSet member of LOGFONT (driver reports this as jWinCharSet member in IFIMETRICS structure) but I don't know which setting should work.

    I have tested other printer drivers that have working Unicode fonts, so I know that this is possible.

    Any thoughts would be greatly appreciated.



    Wednesday, February 18, 2015 9:21 AM