[jira] [Commented] (FOP-2349) Inline elements with letter-spacing and custom font aren't correctly sized

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (FOP-2349) Inline elements with letter-spacing and custom font aren't correctly sized

JIRA jira@apache.org

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

Dan Caprioara commented on FOP-2349:
------------------------------------

I get the same problem when using Arial with negative letter spacing.

> Inline elements with letter-spacing and custom font aren't correctly sized
> --------------------------------------------------------------------------
>
>                 Key: FOP-2349
>                 URL: https://issues.apache.org/jira/browse/FOP-2349
>             Project: FOP
>          Issue Type: Bug
>          Components: layout/unqualified
>            Reporter: Matthias Reischenbacher
>            Priority: Major
>         Attachments: FOP-2349.fo, inline-letter-spacing.pdf, inline-letter-spacing.xml
>
>
> If letter-spacing is applied to an inline element, that uses one of the base-14 fonts, the width of the inline element is automatically expanded with the letter-spacing.
> However if a custom font is used (e.g. Arial) the inline width isn't expanded anymore, which prevents from using background-color or borders for the inline element.
> See attached PDF which illustrates the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)