svg2pdf.js
svg2pdf.js copied to clipboard
Incorrect position of text compared with other text inside pdf
Some elements of the SVG are rendered incorrectly compared the html and pdf generated version of the svg2pdf.js. Rotated text(I character) incorrectly aligned with APART1 text middle: link
Examples where incorrect positioning is more likely seen: link
Seems like dominant-baseline="text-before-edge" is the unsupported attribute. That's a known issue, I guess. So this seems like a duplicate of #80
Seems to be alignment-baseline="text-before-edge" also unsupported, so it is not only an issue of dominant-baseline.
link
Yes, see #109 and this comment: https://github.com/yWorks/svg2pdf.js/pull/114#pullrequestreview-307052649 - this is a missing feature in jspdf, already, as far as I can tell.