<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>On 11/29/18 7:29 AM, Behdad Esfahbod wrote:<br>
</p>
<blockquote type="cite"
cite="mid:CAF63+7V5bHhATY2UGwSjffAQRVD4+CJTDNoYy_iAeE7YVSyGWA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">ansel@copperspice.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" 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" moz-do-not-send="true">ansel@copperspice.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;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:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" 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>
<blockquote type="cite"> -DHAVE_ATEXIT<br>
-DHB_EXTERN=<br>
-DHB_NO_UNICODE_FUNCS<br>
-DHB_NDEBUG</blockquote>
</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>
<p>Thanks so much for your continued help and support,<br>
</p>
<p>-Ansel<br>
</p>
</body>
</html>