Menu

#455 Special characters on Windows 10

v1.0_(example)
closed-duplicate
None
5
2024-12-10
2017-09-06
No

Hello,
I'm working on multiplatform application (windows, unix / mac) and need to process images (inprint text, resize, ...). I have tried to use the graphicmagick for this purpose but I'm getting weird results. Please can you advice ?

I'have installed on Windows: GraphicsMagick-1.3.26-Q16-win64-dll
I'm using following command:
gm convert -encoding "Unicode" -font "Calibri" -draw "text 100,100 '-лисица-'" orig.jpg _yyy.jpg

The output image contains "?????" instead of "лисица", the same command on Mac/Unix insert proper characters into image.

I have also tried to use ImageMagick with the same arguments and got correct results also on Windows, therefore I assume that there is no "Font" issue.
magick convert -encoding "Unicode" -font "Calibri" -draw "text 100,100 '-лисица-'" orig.jpg _yyy.jpg

Please can you advice how to fix this issue? I would like to use GraphicMagick instead of ImageMagick due the performanca and resource issues.

Best regards

P.S: This issue is also tracked at: https://github.com/aheckmann/gm/issues/678 (activity is quite in a past threfore i'm also posting it here)

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2024-12-10
    • status: open --> closed-duplicate
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2024-12-10

    This is a duplicate of issue 454.

     

Log in to post a comment.

MongoDB Logo MongoDB