freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Accessing `ft_mem_*' from OT-SVG hooks


From: Moazin Khatri
Subject: Re: [ft-devel] Accessing `ft_mem_*' from OT-SVG hooks
Date: Mon, 8 Jul 2019 16:57:49 +0500

This is how it is supposed to work
FT_Render_Glyph_Internal loops though all renderers that support
slot->format [...]

Hi Alexei, I removed the unnecessary code from 
`FT_Render_Glyph_Internal' and it's back in its original
form. Everything worked great.

Then in a separate local branch, I started changing
the OT-SVG rendering module. I removed everything
related to hooks. I am doing it with `resvg' at the moment.

I took my `resvg_port.c' file and directly placed it in the
src/svg folder. Everything works, but the build process
is hackish. 

What would be the right way to do the following things:

1. Provide the necessary `*.h' file of the `resvg' library
when the SVG module is being compiled.
2. When the shared library is being built, declare
`libresvg' as a dependency. 

Note that both of these should be only specific to that
module only. I could do this in many hackish ways, I
just want to know the right approach here. 

Thank you,

Moazin

reply via email to

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