d3plus / d3plus-text

A smart SVG text box with line wrapping and automatic font size scaling.
MIT License
105 stars 19 forks source link

lineHeight not respected when using fontResize #83

Closed davelandry closed 6 years ago

davelandry commented 6 years ago

Expected Behavior

When setting fontResize(true), the line-height should respect the difference between the default fontSize and the lineHeight value.

Current Behavior

Currently, it seems to be statically set.

Steps to Reproduce (for bugs)

https://jsfiddle.net/pemwzcc3/1/

Your Environment