Open PBI-David opened 3 years ago
Thanks. Is this definitely a resize issue though as the charticulator visual was expanded to its maximum size and I would expect two identical fonts to render at the same size.
Try to use workaround from https://github.com/microsoft/charticulator/issues/584#issuecomment-865801531 if chart size and visual size is same, font size should be identical.
I've uploaded a pbix so you can see they definitely render differently. Unless I'm misunderstanding, I don't think workaround in #584 applies as this is simply a legend and I would expect font sizes to be identical between the two.
Font.zip
yes, I see. The problem is related to SVG scale. The core visual renders text in HTML, Charticulator uses SVG and renders text in SVG. On scale the SVG document, texts change scales too. The visual has wrong default scale.
Thanks. Is this something an end user can configure or is a code change required?
Code changing is required.
Describe the bug Same font and size renders differently in Charticulator and PBI Desktop
To Reproduce Steps to reproduce the behavior:
Expected behavior Font sizes should be the same
Screenshots Both fonts below are Tahoma size 10
Diagnostic information N/A
Additional context N/A