<div dir="ltr">Thank you for both of your responses.<div><br></div><div>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 :).</div>
<div><br></div><div>Konstantin: according to Behdah "State of Text Rendering", "<span style="color:rgb(0,0,0);font-family:Georgia,serif;font-size:medium;text-align:justify">HarfBuzz, as an OpenType Layout engine, is where all the magic happens". </span>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.</div>
<div><br></div><div>Again, thank you for your responses!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 7:47 AM, Konstantin Ritt <span dir="ltr"><<a href="mailto:ritt.ks@gmail.com" target="_blank">ritt.ks@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">From the official site: "<span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:16px">HarfBuzz</span><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:16px"> is an </span><a href="http://www.microsoft.com/OpenType/OTSpec/" style="color:rgb(82,24,139);font-family:'Times New Roman';font-size:16px" target="_blank">OpenType</a><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:16px"> text shaping engine."</span><div class="gmail_extra">
Shaping != layout.</div><div class="gmail_extra"><br></div><div class="gmail_extra">So quick answer would be: "No, HarfBuzz can not do layout related tasks".</div><div class="gmail_extra"><br clear="all"><div>Konstantin</div>
<br><br><div class="gmail_quote">2014-07-31 1:35 GMT+04:00 Edu García <span dir="ltr"><<a href="mailto:arcnorj@gmail.com" target="_blank">arcnorj@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<p dir="ltr">Thank you! What about the layout, can Harfbuzz do it?</p><div><div>
<div class="gmail_quote">On Jul 30, 2014 9:07 PM, "Khaled Hosny" <<a href="mailto:khaledhosny@eglug.org" target="_blank">khaledhosny@eglug.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Jul 30, 2014 at 01:42:42PM +1000, Edu García wrote:<br>
> Hi there,<br>
><br>
> First of all, just let me say that Harfbuzz seems like an awesome piece of<br>
> engineering, and the API seems a breeze to use. I've done a very simple<br>
> example in just a few hours, and I'm very happy about that :).<br>
><br>
> I have two (very noob, sorry) questions, tough:<br>
><br>
> 1) I want to enable (or disable) ligatures. I've seen that when using a<br>
> font like Adobe Garamond Pro, ligatures are automatically used. I thought I<br>
> had to pass a feature to hb_shape() to do that? Also, is there any way of<br>
> enabling only some kind of ligatures, like historical ones?<br>
<br>
Some features are enabled by default, to you can disable default<br>
features/enable non-default features by passing appropriate<br>
hb_feature_t's to hb_shape_full().<br>
<br>
Regards,<br>
Khaled<br>
</blockquote></div>
</div></div><br></div></div>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>