Text Scaling

Post questions on how to use or achieve an effect in Inkscape.
IM2MikeJones
Posts: 3
Joined: Wed Apr 05, 2017 2:45 am

Text Scaling

Postby IM2MikeJones » Wed Apr 05, 2017 3:16 am

I have multiple lines of text that I scaled to various heights and widths when each text object was resized. I need to return all of them to default font size and X Y scaling. I expected this to be a simple thing, but after two hours of trying, I can't seem to make this happen.

Setting the font size retains the aspect ratio of whatever scaling each line has. Text toolbar has spacing, but not scaling. I tried changing the X and Y heights in % but all the lines claim to be 100% currently, regardless of the what is clearly different scaling.

I tried to set the X height in mm, which changes the font size, then changed the font size, and that change x height. Doing this iteratively will converge on both settings being what I want, but even this extremely tedios method won't work, because the X height is different depending on the particular characters in the line e.g. characters with descenders (like g, p, and q) require a larger X height to be the "same" font size.

This is not foreign text that was imported, I typed each line into the text objects myself.

I'm stuck trying to fix this by eye, which seems silly and will take more time than I have.

Any help is appreciated. First to help me solve can have $20 (.02 BTC)

Thanks,
-Mike

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Text Scaling

Postby v1nce » Wed Apr 05, 2017 4:00 am

Could you upload your file ?

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Text Scaling

Postby tylerdurden » Wed Apr 05, 2017 4:21 am

The closest I can imagine is to use the XML editor to remove the scaling transforms, which can restore the aspect, but that will change the location, and the size will still need to be set to default.

At least you can select all the text objects ("select same") and set the size for all at one time.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Text Scaling

Postby brynn » Wed Apr 05, 2017 9:04 pm

It would be simple, if you had just done it. Just use Undo. But since so much time has passed, you've probably already closed the file, which makes it impossible to undo anymore.

I'm curious what your original goal is. Maybe we could tell you the best way to get there, for next time.

IM2MikeJones
Posts: 3
Joined: Wed Apr 05, 2017 2:45 am

Re: Text Scaling

Postby IM2MikeJones » Thu Apr 06, 2017 3:14 am

Here's an example file.
All text is supposedly the same font size.
I added a "g" to the first linr to show that if you set x heights, the line with descenders will be smaller point size.

Thanks for any help....

-Mike
Attachments
example.svg
(4.71 KiB) Downloaded 299 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Text Scaling

Postby brynn » Thu Apr 06, 2017 8:25 am

On a whim, I tried Text menu > Unflow. I'm not clear exactly what you want, but that did make the text look proportional.

I don't think this would have worked if you had used regular text....although I didn't really expect it to work on flowed text (in this case).

Edit
Yeah, I can't make that work with regular text....

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Text Scaling

Postby tylerdurden » Thu Apr 06, 2017 8:29 am

Here's a way... not pretty, but maybe good enough.

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

IM2MikeJones
Posts: 3
Joined: Wed Apr 05, 2017 2:45 am

Re: Text Scaling

Postby IM2MikeJones » Fri Apr 07, 2017 3:49 pm

Thank you Mr. Durden. That works. The fact that is also changes XY location isn't great but better than retyping.
Reply with BTC address to collect your bounty.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Text Scaling

Postby tylerdurden » Fri Apr 07, 2017 10:09 pm

Please send the bounty directly to the Inkscape team:

https://inkscape.org/en/support-us/donate/

Many thanks,
TD
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Help with using Inkscape”