freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another small patch for ft2-demos, and other stuff.


From: Hin-Tak Leung
Subject: another small patch for ft2-demos, and other stuff.
Date: Thu, 13 Jul 2023 18:23:12 +0000 (UTC)

Hi Werner, 

another small patch for ft2-demos. Should be obvious/trivial. BTW, accumulated 
patches get reposted when I post the next one, so there is no need to rush.

I had a quick look at swapping the renderer hook on the fly. It seems that it 
is set when the module is loaded (i.e. the first font that needs it, I think), 
and I actually cannot see when it is unloaded, though it says the svg_free hook 
is run when the module is unloaded (which is never...), and when the module is 
unloaded, all the font faces it is associated with is freed.

That fundamentally means it is not possible to switch the renderer hook on a 
per current glyph level, keeping the current face?

That said, I'd probably like the ability to swap at restart. (i.e. a new 
command line switch).

Not sure about merging the skia-based renderer hook. Skia is definitely moving 
very fast and the diff has already bit-rotten. I did it with a m110 binary 
bundle from the java-skia folks, and one of the headers I use has already 
changed location in m116/HEAD . The addition will bit-rot very fast. OTOH, it 
is good to have alternatives.

Hin-Tak

Attachment: 0001-rsvg-port.c-Correct-usage-of-FT_Bool-vs-gboolean-com.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]