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. | |
| ||
| </fo:block> | |
| ||
| ||
| ||
| ||
| Pair Kerning in Alphabets | |
| </fo:block> | |
| </fo:block> | |
| ||
| 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. | |
| </fo:block> | |
| ||
| <fo:block> | |
| Latin script: | |
| </fo:block> | |
| ||
| To WALT | |
| </fo:block> | |
| ||
| To WALT | |
| </fo:block> | |
| ||
| Greek script: | |
| </fo:block> | |
| ||
| ΓΑΜΜΑ | |
| </fo:block> | |
| ||
| ΓΑΜΜΑ | |
| </fo:block> | |
| ||
| Cyrillic script: | |
| </fo:block> | |
| ||
| ТАЙНА | |
| </fo:block> | |
| ||
| ТАЙНА | |
| </fo:block> | |
| ||
| The letter-spacing value is non-zero: | |
| </fo:block> | |
| ||
| To WALT | |
| </fo:block> | |
| ||
| To WALT | |
| </fo:block> | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |