Digits has extra spacing if Source Han Serif font is used

Post here if you have problems installing or using doPDF.
KrasnayaPloshchad
Posts: 7
Joined: Mon Jun 24, 2019 4:10 am

Digits has extra spacing if Source Han Serif font is used

Postby KrasnayaPloshchad » Thu Jul 11, 2019 5:02 pm

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

KrasnayaPloshchad
Posts: 7
Joined: Mon Jun 24, 2019 4:10 am

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

Postby KrasnayaPloshchad » Thu Jul 11, 2019 5:03 pm

Source Han Serif is available at GitHub.
https://github.com/adobe-fonts/source-h ... ee/release

Softland
Posts: 1497
Joined: Thu May 23, 2013 7:19 am

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

Postby Softland » Wed Jul 17, 2019 12:46 pm

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)?

KrasnayaPloshchad
Posts: 7
Joined: Mon Jun 24, 2019 4:10 am

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

Postby KrasnayaPloshchad » Wed Jul 17, 2019 5:51 pm

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.

Softland
Posts: 1497
Joined: Thu May 23, 2013 7:19 am

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

Postby Softland » Fri Jul 19, 2019 6:12 am

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.

KrasnayaPloshchad
Posts: 7
Joined: Mon Jun 24, 2019 4:10 am

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

Postby KrasnayaPloshchad » Fri Jul 19, 2019 6:32 pm

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

KrasnayaPloshchad
Posts: 7
Joined: Mon Jun 24, 2019 4:10 am

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

Postby KrasnayaPloshchad » Fri Jul 19, 2019 6:49 pm

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.


Return to “Troubleshooting”