<div dir="ltr"><div dir="ltr">On Tue, Nov 12, 2019 at 7:31 PM Martin Hosken <<a href="mailto:mhosken@gmail.com">mhosken@gmail.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">Dear Behdad,<br>
<br>
> For reason that many of you know (letter-spacing, Arabic elongation, other<br>
> postprocessing) I like to expose attachment data to the shaping clients.<br>
> There's two separate pieces so far:<br>
> <br>
> - The Arabic joining info, which is applicable to all Arabic-like fonts<br>
> even the ones that do NOT use cursive joining.<br>
> <br>
> - Mark attachment and cursive attachment.  These form a tree with a<br>
> attachment-type enum.<br>
> <br>
> I'm not sure which slots in the pos buffer to expose this in.  The latter<br>
> definitely belongs to the pos buffer, whereas the former is more a property<br>
> of the text.  So I feel like we should expose them separately.<br>
> <br>
> Ideas?<br>
<br>
Pulling back into the more generic script question, I think both may be covered by giving the attachment parent and attachment type. Thus Arabic joining is via cursive attachment</blockquote><div><br></div><div>Except that simple linear Arabic-like fonts don't do cursive joining.  Letters just line up next to each other.</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"> and diacritic attachment via mark attachment. IMHO, this would then also apply naturally to other scripts and give some help with regard to justification.<br>
<br>
Yours,<br>
Martin<br>
_______________________________________________<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></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>