<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><br>
      If so, I will take this to the fontforge lists.<br>
      <br>
      Thank you.<br>
      <br>
      Antonis.<br>
      <br>
      <br>
      <br>
      On 12/3/21 5:38 PM, Zdenek Wagner wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC1phyaGoaw-O9qp65Y5tnHG-1ZWCORvVP74+zL1mA7BphbQSg@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">Hi,

I think that this is not a XeTeX problem but a font problem. For
instance, FreeSerif can distinguish conjuncts for Hindi from conjuncts
for Sanskrit and can use different spacing for interpunctin based on
the language. This leads me to thinking that it is a font problem.

Zdeněk Wagner
<a class="moz-txt-link-freetext" href="http://ttsm.icpf.cas.cz/team/wagner.shtml">http://ttsm.icpf.cas.cz/team/wagner.shtml</a>

pá 3. 12. 2021 v 16:18 odesílatel Antonis Tsolomitis via XeTeX
<a class="moz-txt-link-rfc2396E" href="mailto:xetex@tug.org"><xetex@tug.org></a> napsal:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">


In Greek (and Russian) the guillemots are different than the default. So the NewCM fonts
include a lookup cv04 for the Greek and cv03 for the Russian to switch to the proper glyphs.

I thought that if cv04 has metadata

grek(dflt)

and if I switch to Greek using the polyglossia command
\textlang{greek}{\newcmgreekguillemots «»}

where

\newfontfamily\newcmgreekguillemots[CharacterVariant=4]{NewCM10-Book.otf}

then the substitution will work. But it does not.

If I add to metadata

latn{dflt}

then it works. But is this proper? Shouldn't it work only with grek{dlft} ?

It is either my understanding wrong or polyglossia does not do the proper switching or xetex
does not pickup the change of language properly.

In my sources I have added latn{dflt} for both Greek and Russian to make the fonts work.
So if a test is needed I have to send a custom font.

Thanks,

Antonis.












</pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>