Thank you for both of your responses. Steven: Thank you for the article! However, I'm still a bit confused, sorry. According to the article, Pango is not a good fit for web browsers or word processors. So I'm assuming my usecase (render text in this box and split it in lines) falls into that category? So that means I can't use Pango either? Sorry if this is obvious, but I'm having a hard time finding exactly what I need :).
Konstantin: according to Behdah "State of Text Rendering", "HarfBuzz, as an OpenType Layout engine, is where all the magic happens". And I also see a header called "hb-ot-layout.h", that I'm assuming is where the Freetype 2 OpenType layout code moved, whatever that means, so that's where my confusion started. Again, thank you for your responses! On Thu, Jul 31, 2014 at 7:47 AM, Konstantin Ritt <[email protected]> wrote: > From the official site: "HarfBuzz is an OpenType > <http://www.microsoft.com/OpenType/OTSpec/> text shaping engine." > Shaping != layout. > > So quick answer would be: "No, HarfBuzz can not do layout related tasks". > > Konstantin > > > 2014-07-31 1:35 GMT+04:00 Edu García <[email protected]>: > >> Thank you! What about the layout, can Harfbuzz do it? >> On Jul 30, 2014 9:07 PM, "Khaled Hosny" <[email protected]> wrote: >> >>> On Wed, Jul 30, 2014 at 01:42:42PM +1000, Edu García wrote: >>> > Hi there, >>> > >>> > First of all, just let me say that Harfbuzz seems like an awesome >>> piece of >>> > engineering, and the API seems a breeze to use. I've done a very simple >>> > example in just a few hours, and I'm very happy about that :). >>> > >>> > I have two (very noob, sorry) questions, tough: >>> > >>> > 1) I want to enable (or disable) ligatures. I've seen that when using a >>> > font like Adobe Garamond Pro, ligatures are automatically used. I >>> thought I >>> > had to pass a feature to hb_shape() to do that? Also, is there any way >>> of >>> > enabling only some kind of ligatures, like historical ones? >>> >>> Some features are enabled by default, to you can disable default >>> features/enable non-default features by passing appropriate >>> hb_feature_t's to hb_shape_full(). >>> >>> Regards, >>> Khaled >>> >> >> _______________________________________________ >> HarfBuzz mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/harfbuzz >> >> >
_______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
