<div dir="ltr">I think I've mislead you, I didn't mean to use the documentation of that library :) I think old harfbuzz had some of the things you've mentioned like justification.<div><br></div><div>Anyways, I guess <a href="https://mail.gnome.org/archives/gtk-i18n-list/2009-August/msg00025.html">this link</a> would be more useful as some of basic (probably you know them already) but expected to be used more APIs are described there at least.</div><div><br></div><div>Another perhaps interesting way to measure usage of an API and understand its use is to inspect other clients, specially the big ones like Chromium/Google Chrome which should handles many edge cases. For example, "hb_font_get_glyph_advance_for_direction" is not used once even on Chromium <a href="https://cs.chromium.org/search/?q=hb_font_get_glyph_advance_for_direction&sq=package:chromium&type=cs">once even</a> which roughly means it is not of a canonical API for the library and hb_font_get_glyph is used <a href="https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp?q=hb_font_get_glyph&sq=package:chromium&dr=C&l=282">here</a> which checks if a font has a special glyph for space so is it possible to use caching word shaping strategy (in here, if a font contains space glyph it means the strategy should be turned off but for the majority of fonts it is not the case), very special strategy not used by every client of harfbuzz and the API also doesn't seem to be essential for most of clients.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 27, 2016 at 4:36 AM, Kelvin Ma <span dir="ltr"><<a href="mailto:kelvinsthirteen@gmail.com" target="_blank">kelvinsthirteen@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">Well this is the first time I’ve used a shaper, and also the first time 
i’ve been told to learn how to use a library by using a different 
library’s documentation. At any rate I thought harfbuzz doesn’t do 
itemization/justification/reversal, so it doesn’t seem that library even does the same thing as harfbuzz.<span class=""><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 26, 2016 at 5:03 PM, Ebrahim Byagowi <span dir="ltr"><<a href="mailto:ebraminio@gmail.com" target="_blank">ebraminio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>This weren't shocking for you that much if you had a chance to use proprietary shapers, at least according to initial paragraphs of <a href="https://maxradi.us/documents/uniscribe/" target="_blank">https://maxradi.us/documents/uniscribe/</a> and <a href="https://github.com/behdad/harfbuzz/blob/master/src/hb-uniscribe.cc#L606" target="_blank">uniscribe backend</a> of harfbuzz ;)</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sun, Jun 26, 2016 at 9:23 PM, Kelvin Ma <span dir="ltr"><<a href="mailto:kelvinsthirteen@gmail.com" target="_blank">kelvinsthirteen@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div><div><div>can someone please explain what each of the functions & their arguments at <a href="https://lazka.github.io/pgi-docs/HarfBuzz-0.0/functions.html" target="_blank">https://lazka.github.io/pgi-docs/HarfBuzz-0.0/functions.html</a> actually do?<br><br></div>Particularly <span style="font-family:monospace,monospace">font_get_glyph()</span> and <code>font_get_glyph_advance_for_direction().<br><br></code></div><code><font face="arial,helvetica,sans-serif">no shade but how does anyone actually manage to use this library in their projects if barely 5% of it is documented at all</font><br></code></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="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div class="gmail_extra"><br></div>
</div></div></blockquote></div><br></div></span></div>
<br>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div>