[luatex] Why does LuaTeX show the middle dot instead of ano teleia?

Heiko Oberdiek heiko.oberdiek at googlemail.com
Tue Aug 29 22:08:26 CEST 2023


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


More information about the luatex mailing list.