Inkscape.org
Beginners' Questions Possibility to narrow single letter(s) in text box?
  1. #1
    EthanL13 EthanL13 @EthanL13
    *

    Hello,

    Just wondering if it is possible at all to squash single letters within a text box, without affecting the others? It's a very specific case, so not surprising I couldn't find any such question when googling. The desired effect is shown on top – the text has first been converted to paths, then the R has been squashed, manually, but the numbers remain at their usual width, and they have all been centre-aligned within the box by hand. The bottom shows how the text looks in the text box prior to converting to paths. I'd like to be able to quickly change the numbers without having to manually squash the R and align the text to centre. Is it at all possible to do this while the text is still editable?

    Thanks in advance.

    https://imgur.com/JX00ocP

  2. #2
    David248 David248 @David248

    I have no perfect solution

    I'd work with two text objects instead of one : one for the "R" and the other one for "408" and simply shrink the R with selector tool.

    When shrinking, select the R by clicking one time and depending on your needs

    • use left arrow (to maintain space between R and 408) : but you have to center again R+408 relative to border
    • right (to maintain gap between border and R)
    • or hold shift to shrink symmetrically.

     

  3. #3
    EthanL13 EthanL13 @EthanL13

    Indeed I thought it was only possible by separating into two elements. What I've opted for instead is to modify the font externally. But thanks nevertheless.

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Here's my attempt. The red text below is not actually text, but two patterns on paths. The red "R" is linked to the black "R" with [Pattern copies: Single, stretched] and will be scaled to occupy the same width as you change the parent text. The red "408" is linked to the black "408" with [Pattern copies: Single] so will not be scaled as you change the parent.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Possibility to narrow single letter(s) in text box?