
On 5/26/2025 11:08 AM, denis.maier@unibe.ch wrote:
Just a quick follow up: Does anyone know how I could approach/solve this problem? Or do I just have to wait for a font update?
maybe \definefontfeature[default][default][compose=yes] at the top of the file works
Best,
Denis
*Von:*Maier, Denis Christian (UB) *Gesendet:* Dienstag, 20. Mai 2025 14:36 *An:* mailing list for ConTeXt users
*Betreff:* K with combining macron below Hi,
I’m trying to use a k with a bar/line below: ḵ. The problem is that my font (Cardo) doesn’t seem to have this character in a precombined version. So, I need to combine the letter with the combining macron below: https://www.compart.com/en/unicode/U+0331
While this works with the default font, with Cardo the result looks off, i.e., the macron is not placed centered under the letter, but slightly to the right. How can I get the correct placement of the macron?
Best,
Denis
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definefontfamily[cardo][rm][Cardo]
\setupbodyfont[
mainface,
11pt,
]
\starttext
{\em ḵabc} (with macron)
{\em ḵabc} (with combining macron)
\switchtobodyfont[cardo]
{\em ḵabc} (with macron)
{\em ḵabc} (with combining macron)
{ḵabc} (with combining macron)
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------