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 "Dan Caprioara (JIRA)" <ji...@apache.org> on 2019/05/21 06:45:00 UTC
[jira] [Commented] (FOP-2349) Inline elements with letter-spacing
and custom font aren't correctly sized
[ 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)