text_decoration (underline, line_through) is too thin than the font default from the other render result
Posted: 2019-06-24T02:54:54-07:00
Hello there
When I use ImageMagick with decorate option
The result seems wrong when I compare Photoshop or MS Word result
The problem is that the line width of underline or throughline is too thin than which I expected
Even ImageMagick uses depending on the OTF font information
The line is extremely thin and there seems an issue of line position (y and x as well)
Check the below result for your understanding
Font name -> Noto Sans CJK JP Medium (OTF version)
Photoshop result
MS Word result
ImageMagick result(7.0.8-50 Q16 x86_64)
Below is a command snippet
When I use ImageMagick with decorate option
The result seems wrong when I compare Photoshop or MS Word result
The problem is that the line width of underline or throughline is too thin than which I expected
Even ImageMagick uses depending on the OTF font information
The line is extremely thin and there seems an issue of line position (y and x as well)
Check the below result for your understanding
Font name -> Noto Sans CJK JP Medium (OTF version)
Photoshop result
MS Word result
ImageMagick result(7.0.8-50 Q16 x86_64)
Below is a command snippet
Code: Select all
convert \
-size 320x120 xc:white -draw \
"fill black font-size 64 font '/Users/user/Downloads/NotoSansCJKjp-hinted/test.otf' decorate LineThrough gravity center text 0,0 'test'" linethrough.gif