Re: [Inkscape-devel] SVGFonts: lot's of questions
The difficulty we're having is that not enough of Inkscape's rendering has been converted to Cairo for it to be easy for us to use Cairo's user-fonts for output. Do you think it would be possible for us to create a fake Cairo user-font which only has a partially-implemented render_glyph_func (returns the extents but doesn't draw anything) and then we figure it all out later and send it to our own renderer? I'm just looking for a more incremental approach to this feature rather than having to bundle in a complete Cairo conversion at the same time.
How do you use Pango currently? You can do the same approach with pangocairo. I assume you use pangoft2 to extract glyph outlines and render them yourself. You can do the same with pangocairo. You don't have to use cairo for everything...
Yeah, something like that. I reckon the conversion for existing system fonts should be quite easy, but what about user-fonts? Do I understand that your design for Pango will not call the render_glyph_func at all, i.e. we can leave it as NULL until we've figured out how to do things properly?
Richard.
On Thu, 2008-05-15 at 20:44 +0100, Richard Hughes wrote:
How do you use Pango currently? You can do the same approach with pangocairo. I assume you use pangoft2 to extract glyph outlines and render them yourself. You can do the same with pangocairo. You
don't
have to use cairo for everything...
Yeah, something like that. I reckon the conversion for existing system fonts should be quite easy, but what about user-fonts? Do I understand that your design for Pango will not call the render_glyph_func at all, i.e. we can leave it as NULL until we've figured out how to do things properly?
Humm, sure it will indirectly call the render_glyph func. That's where all the glyph data comes from.
Richard.
participants (2)
-
Behdad Esfahbod
-
Richard Hughes