[
https://issues.apache.org/jira/browse/BATIK-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Steiner updated BATIK-1306:
---------------------------------
Summary: [PATCH] Alignment-baseline and dominant-baseline support (was:
Feature Request: Alignment-baseline and dominant-baseline support)
> [PATCH] Alignment-baseline and dominant-baseline support
> --------------------------------------------------------
>
> Key: BATIK-1306
> URL: https://issues.apache.org/jira/browse/BATIK-1306
> Project: Batik
> Issue Type: New Feature
> Reporter: Dhom Bios
> Priority: Minor
>
> Alignment-baseline and dominant-baseline attributes are quite useful for
> ensuring that several text elements are top aligned when the svg is created
> programmatically, yet Apache Batik does not support them. Even though, there
> are alternatives like using the dy attribute to obtain a similar effect, they
> are usually font and size dependant.
> As a consequence, this forces the use of a trial-error approach for adjusting
> complex layouts requiring a significant amount of time that could be avoided
> by using those attributes to align the text elements to the top of their
> container. Therefore, projects like Jasper Reports, which uses this library
> for rendering SVGs generated from javascript
> (https://github.com/TIBCOSoftware/jasperreports/issues/191#issuecomment-847070399),
> would highly benefit from the obtained simplification
> https://github.com/apache/xmlgraphics-batik/pull/68/changes
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]