axf:kerning-mode

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Trimming and Hanging

The axf:kerning-mode specifies whether to process the kerning.

Value:none | pair | auto
Initial:auto
Applies to:all block-level and inline-level formatting objects
Inherited:yes
Percentages:N/A

Values have the following meanings.

none The kerning is not processed.
pair The pair kerning for Western characters is processed.
auto Dependent on the system setting.

You can specify whether pair kerning for European languages is performed or not by pair-kerning in the Option Setting File. This can also be set in the Option Setting dialog in GUI.

CAUTION:axf:kerning-mode="contextual" with XSL Formatter V4 was abolished with AH Formatter V6.3. Please use axf:punctuation-trim="adjacent" instead.

axf:kerning-mode does not work when letter-spacing is specified.

XSL-FO sample:

<fo:root xml:lang="en" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">

Antenna House, Inc.

Pair Kerning in Alphabets

By using a pair kerning value of Western fonts, you may set whether the space between letters should be trimmed or not. If the value of letter-spacing is not 0, it would be regarded as specifying none.

Latin script:

To WALT

To WALT

Greek script:

ΓΑΜΜΑ

ΓΑΜΜΑ

Cyrillic script:

ТАЙНА

ТАЙНА

The letter-spacing value is non-zero:

To WALT

To WALT

Download der Beispiele

Output:

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: