On 9/1/2025 2:09 PM, Werner LEMBERG wrote:
I have a problem with the EB Garamond family: it contains the glyph "ͤ" (U+0364, COMBINING LATIN SMALL LETTER E), however, it has neither an anchor point nor is it part of the font's "mark" table – in particular, I need support for the combination "oͤ", as used in old German texts. To fix this, I would like to use `fonts.handlers.otf.addfeature`. Is there an example somewhere how to do that? I could only find samples for other, simpler GSUB and GPOS lookup types but nothing for "marktobase", which is needed here. In case there is documentation already available please give me a link.it should be helpful if you add small example (even if it does not do what you need) to have a bit of context.Here it is, using current git of TeXLive. The attached images show the current and desired results. ``` \documentclass{article} \usepackage{ebgaramond} \begin{document} gehoͤrt \end{document} ```Perhaps the pair feature as in https://articles.contextgarden.net/journal/2017/27-76.pdfI've seen this already, thanks, but the structure of the 'marktobase' feature is completely different.
attached is how i'd do it in context ...
\startluacode
fonts.handlers.otf.addfeature {
name = "kern",
type = "pair",
data = {
["o"] = { [0x364] = { false, { -150, 0, 0, 0 } } },
}
}
\stopluacode
\setupbodyfont[ebgaramond]
\startTEXpage[offset=1TS]
mswoͤrd
\stopTEXpage
... i have no clue if it works out in latex
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------\startluacode
fonts.handlers.otf.addfeature {
name = "kern",
type = "pair",
data = {
["o"] = { [0x364] = { false, { -150, 0, 0, 0 } } },
}
}
\stopluacode
\setupbodyfont[ebgaramond]
\startTEXpage[offset=1TS]
mswoͤrd
\stopTEXpage
extensions-012.pdf
Description: Adobe PDF document
