- edited description
IDML Filter: Merge tags that differ by kerning method
Issue #777
resolved
There are the following kerning methods available:
- Optical - when the kerning is automatically defined per character in the range
- Metrics - when the KerningMethod attribute is absent at all (equals to 0 in the UI)
- None - when the kerning value is set 0
- Manual - when there is a manually set value, other than 0
And this is how they look like in the UI:
And in the corresponding paragraph:
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/$ID/NormalParagraphStyle">
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]" KerningMethod="$ID/Optical">
<Content>KerningMethodOptical</Content>
<Br/>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]">
<Content>KerningMethodMetrics</Content>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]" KerningMethod="$ID/Optical">
<Br/>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]" KerningMethod="$ID/None" KerningValue="0">
<Content>KerningMethod0</Content>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]" KerningMethod="$ID/Optical">
<Br/>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]">
<Content>Kerning</Content>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]" KerningMethod="$ID/Manual" KerningValue="5">
<Content>5</Content>
</CharacterStyleRange>
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]" KerningMethod="$ID/Manual" KerningValue="10">
<Content>10</Content>
</CharacterStyleRange>
</ParagraphStyleRange>
For more details please refer to the attached file in the IDML format.
They probably have to be merged under the ignoreCharacterKerning
parameter set to true
.
Comments (3)
-
reporter -
reporter This issue is related to issue
#756. -
reporter - changed status to resolved
The pull request #284 has been merged.
- Log in to comment