
On 6/15/25 16:46, paper@mgrz.de wrote:
[...] Ubuntu Sans (Variable) makes this possible, but upper diacritics (eg. Ä) are not scaled when width is changed, the lower diacritics (eg. ą) seem to work as desired.
Hi, what I see (using the sample below) is that upper diacritics are misplaced (wrong centered), but not wrong scaled. \definefontfeature [one] [axis={wght=100,wdth=75}] \definefontfeature [two] [axis={wght=800,wdth=100}] \definefontfamily [one] [rm] [Ubuntu Sans] [features={default,one}] \definefontfamily [two] [rm] [Ubuntu Sans] [features={default,two}] \setupbodyfont [one] \starttext \startTEXpage[offset=1dk] ÄąÖöÜü\\ \switchtobodyfont[two] ÄąÖöÜü \stopTEXpage \stoptext
Unfortunately, I can't narrow down the problem any further. I can change the width with Google Fonts without any errors, and Inkscape doesn't cause any problems either. I can confirm that ConTeXt cannot match the same results as Inkscape, where all diacritics where placed properly in relation to their main characters.
How can I fix that?
ConTeXt supports variable fonts, but from time to time glitches may appear. Sorry, Hans, could you check what it seems to be misplaced diacritcs in variable fonts? Many thanks for your help, Pablo