About Arbortext Styler > Document Preview and Publishing > Print Features Available with PTC Arbortext Layout Developer > Language Formatting
  
Language Formatting
Japanese
PTC Arbortext Layout Developer 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 Arbortext Layout Developer provides the ability to format Ruby content with different properties, such as alignment
An PTC ALD 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 Arbortext Layout Developer supports up to five lines of text.
An PTC ALD 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 ALD source code edits are necessary to change default Yakumono settings.
Thai
Thai formatting support is provided with PTC Arbortext Layout Developer, including line breaking and character building capabilities. No additional code is required. Select the PTC ALD print engine and any Thai content in your document will be formatted correctly.
Hanging punctuation
In PTC Arbortext Layout Developer hanging punctuation is provided using a custom kerning table. The kerning table tells PTC Arbortext Layout Developer 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 Arbortext Layout Developer 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 ALD integration. This provides support for many more punctuation characters. To access this table, use a very simple PTC ALD 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 ALD 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 ALD 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 ALD print engine for your publishing action to use the feature.