Open Pasukaru opened 4 years ago
librsvg currently does not support dominant-baseline
(or alignment-baseline
), see:
https://gitlab.gnome.org/GNOME/librsvg/issues/414
As a workaround, use dy=".25em"
to shift the text along the y-axis or try to specify the offset manually (as you did).
What is the output of running
npx envinfo --binaries --languages --system --utilities
?What are the steps to reproduce? Using sharp ^0.23.3, run the code snippets in the examples below.
What is the expected behaviour?
Are you able to provide a standalone code sample, without other dependencies, that demonstrates this problem? Are you able to provide a sample image that helps explain the problem?
Current behaviour:
Expected behaviour (created by setting the offset manually, might be off by a few pixels):