You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Seifeddine Dridi (JIRA)" <ji...@apache.org> on 2013/06/10 09:41:19 UTC

[jira] [Commented] (FOP-2212) o.a.f.fonts.Font.getKernValue should take glyph indices and not characters as parameters

    [ https://issues.apache.org/jira/browse/FOP-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679365#comment-13679365 ] 

Seifeddine Dridi commented on FOP-2212:
---------------------------------------

It seems that the whole class (Font) is using char to represent characters. Replacing char by Glyph would be more appropriate perhaps but there will be some heavy refactoring to do. Just saying...
                
> o.a.f.fonts.Font.getKernValue should take glyph indices and not characters as parameters
> ----------------------------------------------------------------------------------------
>
>                 Key: FOP-2212
>                 URL: https://issues.apache.org/jira/browse/FOP-2212
>             Project: Fop
>          Issue Type: Bug
>          Components: fonts
>            Reporter: Vincent Hennebert
>
> Kerning is intrinsic to glyphs and not characters. One character may be mapped to several different glyphs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira