creativescala / doodle

Compositional vector graphics in Scala / Scala.JS
https://creativescala.org/doodle/
Apache License 2.0
327 stars 75 forks source link

Text rendering on SVG backend is not centered #89

Closed noelwelsh closed 1 year ago

noelwelsh commented 4 years ago

Text is not properly located on the y-axis on the SVG backend. Need to better understanding the coordinates used in the SVGRect returned from getBBox to understand how to get the correct layout.

noelwelsh commented 1 year ago

I think is fixed with the midline CSS I recently added.