0

Does anyone know how to highlight a sample of letters in a text object with a solid colour using Inkscape? I saw a similar post with the question of how to highlight the entire text object (the post can be found here), but I only want to highlight a sample of letters instead of the entire thing. I don't want to add a rectangle behind the text using the rectangle tool.

Here's an image to illustrate what I mean: Image

5
  • What do you mean by rectangle, do you want the, and what do you mean by segment? This question is not very clear. By rectangle do you mean the shape, or do you mean the stroke that creates a border around the object? Typically segment is used to refer to path-segments, did you want to color background of the letters? Or do you want the letters to sit ontop of the background?
    – j D3V
    May 29 at 2:22
  • It sounds like you want to do somthing like in this image I uploaded ya?
    – j D3V
    May 29 at 2:32
  • Thank you for telling my to be more clear.
    – user174261
    May 29 at 3:55
  • I'm not really an Inkscape user. In InDesign I would use a thick underline like in this answer. But Inkscape doesn't seem to have an easy way to underline part of a text. Looking at this answer makes me think it's too quirky to work with. Just drawing a rectangle seems more appealing. Why is it that you don't want to do that?
    – Wolff
    May 29 at 10:13
  • I am an Inksape user. Text has no background attribute - there's no such thing - only a fill/stroke, so what you want is not possible. Use a rectangle instead.
    – Billy Kerr
    May 29 at 14:01

1 Answer 1

2

No, it's not possible, if you mean to do a common thing in text editors – setting a background color of (individual) letters.

Letters in Inkscape are created from paths, they have no bounding box (“a background”) as in text editors, so there is nothing as a foreground / background color – only a stroke / fill color.

From this follows that you may highlight a part of your text only by selecting it and then changing its fill or stroke color:

enter image description here

2
  • The reason I thought it was possible was because there was a way to do it to an entire text object as seen here.
    – user174261
    May 29 at 18:48
  • @JohnnyR., I understand you, but what you want is not possible in Inkscape, I'm sorry. Effects work on the whole objects only, not on a cutoff of a text object. You may break a text object into individual objects and apply an effect only on one of them, but then you lose all benefits of your original text object.
    – MarianD
    May 29 at 21:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy