FreeType FTC in RenderFreetype
Posted: 2015-09-11T00:34:35-07:00
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!
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!