LyoSU / quote-api

telegram quote api
132 stars 135 forks source link

Does not work with unicode text #59

Closed KuntilBogel closed 1 month ago

KuntilBogel commented 3 months ago

Hi, when I tried to make an image using this text "𝖒𝖆𝖒𝖆𝖓𝖌"

When I used bot.lyo.su: image

When using local api

image

NeroNer0 commented 1 month ago

IMG_20241016_065326

mine is flattened like this. and the position is not in the middle. can it be fixed?

LyoSU commented 1 month ago

When using local api

the required fonts are missing from the server. install them on the server, or add them to the fonts folder in the api

LyoSU commented 1 month ago

@NeroNer0 what app do you have?

KuntilBogel commented 1 month ago

When using local api

the required fonts are missing from the server. install them on the server, or add them to the fonts folder in the api

Thanks, looks like I forgot to install it on my ubuntu server (My reference: the dockferfile)

KuntilBogel commented 1 month ago

IMG_20241016_065326

mine is flattened like this. and the position is not in the middle. can it be fixed?

looks like you need to scale it into 1:1 using ffmpeg