Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Strange Problem with FontTypeMetrics

$
0
0
I have very strange problem - I have custom font installed and I am trying to write text with it.
I checked that font is properly installed. I see it in "convert -list font" command.

I am creating new image. Setting up font and size:
image.Font = "CustomFontName";
image.FontPointsize = 100;

but when I try

image.FontTypeMetrics("sometext") it is always null.

So does anyone have idea what am I missing?
Font is in OTF format if this is any help..

Thank you in advance.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>