Compose.jl icon indicating copy to clipboard operation
Compose.jl copied to clipboard

Text scaling

Open Keno opened this issue 9 years ago • 3 comments

Text doesn't scale with context, but instead is declared via fontsize. It would be fantastic if Compose could automatically figure out the right fontsize. Basically what I wanted to do was draw some text inside a circle, which seems fairly hard to do in the current scheme of things.

Keno avatar Sep 06 '14 19:09 Keno

Also, what are the actual semantics for hcenter? I was expecting the text to center around the point if I specify (hcenter, vcenter), but that doesn't seem to be the case.

Keno avatar Sep 06 '14 20:09 Keno

Any progress on this? Is it possible to use relative fontsize now?

Roger-luo avatar Jun 10 '19 20:06 Roger-luo

The text scaling is too small, which hits the minimum subscript size of MathJax. Producing ugly SVG

image

GiggleLiu avatar Mar 23 '21 16:03 GiggleLiu