Returns the TypeMetric class witch provides the information
regarding font metrics such as ascent, descent, text width,
text height, and maximum horizontal advance. The units of
these font metrics are in pixels, and that the metrics are
dependent on the current Image font (default Ghostscript's
"Helvetica"), pointsize (default 12 points), and x/y resolution
(default 72 DPI) settings.
The pixel units may be converted to points (the standard
resolution-independent measure used by the typesetting industry)
via the following equation:
sizePoints = (sizePixels * 72)/resolution
where resolution is in dots-per-inch (DPI). This means that at the
default image resolution, there is one pixel per point.
Returns the TypeMetric class witch provides the information regarding font metrics such as ascent, descent, text width, text height, and maximum horizontal advance. The units of these font metrics are in pixels, and that the metrics are dependent on the current Image font (default Ghostscript's "Helvetica"), pointsize (default 12 points), and x/y resolution (default 72 DPI) settings.
The pixel units may be converted to points (the standard resolution-independent measure used by the typesetting industry) via the following equation:
where resolution is in dots-per-inch (DPI). This means that at the default image resolution, there is one pixel per point.