vercel / satori

Enlightened library to convert HTML and CSS to SVG
https://og-playground.vercel.app
Mozilla Public License 2.0
11.12k stars 248 forks source link

RTL languages #74

Open shuding opened 2 years ago

shuding commented 2 years ago

There is no current plan for RTL languages, opening this issue to track.

X7md commented 2 years ago

Unfortunately...

It just can handle one character, not full word

https://og-playground.vercel.app/?share=dVI9b9RAEP0r40WQxuIMigKyAAkdOXIFNFC62fOO7T3Wu5Z3Tc6crjAKEhIViiLRBYoICZAiipSp6J02vUmVFPkJ2c0lUT6UZjT73uzszHs7JbFiSELS68GACjGi8TtIlDQaqGSwnKsxB1oisFrSnMe2pAahKEMGSalyeKlUKhAGF1f6L15r4BJMxjUwzNX9SEbyCePvIwmgTS3w6XTqcgDGdSFoHcJCInCy4M_RDHmaGQs-CIK75-AqZya7hhWUMS7TU7SYwEMbzikqeCqHBnNt2RilwfIK1bfzWvQGOa604Ul9G-2UGVgdhJt56BgfIvKK2oRTAcNYSR2Ry9Vv-AcMYTE4gwxOzHM3wI3WTvm0VJVkfSVUafnVjBuc07OZi89cON78-uV489sarKAQyoP_u98PtnY9ONr4fPhpw4OuWe8-rnfN76750TXbHrQ_27_t9l7T7uyttTserFgP_215cO_OBB8tLUVy_9f-H-tQz1pkXyA-UYXhdhESTsmp7CR8HAQ-mftCwkV3YDiqUhImVGj0ibV5zN_WhftJiajsYgNBjW3lJFjOR8hIaMoKZ7MT

Can use other font reander engine ?

Like harfbuzz js (wasm)?

https://github.com/harfbuzz/harfbuzzjs

X7md commented 2 years ago

Screenshot_20221011-055520_Chrome

X7md commented 2 years ago

Just noticed that already there some suggestion to switch to #83

dainiuswg commented 4 months ago

Hey, is there any plans to work on this? If not, could you guys point into right direction as to how we could implement RTL?

TheMikeyRoss commented 4 months ago

Any workaround?

straxico commented 3 weeks ago

any update?

moneerAlDakkak commented 3 weeks ago

Hello guys, So I use Nuxt og-image that renders images using Satori and I designed a template that aims to add RTL support. You can preview and contribute on this repo

@straxico @TheMikeyRoss @dainiuswg