-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chinese punctuation looks lower than Chinese characters in published PDF #2518
Comments
@CiraGuo Please provide:
Details, details. Without them no one can give analyze the issue properly. |
@jockster74 |
@CiraGuo, create a ZIP file and pull it to the comment window.
|
The steps to reproduce the issue:
|
If anyone has any idea about it? |
This issue has been automatically marked as stale because it has not been updated recently. It will be closed soon if no further activity occurs. Thank you for your contributions. |
We use DITA-OT with FOP to publish DITA files into PDF file and find the following problem. (But when we test it using AH to do the publish, it is correct.)
The content in DITA files are most in Chinese. The requirement is Chinese characters should use SimSun or SimHei while number and Alphabat characters should use Times New Roman. We find some Chinese punctuations like ‘%,。’ will be shown lower than other Chinese characters, which looks not good.
But if we changed font-mappings file like following, the Chinese punctuations shown as the same baseline as Chinese Character.
The only thing we do is changed
<font-face> Times New Roman, Times, SimSun</font-face>
to
<font-face> SimSun, Times New Roman, Times</font-face>
But it make another problem: all characters in files are in SimSun or SimHei, including number and alphabat which we want them in Times New Roman. Furthermore, some entity like
 
defined inzh-CN.xml
file will be shown in "#", which looks like it doesn't find the correct character set.The text was updated successfully, but these errors were encountered: