Writing text with diacritic (“nikud”, vocalization marks) using PIL (Python Imaging Library)

前端 未结 4 1196
南方客
南方客 2020-12-11 03:59

Writing simple text on an image using PIL is easy.

draw = ImageDraw.Draw(img)
draw.text((10, y), text2, font=font, fill=forecolor )

However

4条回答
  •  感动是毒
    2020-12-11 04:36

    Looks to me that the case is quite simple. You can use True Type fonts and use

    Here's the example:True type fonts for PIL

    Here you can find Hebrew True Type fonts: Hebrew true type fonts

    Good luck or like we saying in Hebrew - Mazal' Tov.

提交回复
热议问题