FT Cache Subsystem: Custom caches

takase1121 via FreeType users <[email protected]> Wed, 25 Oct 2023 02:29:21 +0000
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <mr7xYKxBVEPx2mJFuD38vH_czpS9rMu_UNKy0UrpHlHVIgvh2EGxOvTFWIDITSdyOVxoRc0n8zXRDsCl2-dWIC8lg-o3LUPfFOjK9aNRaAI=@proton.me>
Hi,

I'm trying to use FreeType cache subsystem to render glyphs. I tried using FTC_SBitCache but I need to modify the outline before rendering (translate and transform) so I could only use FTC_ImageCache, modify the outline and render it.

Is there a way to extend the cache mechanism to create my own cache that supports all these features? I Googled and found draft document:

http://www.fifi.org/doc/libfreetype6/cache.html

It doesn't seem to work now. Are there any way to achieve that, or is this future planned for the future?

Kelvin