Caption not show alignment when have stroke

I want to align the text to the center.
However, when applying a stroke to the font, the alignment defaults to the left instead of the center.

This is my json

{
    "timeline": {
        "tracks": [
            {
                "clips": [
                    {
                        "asset": {
                            "type": "caption",
                            "src": "https://shotstack-assets.s3.amazonaws.com/captions/transcript.srt",
                            "font": {
                                "color": "#ffffff",
                                "opacity": 0.8,
                                "size": 38,
                                "lineHeight": 0.85,
                                "stroke": "#ff6600",
                                "strokeWidth": 0.8
                            },
                            "alignment": {
                                "horizontal": "center"
                            },
                             "width": 500
                        },
                        "start": 0,
                        "length": "end"
                    }
                ]
            },
            {
                "clips": [
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://github.com/shotstack/test-media/raw/main/captioning/scott-ko.mp4"
                        },
                        "start": 0,
                        "length": "auto"
                    }
                ]
            }
        ]
    },
    "output": {
        "format": "mp4",
        "size": {
            "width": 720,
            "height": 1280
        }
    }
}
2 Likes

yeah +1 to that

CAPTION CENTERING is breaking as soon as you add any type of formatting to it , it’s bonkers how broken it is.

You add a stroke, it breaks
You add margins, it breaks
You add any formatting schema basically, centering breaks.

Can this be escalated?

1 Like