Page 1 of 1

FreeType FTC in RenderFreetype

Posted: 2015-09-11T00:34:35-07:00
by theDolphin
Hello!

We use ImageMagick Wand API heavily in our project, and one of the purposes is to render huge amount of text on a canvas.
We stuck in perfomance limitations of RenderFreetype(), which initializes FT2 library every time it's called.
So on every string we have to render a font is loaded (FT_Open_Face()) from file and interpreted. This leads to huge CPU overhead.

Is there any plans to integrate the use of FT Cache Subsystem into RenderFreetype() ?
Last topic I found dated 2007...

Furthermore, is there any caveats to pay attention to if I decide to implement caching by myself?

Thanks in advance!

Re: FreeType FTC in RenderFreetype

Posted: 2015-09-11T01:19:20-07:00
by dlemstra
Cache of fonts have been on our todo list for a while. You are more then welcome to submit a pull request for that.