<div dir="ltr"><div dir="ltr">On Thu, Dec 13, 2018 at 11:05 PM Ansel Sermersheim <<a href="mailto:ansel@copperspice.com">ansel@copperspice.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>On 11/29/18 7:29 AM, Behdad Esfahbod wrote:<br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">On Tue, Nov 27, 2018 at 8:34 PM Ansel
Sermersheim <<a href="mailto:ansel@copperspice.com" target="_blank">ansel@copperspice.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> On 11/19/2018 07:16
PM, Behdad Esfahbod wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">Hi Ansel,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">On Mon, Nov 19, 2018 at 7:44 PM Ansel
Sermersheim <<a href="mailto:ansel@copperspice.com" target="_blank">ansel@copperspice.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">...We
have tried cluster <br>
levels 0 and 1, and neither one worked as we
expected. In every case, <br>
combining accents are marked as being in a
separate cluster to the base <br>
codepoint. For example, U+0061 Latin Small Letter
A followed by U+0308 <br>
Combining Diaeresis are being placed in adjacent
clusters rather than <br>
the same cluster.</blockquote>
<div><br>
</div>
<div>That doesn't sound right. Are you setting any
custom unicode-funcs on the buffer? Only thing I
can think of that can do this is faulty / missing
Unicode funcs. <br>
</div>
</div>
</div>
</blockquote>
<br>
We had a feeling something was missing. No, we are not
supplying any unicode funcs. Do you have a sample or
documentation reference for what we need to supply?</div>
</blockquote>
<div><br>
</div>
<div>Not supplying anything is good. Was just ruling out that
as a cause.<br>
</div>
<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 bgcolor="#FFFFFF"> I have looked at the
online documentation without seeing a clear list of what
is required. We are specifically looking to use harfbuzz
to decipher special case grapheme breaks. <br>
</div>
</blockquote>
<br>
</div>
Can you check with hb-shape command-line tool, to make sure what
you expect is what HarfBuzz produces there?<br>
</div>
</blockquote>
<p>Sorry it took a while to get back with you, we really do
appreciate your help. We have been looking over the code and we
believe we are having a problem with missing unicode callback
functions. We are compiling HarfBuzz with the following options
turned on:</p>
<p>
</p><blockquote type="cite"> -DHAVE_ATEXIT<br>
-DHB_EXTERN=<br>
-DHB_NO_UNICODE_FUNCS<br>
-DHB_NDEBUG</blockquote>
<p></p>
<p>I am particularly suspicious of the HB_NO_UNICODE_FUNCS define.
Am I correct in thinking that this is suppressing the built-in
harfbuzz unicode functions, so we must supply our own?</p></div></blockquote><div>Or just use hb-ucdn that is shipped with HarfBuzz.</div><div><br></div><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 bgcolor="#FFFFFF">
<p>Thanks so much for your continued help and support,<br>
</p>
<p>-Ansel<br>
</p>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div></div>