[ 
https://issues.apache.org/jira/browse/BATIK-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated BATIK-1219:
---------------------------------
    Summary: [PATCH] Batik measures text height incorrectly  (was: Batik 
measures text height incorrectly)

> [PATCH] Batik measures text height incorrectly
> ----------------------------------------------
>
>                 Key: BATIK-1219
>                 URL: https://issues.apache.org/jira/browse/BATIK-1219
>             Project: Batik
>          Issue Type: Bug
>          Components: Bridge
>    Affects Versions: trunk
>            Reporter: David Goldfarb
>            Priority: Major
>              Labels: filter, font, text
>         Attachments: tqbf2-outer.svg, tqbf2.pdf
>
>
> Batik calculates the area behind text (e.g., for feFlood in a filter) by 
> calculating a tight rectangle bound the character glyphs.
> Chrome, Firefox and Edge all calculate a somewhat looser rectangle, including 
> the full line height. Their behavior seems correct, as it results in a much 
> more pleasing and intuitive effect when multiple text segments are filtered 
> in one line of text.
> Attached files:
> - tqbf2-outer.svg - a file demonstrating this problem. This can be loaded 
> directly in any current browser
> - tqbf2.pdf - the results in Batik. This differs from the browser results.
> Proposed fix:
> [https://github.com/deg/batik/commit/c0280311b692d5a43529c01a44450ad92fe692a9]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to