About Arbortext Styler > Document Preview and Publishing > Print Features Available with PTC Advanced Print Publisher > Language Formatting
  
Language Formatting
Japanese
PTC Advanced Print Publisher addresses a number of features specific to Japanese typography:
Ruby
Ruby is the display of a set of characters above another set. It is often used to provide pronunciation or descriptive information about the main content. PTC Advanced Print Publisher provides the ability to format Ruby content with different properties, such as alignment
An PTC APP source code edit is required to apply Ruby content.
Warichu (annotation)
Annotation is the method of outputting a number of lines of text within a single line. PTC Advanced Print Publisher supports up to five lines of text.
An PTC APP source code edit is required to apply Warichu text.
Yakumono
Yakumono is the method by which punctuation characters are resized in order for them to be displayed correctly. It is possible to remove an amount of a character's display box from the left (for opening punctuation), from the right (for closing punctuation) or from either side (for items such as colons). Behavior differs depending on whether the character is appearing at the start of a line (for opening punctuation), the end of a line (for closing punctuation) or in the middle of a line (for all types of punctuation). These properties are applied when trying to justify the line of text.
PTC APP source code edits are necessary to change default Yakumono settings.
Thai
Thai formatting support is provided with PTC Advanced Print Publisher, including line breaking and character building capabilities. No additional code is required. Select the PTC APP print engine and any Thai content in your document will be formatted correctly.
Hanging punctuation
In PTC Advanced Print Publisher hanging punctuation is provided using a custom kerning table. The kerning table tells PTC Advanced Print Publisher how to handle a list of punctuation characters when they appear at the end or start of a line of text.
Basic hanging punctuation support is provided through the Arbortext Styler user interface. The default kerning table instructs PTC Advanced Print Publisher to hang the following characters into the right margin when the hanging punctuation option is selected:
Western full stop / period (.)
Western comma (,)
Ideographic full stop / period ()
Ideographic comma ()
An alternative kerning table is provided as part of the PTC APP integration. This provides support for many more punctuation characters. To access this table, use a very simple PTC APP source code edit in the style you wish to enhance. Look for this line:
style.kerningTable = '_app:HangingPunctuationSimple';
Change the line to:
style.kerningTable = '_app:HangingPunctuation';
The enhanced kerning table provides support for:
End of line
Western punctuation
.
,
!
?
)
"
'
]
:
;
-
»
CJK punctuation
Start of line
Western punctuation
"
(
[
«
CJK punctuation:
If you wish to create your own kerning table for use in Arbortext Styler or Arbortext Publishing Engine, use the PTC APP tags inside the _app namespace in the _app.3ns file within the Arbortext-path/APP/libs directory as a basis.
Vertical formatting
Vertical formatting
Embedded western text
You will need to configure vertical formatting in a native PTC APP template.
Right-to-left languages
Hebrew
Arabic
Bidirectional
Right to left formatting is provided through the Arbortext Styler UI. You will need to select the PTC APP print engine for your publishing action to use the feature.