Change font size but keep text centred in its current position

Post questions on how to use or achieve an effect in Inkscape.
seans_potato_biz
Posts: 138
Joined: Mon Apr 07, 2008 6:01 am

Change font size but keep text centred in its current position

Postby seans_potato_biz » Mon Jun 18, 2018 11:56 pm

I would like to reduce my font size but keep the text centered in its current position. When I reduce the font size the text stays aligned to the left and bottom of its previous position. What is the easiest way to achieve this?

Image
Win 7/10, Inkscape 0.92.2

We don't inherit the Earth from our parents; we borrow it from our children.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Change font size but keep text centred in its current position

Postby Moini » Tue Jun 19, 2018 6:50 am

Does it work if you center the text before you change the size? It's only going to center horizontally, but that's better than nothing, I guess.

Or maybe it's possible with matrices in the transform dialog (but please don't ask me how... no idea about the numbers one would need to insert to scale around an object's center...).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Change font size but keep text centred in its current position

Postby Moini » Tue Jun 19, 2018 6:51 am

(Btw. are these potato genes ;-) ? )
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

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

Re: Change font size but keep text centred in its current position

Postby tylerdurden » Tue Jun 19, 2018 8:29 am

I'd try using the transforms dialog... use scaling by percent with proportional selected and separate objects selected.

Easy to select a text object and use select-same to get all the text selected.
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/

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Change font size but keep text centred in its current position

Postby Moini » Wed Jun 20, 2018 7:09 am

Ha, right. The transform dialog scales around the center by default (and doesn't offer an option to change that). I didn't know, I almost never use it.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”