> attached is how i'd do it in context ...  [...]

Thanks, this solution also came to my mind, and it certainly works,
see

  
https://tex.stackexchange.com/questions/312154/how-to-adjust-font-features-in-luatex

which has quite a comprehensive description of some LuaTeX font
features.

However, I consider 'kern' not as a correct replacement for a
'marktobase' feature, since the latter makes U+0364 work with all base
characters defined in the 'mark' feature.  In particular, AFAICS, your
sulution fails for uppercase combinations like "Oͤ" because standard
kerning doesn't have vertical offsets.

BTW, it's very easy to patch the original `EBGaramond-Regular.otf`
file using the XML dump as produced by the `ttx` font
compiler/decompiler: For the 'mark' lookup you add glyph 'uni0364' to
its 'MarkCoverage' table (as the 28th entry counting from zero), then
adding an entry in the 'MarkArray' table:

```
<MarkRecord index="28">
  <Class value="0"/>
  <MarkAnchor Format="1">
    <XCoordinate value="115"/>
    <YCoordinate value="440"/>
  </MarkAnchor>
</MarkRecord>
```

However, I consider this as a last-resort solution that I would like
to avoid.

So I ask again: Is there a solution to construct a tiny 'marktobase'
feature with `fonts.handlers.otf.addfeature` (or something else)?


    Werner

Reply via email to