On 29/08/2023 21:08, Heiko Oberdiek via luatex wrote:
Hello,

On 2023-08-29 21:30, Hans Hagen wrote:
On 8/29/2023 8:59 PM, Heiko Oberdiek via luatex wrote:

On 2023-08-29 20:29, Joseph Wright wrote:
On 29/08/2023 19:27, Heiko Oberdiek via luatex wrote:

using LuaTeX to review the glyphs of a font, I discovered an oddity about U+0387 ANO TELEIA. LuaTeX shows U+00B7 MIDDLE DOT instead.

         \symbol{"00B7}% MIDDLE DOT
         \symbol{"0387}% ANO TELEIA

Indeed it's not a luatex issue. Rendering in context gives two different glyphs with the mentioned unicodes.

I found that the normalization was done in luaotfload.
It can be turned off with "normalize=false" (also "mode=base" works):

     \input luaotfload.sty
     %\font\TestFont=file:FreeSans.ttf:mode=base
     \font\TestFont=file:FreeSans.ttf:normalize=false
     \TestFont
     \char"00B7\relax
     \char"0387\relax
     \nopagenumbers
     \bye

However, neither "normalize" nor "mode" are recognized by "fontspec".
But at least there is a working way via the more low-level "luaotfload".

Thanks, for the answers.

Yours sincerely
   Heiko

\newfontface\TestFontB{FreeSans.ttf}[RawFeature=-normalize]?

(From Ulrike ...)

Joseph

Reply via email to