SQRCAT
SQRCAT

Reputation: 5840

ImageMagick miscalculates height when drawing text

When drawing text using ImageMagick 6.7.3-1 (2011-10-21 Q16), the result is cropped at the topline if i use large German characters that contain so-called "Umlaute".

see the problem here

/opt/local/bin/convert -background "rgba(255,255,255,0)" -fill "#878787" -font tfonts/MyriadPro-BlackSemiCn.ttf -pointsize 60 label:"TESTING GERMAN UMLAUTE Ä Ö Ü" "img/dyn/s-19.0.7.png"

Is there a way i could easily fix this?

Upvotes: 0

Views: 147

Answers (1)

Roman Byshko
Roman Byshko

Reputation: 9002

With

Version: ImageMagick 6.7.3-4 2011-11-06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC Features: OpenMP

and default font everything is fine.

So quick fix would be either to update ImageMagic or to pick different font.

Upvotes: 1

Related Questions