Re: [Inkscape-devel] SVGFonts: lot's of questions
The font data can all be fed to cairo using the user-font support that I committed to master last week. So you have some code to write already. You need to provide the render_glyph(). If you don't have kerning, providing unicode_to_glyph() would be enough, but for kerning, you need to use the full text_to_glyphs() method.
The Pango bits to make pango use cairo user-fonts don't exist yet. This is the bug tracking that:
While I want to fix that bug this cycle, I don't have a estimate for it yet, and it's not on my plate for the next few weeks...
Reading through that bug I'm unclear whether the proposed pango_font_description_set_domain() function could be used to support a user-font which wasn't also a Cairo user-font. Could you clarify whether it intended to be able to use this feature without being required to use Cairo?
Richard.
participants (1)
-
Richard Hughes