Draw annotation with small size (Font size)

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
paul198204

Draw annotation with small size (Font size)

Post by paul198204 »

Hi,

I would like to draw Annotation on Image with small font size (i.e 8) and in Normal style. I am setting the font size to 8 before drawing lable (annotation) on Image.

But annotation is getting drawn in Bold, I am not getting what is the reason.

Any urgent help would be appreciated.

Thanks,
Praveen V
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Draw annotation with small size (Font size)

Post by anthony »

You need to get a font that can be drawn at small scales.

Arial works ok, but only to a point.

Some X window bitmap fonts generate generate very tiny text, but I haven't attempted to get Im to use them in years, and you generally need an X window server running to render your string using such a font.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply