Re: Pango without FreeType (or fontconfig)
- From: "Lóránt Pintér" <lorant pinter prezi com>
- To: behdad behdad org
- Cc: gtk-i18n-list gnome org
- Subject: Re: Pango without FreeType (or fontconfig)
- Date: Wed, 03 Sep 2014 04:57:33 -0700 (PDT)
Hey, thanks for replying. Comments inline.
On Wednesday, Sep 3, 2014 at 12:58 pm, Behdad Esfahbod <
behdad behdad org>, wrote:
So, you are OK with the glib dependency?
I’m not sure what the glib dependency means for us. Can you explain why it would be a problem?
Current versions of pango use a convoluted module system to choose shapers. I
have a branch that removes most of that:
https://github.com/behdad/pango/tree/kill-modules
Cool. Is there a plan to merge this into the main line?
After that, you need to implement a set of PangoFontMap / PangoFontFamily /
PangoFontFace / PangoFont subclasses since you don't want to use PangoFc.
This is rather straightforward, if you don't want much font fallback.
Sounds workable. We already have similar classes in our own implementation that I want to replace with Pango.
For the shaper part, modify pangofc-shape.c. You just need access to the
hb_face and you can do the rest from there.
I’m looking for a solution where (eventually) I won't need to keep a separate branch of Pango. Would it be possible to do this without modifying existing code?
Thanks,
Lorant
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]