Inkscape.org
Beyond the Basics align text TOP and BOTTOM
  1. #1
    tensaimon tensaimon @tensaimon

    Hi,

    I'm using inkscape for video subtitles (2 - 3 languages, color coded, so can't do .srt files), I've made a subtitle.svg file with formatted textboxes that I duplicate (subtitle001.svg→subtitle200.svg) and then edit each one to make the subtitles, then batch export as .png and add to my kdenlive timeline.

    One issue I'm having is that the textbox is aligned center (good) but top (bad - it means that if my subtitle goes to two lines, I have to move it up in the image to get the second line inside the page boundaries (i.e. on screen)).

    Is there a way in inkscape to align that text to "bottom" so that if my subtitle extends to two lines, the first line will automatically move up (and so the second line will be where the first line was).

    I'm not seeing this option in the text dialogue box so it may not exist (yet?), in which case can anyone suggest a workaround? with 50+(+++) subtitles per video I'm trying to cut down all unnecessary steps in my workflow...

    thanks for any help!

  2. #2
    Polygon Polygon @Polygon🌶

    The only thing that comes to my mind is to put a guide as the "bottom" and let the text box snap to it.

  3. #3
    rhille rhille @rhille

    Hi,

    I know this is an old thread but I am posting an alternative way just in case somebody is looking for another option.

    I would suggest that in your Master file, you create a text box with two dummy text lines (or more if you think it might be needed at some point) and align the bottom text line to where you want it to be. Then, you duplicate the file as before. When you edit them, just press "Enter" to insert a paragraph mark on the first line if you only need to use one line. Automatically, the cursor will now be on the second line, which you already aligned in the first step.

    Hope this helps.

     

    Rick

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD

    How about this? I combined a few path effects: [Pattern Along Path] for subtitle text, [Bounding Box] and [Offset] for the translucent text frame. It's not quite what was requested. Subtitles are not bottom-aligned but instead vertically centred on a horizontal line.