Image magick not caching freetype rendered fonts?
Posted: 2008-08-23T04:33:39-07:00
Hi All,
I was going through the RenderFreetype function in annotate.c. This function seems to init freetype library every time I call annotateImages API. Also this is not caching any font data but instead it inits freetype and renders all charecters each time. I am using Image Magick on Arm 9. My CPU frequency is about 400MHz. If Image Magick renders fonts each time, then I don't have any CPU time left to do other activities.
Is there any patch available such that Image Magick can cache the rendered fonts. Also I found that Qutopia uses fonts of format .qpf qtopia pre-rendered fonts. Is there any such options available in Image Magick as well.
Thanks and Regards,
Subhasish
I was going through the RenderFreetype function in annotate.c. This function seems to init freetype library every time I call annotateImages API. Also this is not caching any font data but instead it inits freetype and renders all charecters each time. I am using Image Magick on Arm 9. My CPU frequency is about 400MHz. If Image Magick renders fonts each time, then I don't have any CPU time left to do other activities.
Is there any patch available such that Image Magick can cache the rendered fonts. Also I found that Qutopia uses fonts of format .qpf qtopia pre-rendered fonts. Is there any such options available in Image Magick as well.
Thanks and Regards,
Subhasish