Page 1 of 1

Digits has extra spacing if Source Han Serif font is used

Posted: Thu Jul 11, 2019 5:02 pm
by KrasnayaPloshchad
Source Han Serif (思源宋体/思源宋體/源ノ明朝/본명조) is a CJK typeface created by Adobe and Google, the fonts is using PostScript outline. But doPDF has an error during the printing work, the digits were inserted extra spacing at the right side.

Type the following characters in WordPad, set the font face as Source Han Serif SC (for example):

Code: Select all

公元2019年7月

Image
After printing with doPDF, the PDF file looks as this after printing:
Image

Windows 10
doPDF 10.1.114

Re: Digits has extra spacing if Source Han Serif font is used

Posted: Thu Jul 11, 2019 5:03 pm
by KrasnayaPloshchad
Source Han Serif is available at GitHub.
https://github.com/adobe-fonts/source-h ... ee/release

Re: Digits has extra spacing if Source Han Serif font is used

Posted: Wed Jul 17, 2019 12:46 pm
by Softland
We've tested this using the Han Serif regular font and it converts it ok on Windows 10. What language is your operating system in and are you using a different version of the font (i.e. not Regular)? Do you have a way to test converting it from a different editor (i.e. notepad)?

Re: Digits has extra spacing if Source Han Serif font is used

Posted: Wed Jul 17, 2019 5:51 pm
by KrasnayaPloshchad
Softland wrote:We've tested this using the Han Serif regular font and it converts it ok on Windows 10. What language is your operating system in and are you using a different version of the font (i.e. not Regular)? Do you have a way to test converting it from a different editor (i.e. notepad)?


OK, I used Windows 10 Home China Edition (家庭中文版), zh-CN locale, and I'm using regular weight, I tested again with Notepad, but the problem still appearing.

Image
Image

But it doesn't appearing if I printed from LibreOffice 6.2.

Re: Digits has extra spacing if Source Han Serif font is used

Posted: Fri Jul 19, 2019 6:12 am
by Softland
Hi, can you try the same conversion with novaPDF (you can get a trial version of it from novapdf.com) but changing the following option:
- go to novaPDF Profile Manager and then click on the Other tab. Uncheck the option to "Optimize text"

We're trying to see if this causes the issue on your system, as on our test computers it works ok.

Re: Digits has extra spacing if Source Han Serif font is used

Posted: Fri Jul 19, 2019 6:32 pm
by KrasnayaPloshchad
Softland wrote:Hi, can you try the same conversion with novaPDF (you can get a trial version of it from novapdf.com) but changing the following option:
- go to novaPDF Profile Manager and then click on the Other tab. Uncheck the option to "Optimize text"

We're trying to see if this causes the issue on your system, as on our test computers it works ok.

OK, I did, and I unchecked Optimize text, but it doesn’t help, the problem is still there.
Image

Re: Digits has extra spacing if Source Han Serif font is used

Posted: Fri Jul 19, 2019 6:49 pm
by KrasnayaPloshchad
The same text tested with BabelPad:
Image
Image

All these programs above except LibreOffice relying on Uniscribe, LibreOffice uses HarfBuzz instead.
I usually used Source Han Serif SC, but any other language specific version (including TC and K) in OTF formats could also reproduced.