Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-05 Thread Pablo Rodriguez via ntg-context
On 4/5/22 03:16, Thangalin via ntg-context wrote: >> The font is too old, but the TTF version works just fine on both Linux >> and Windows. > > No dice with LMTX 2022.04.01 09:37 and the TTF file. Using the TTF, > the emojis don't appear, but the text is justified. Using the OTF, the > emojis appea

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
There's a problem with oldstyle glyphs, because they have different codes inside a font. I used fontforge to find the "four.oldstyle" glyph, whose code is 0xf734. But then I discovered that the 'four.oldstyle' key works the same in the lua table. This is the updated MWE, suitable for oldstyle

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
Il 05/04/22 13:54, Hans Hagen via ntg-context ha scritto: On 4/5/2022 1:45 PM, mf via ntg-context wrote: It's defined in typo-fkr.lua, but I can't understand what parameters to pass and whether it's the right macro. It looks like it's not. look at the extension examples in the test suite: you c

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread Hans Hagen via ntg-context
On 4/5/2022 1:45 PM, mf via ntg-context wrote: It's defined in typo-fkr.lua, but I can't understand what parameters to pass and whether it's the right macro. It looks like it's not. look at the extension examples in the test suite: you can define a kern pair positioning feature than you enable

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
Il 05/04/22 13:15, Thomas A. Schmitz via ntg-context ha scritto: On 5. Apr 2022, at 13:02, mf via ntg-context wrote: Is it possible to solve it globally and only for a single font? Thanks, Massi Have you looked at chapter 5.4 “Goodies” of fonts-mkiv.pdf? That should get you started. Th

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread Thomas A. Schmitz via ntg-context
> On 5. Apr 2022, at 13:02, mf via ntg-context wrote: > > Is it possible to solve it globally and only for a single font? > > Thanks, > Massi Have you looked at chapter 5.4 “Goodies” of fonts-mkiv.pdf? That should get you started. Thomas _

[NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
Hello list, I need to modify the kern between two glyphs. This is a MWE where the problem is solved manually: -- \mainlanguage[it] \starttext Default: «Questo è successo nel ’48». Desired: «Questo è successo nel ’\kern-.1em 48». \stoptext -