We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appears the text-anchor of the first tspan is anchoring all tspans. e.g. Both tspans are start anchored. Middle is ignored
tspan
<text x="10" y="30" class="small"> <tspan x="0" dx="0" dy="0" text-anchor="start" >Start</tspan> <tspan x="0" dx="0" dy="15" text-anchor="middle">Middle</tspan> </text>
I'd previously PR'ed #2043 in v61.0 but this didn't appear to resolve the below case.
Repro: https://replit.com/@michaellisitsa/Python-Weasyprint-tspan-v63#tspan.py
The text was updated successfully, but these errors were encountered:
513397e
Thanks a lot for the report and the sample, that was really helpful.
There was quite a dirty workaround for this case, the value of the first child was always used. It should now be fixed, feedback is welcome!
Sorry, something went wrong.
No branches or pull requests
Appears the text-anchor of the first
tspan
is anchoring all tspans.e.g. Both tspans are start anchored. Middle is ignored
I'd previously PR'ed #2043 in v61.0 but this didn't appear to resolve the below case.
Repro:
https://replit.com/@michaellisitsa/Python-Weasyprint-tspan-v63#tspan.py
The text was updated successfully, but these errors were encountered: