[XeTeX] diacritics stacking using anchor points

Antonis Tsolomitis antonis.tsolomitis at gmail.com
Sat Oct 23 17:48:09 CEST 2021

Thanks for the answer.

Yes acute works. But where do you see the difference? I am looking the
dialogs of
fontforge and can not locate the difference.

I have more trouble with diacritics stacking especially when stacking
above AND below.
x́ (x+ U+0301) works
x̖ (x + U+0316) works as well, but
x̖́ (x+ U+0301 + U+0316) fails.

I have been trying to resolve these issues for a long time but without
luck. The fontforge
dialogs show correct stacking but xetex does not stack as expected an I
have routinely failed
to find the reasons.

So at which dialogs do you see the difference between U+0301 and U+0300 ?
And why simultaneous stack above and below fails?

Thanks for your help,


On 10/23/21 6:26 PM, Jonathan Kew wrote:
> On 23/10/2021 14:37, Antonis Tsolomitis wrote:
>> It is a long time now that NewComputerModern has build-in information
>> for diacritics stacking.
>> I have heard  that xetex supports this but I can not make it work.
>> The font is developed
>> with fontforge and as you can see in the attached screenshot,
>> fontforge shows stacking working.
>> However xelatex just places, say the grave (uni0300) next and not
>> above the character, say uni2C9B
>> (as in screenshot).
>> So I guess I have something wrong in the font that xetex does not
>> like(?)
> Do any other diacritics such as the acute (U+0301) or dieresis
> (U+0308) work? From a quick look at the GPOS table in the font -- if
> I'm reading it correctly -- it appears that uni0300 may have the wrong
> attachment point class (whereas in uni0301 and uni0308, it looks
> correct).
> JK
>> The font currently develops the coptic block for academic needs this
>> is why I use uni2C9B.
>> A sample file is
>> \documentclass{article}
>> \usepackage{fontspec}
>> \setmainfont{NewCM10-Regular.otf}
>> \begin{document}
>> ⲛ̀
>> \end{document}
>> However the font that contains this character (since it is under
>> development) is here:
>> https://myria.math.aegean.gr/~atsol/tmp/NewCM10-Regular.sfd
>> <https://myria.math.aegean.gr/~atsol/tmp/NewCM10-Regular.sfd>
>> https://myria.math.aegean.gr/~atsol/tmp/NewCM10-Regular.otf
>> <https://myria.math.aegean.gr/~atsol/tmp/NewCM10-Regular.otf>
>> thanks for any help,
>> Antonis.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20211023/93efc0d5/attachment.html>

More information about the XeTeX mailing list.