lettier / gifcurry

😎 The open-source, Haskell-built video editor for GIF makers.
https://lettier.github.io/gifcurry
BSD 3-Clause "New" or "Revised" License
1.34k stars 54 forks source link

Gifcurry doesn't support RTL languages #70

Closed FeryET closed 3 years ago

FeryET commented 3 years ago

Hi.

I'm trying to create a Persian GIF, and while the preview works flawlessly, upon saving the GIF the order of the letters gets reversed, and all letters are rendered in their disconnected form.

E.g. connected form: فرهود

what will be rendered in GifCurry: د و ه ر ف

I think this issue is ffmpeg related, when you probably call the drawtext function.

lettier commented 3 years ago

Hello,

Gifcurry does not interface with FFmpeg. It simply assembles and issues a system command.

Screenshot_2021-07-11_23-34-15

I wasn't able to reproduce this unfortunately. Try running Gifcurry from the terminal and inspecting the TEXT section.

For example:

- TEXT:
    - Text: سيب
      - Font:
        - Family:  Sans
        - Size:    34
        - Style:   normal
        - Stretch: normal
        - Weight:  400

:+1: