Inkscape.org
Beyond the Basics Making speech bubbles with consistent inner margin
  1. #1
    Ka Ka @Ka_upkah

    I'd like to create speech bubbles in Inkscape with a consistent inner margin and text flow like in this InDesign video: https://youtu.be/ETiV-rrb-0w?t=30. In Inkscape I made a bubble and a duplicate, resized it, and moved it inside the first bubble to serve as a text frame with an inner margin (see the pink stroke in the linked video), but the text is not vertically centered. If I center it with the align tools, it won't stay centered when resizing the bubbles. Also, the text flows out of the frame if the frame is too small. Video: https://i.imgur.com/avWj9S6.mp4

    How can I center the text and keep it centered when resizing? Can I add an inner margin for the text frame? This way I wouldn't have to use 2 bubbles (outer bubble & text frame bubble for margin). Is there a good method/workflow for creating consistent speech bubbles in Inkscape?

    In InDesign, there are inset and vertical center settings for it: https://youtu.be/ETiV-rrb-0w?t=440

  2. #2
    Paddy_CAD Paddy_CAD @Paddy_CAD

    I use rectangles with a linked offset and flowed text.  When I change the rectangle, the offset follows as does the text. I just tested this with ellipses and it seem to work well.

    Text Margin
  3. #3
    Ka Ka @Ka_upkah

    Yes, the linked offset is okay, but the text is not vertically centered in the ellipse. I can center it with the alignment tools, but it's not automatic, I have to center the text every time I resize the bubble because it won't stay vertically centered. Screenshots: https://imgur.com/a/BQedVoN

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD

    You're right of course, text is always aligned to the top of the enclosing frame.  My customary hack is to add blank lines at the top of the text block.  Maybe it's time to post a feature request for top/middle/bottom vertical alignment in addition to left/centre/right horizontal alignment.

  5. #5
    Martin Owens Martin Owens @doctormo🌹🧀

    There isn't currently any functionality to center text vertically. I can't actually find any place in the SVG 2.0 flowed text specification that considers a flows text vertical position at all, except to say that it starts at the top left (or origin depending on the direction of the text). The only time text is aligned vertically is when the text is vertical such as Japonese top to bottom.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Making speech bubbles with consistent inner margin