Metric called `origin' is what?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 39
Joined: 2011-11-12T22:20:18-07:00
Authentication code: 8675308

Metric called `origin' is what?

Post by djd » 2017-06-28T04:58:23-07:00

convert -debug annotate xc: -font Arial -pointsize 40 \
-annotate 0 'g' null: 2>&1 |\
grep Metrics: | fmt -w80

Metrics: text: g; width: 20; height: 46; ascent: 37; descent: -9;
max advance: 80; bounds: 2,-8 20,21; origin: 22,0; pixels per em: 40,40;
underline position: -3.39063; underline thickness: 2.34375

The origin of 22,0 does not seem to correlate with Anthony's IM image of `g' or using IM to draw a `g'.

Post Reply