[jira] [Commented] (FOP-2371) Kerning is applied only to certain combinations
[ https://issues.apache.org/jira/browse/FOP-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13994631#comment-13994631 ] Jan Tošovský commented on FOP-2371: --- I use default fop settings (with auto-detect/ tag) so complex script features should be enabled. Kern pairs are present in the font and it works fine in e.g. XEP or ConTeXt (luaTeX). This led me to the conclusion it is just FOP issue. The peculiarity of this font is the lack of glyph names. Various font libraries builds these missing names using a different logic which can be demonstrated on dotlessi glyph used for small caped variant of 'i' character. While some engines renders it corectly as dotless i, others incorrectly as dotted i. If missing glyph names is the issue, I am curious why the kerning is not disabled completely. Now it works at least for the AV pair. Kerning is applied only to certain combinations --- Key: FOP-2371 URL: https://issues.apache.org/jira/browse/FOP-2371 Project: Fop Issue Type: Bug Components: fonts Affects Versions: 1.1 Environment: Win 64-bit, JRE 1.7.0_40 Reporter: Jan Tošovský Priority: Minor Labels: kerning Attachments: kern.fo, kern.pdf When VLTAVA is typed with Palatino Linotype font, the kerning is applied to AV combination only. The rest, i.e. LT, TA and VA, is typeset without kerning. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (FOP-2371) Kerning is applied only to certain combinations
[ https://issues.apache.org/jira/browse/FOP-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13994425#comment-13994425 ] Glenn Adams commented on FOP-2371: -- Firstly, you need to determine if complex script features are enabled in your testing. If they are, then you need to look at the font's GPOS tables associated with the 'kern' feature to determine if the font defines contextual kerning. If the are not enabled, then you need to look at the font's 'kern' table to determine if kerning entries for the pairs you are asking about are present. Basically, FOP uses what data is in the font to determine kerning. If no data is there, there is no kerning. You need to ascertain it is there and enabled before we can determine if there is a bug or not. If it is there and is enabled, but is not being used, then there may be a bug. Kerning is applied only to certain combinations --- Key: FOP-2371 URL: https://issues.apache.org/jira/browse/FOP-2371 Project: Fop Issue Type: Bug Components: fonts Affects Versions: 1.1 Environment: Win 64-bit, JRE 1.7.0_40 Reporter: Jan Tošovský Priority: Minor Labels: kerning Attachments: kern.fo, kern.pdf When VLTAVA is typed with Palatino Linotype font, the kerning is applied to AV combination only. The rest, i.e. LT, TA and VA, is typeset without kerning. -- This message was sent by Atlassian JIRA (v6.2#6252)