Re: Possible to resize text to max size within a box?

Mats Blakstad <[email protected]>
Newsgroups gmane.comp.web.svg
Message-ID <CAP=1PAUCrdkLcxbw9eNdD3qkMcrPjGdwOWqVWK1cG3pJ7BBcrg@mail.gmail.com>
2015-09-17 9:45 GMT+02:00 Cameron McCormack <[email protected]>:

> lengthAdjust="spacingAndGlyphs" just applies a scale in one dimension.
> It shouldn’t be hard to extend that with another value that scales in
> both dimensions (although note that scaling the text as if it had a
> transform on it will not always get you the same result as scaling the
> font-size down, due to hinting at least).
>

Yeah, that is the point!

Like in the ling that David sent:
http://srufaculty.sru.edu/david.dailey/svg/text/decorative.svg
If the height is reduced the text simply get reduced height without
changing the width, so you get a really "flat" text that is not easy to
read and looks strange.

Is there a way to keep the font in normal scale (reduce/increase the font
size to make it fit optimal into a box)?



> --
> Cameron McCormack ≝ http://mcc.id.au/
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.