Tuesday, January 13, 2009

Font Clipping Work-around

Some of the decorative fonts available on FIG achieve their effect with wild settings of font metrics to jam characters close together or add ornate flourish and ligature. This can cause an issue with ImageMagick, the graphics engine that runs FIG, where parts of the text are clipped off. The canvas seems to be trimmed too close. In the top example above, the flourish at the leading edge of the character was clipped.

To resolve the issue, set the text alignment control found on the control panel to align the text to the opposite side of where the clipping problem appears. The default alignment is top-left and is what created the top example in the image.

By setting the alignment to top-right, the problem was eliminated yielding the lower example from the image above.

No comments:

Post a Comment