Solved
I searched through the online documentation, but I'm not finding instructions for defining fonts by language.
For example, for all our Native PDF Publishing outputs, we're using Arial.
It is looking like I need to assign the following languages to different fonts:
Simplified Chinese: MicrosoftJhengHeiUI
Traditional Chinese: MicrosoftJhengHeiUI
Some of the punctuation for Simplified Chinese is correct with the correct spacing, but our outputs are using the European double-quote spacing instead of the wider Chinese spacing. When I copy/paste from a translated PDF into Word, the text is in a mix of MS Gothic, Arial, and MicrosoftJhengHeiUI. The fonts embedded in the PDF include Nanum Gothic (which is supposed to be for Korean?).
I know where the language mapping/aliasing is done for our older DITA-OT system, but I'm not seeing the settings for AEM Guides with Native PDF Publishing. What am I missing? Where are the fonts for Asian languages defined for Native PDF Publishing outputs?
Or maybe the better question is why are periods, commas, paranthesis, etc all in the "correct" Simplified Chinese font, but the double-quotes defined in the language variables not?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Hi Susan,
You will have to use :lang() class in the css. We have it partially documented on the following page
Have something like the following in your content.css file of the PDF template.
:lang(en) {
font-family: Arial;
}
:lang(zh-TWzh-CN) {
font-family: MicrosoftJhengHeiUI;
}
:lang(zh-TW) {
font-family: MicrosoftJhengHeiUI;
}
You can read more about this on
https://developer.mozilla.org/en-US/docs/Web/CSS/:lang
Let us know if this helps.
Thanks,
Vivek
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.