Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-10 Thread Pablo Rodriguez
On 12/10/18 10:51 AM, Hans Hagen wrote: > On 12/9/2018 8:54 PM, Pablo Rodriguez wrote: >> [] >> My own vectors wouldn’t solve the issue, because the variable would be: >> >> lfbd(Ὧ) = glyph.width(Ω) - glyph.width(Ὧ) >> >> I need to place glyphs accurately, not characters. Character dimensions

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-10 Thread Hans Hagen
On 12/9/2018 8:54 PM, Pablo Rodriguez wrote: On 12/9/18 6:53 PM, Hans Hagen wrote: On 12/9/2018 5:35 PM, Pablo Rodriguez wrote: [...] -Is there any way that I can apply pure raw lfbd/rtbd values to protrusion with no other protrusion calculation at all in opbd? you can create your own

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/9/18 6:53 PM, Hans Hagen wrote: > On 12/9/2018 5:35 PM, Pablo Rodriguez wrote: >> [...] >> -Is there any way that I can apply pure raw lfbd/rtbd values to >> protrusion with no other protrusion calculation at all in opbd? > > you can create your own vectors if you want My own vectors

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Hans Hagen
On 12/9/2018 5:35 PM, Pablo Rodriguez wrote: On 12/9/18 2:22 PM, Hans Hagen wrote: [...] you confuse mechanism: - protrusion only happen at the start and end of the line - kerning (like single does) happens everywhere so, you need to extend "lfbd" and not use some own kerning feature

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/9/18 2:22 PM, Hans Hagen wrote: >> [...] > you confuse mechanism: > > - protrusion only happen at the start and end of the line > - kerning (like single does) happens everywhere > > so, you need to extend "lfbd" and not use some own kerning feature > "leftbounds" which applyu it

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Hans Hagen
On 12/9/2018 1:34 PM, Pablo Rodriguez wrote: On 12/7/18 11:25 PM, Hans Hagen wrote: On 12/7/2018 9:14 PM, Pablo Rodriguez wrote: [...] The issue is that, although opbd values are used, that results from opbd and from single placement in addfeature are different (although LuaTeX reports the

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/7/18 11:25 PM, Hans Hagen wrote: > On 12/7/2018 9:14 PM, Pablo Rodriguez wrote: >> [...] >> The issue is that, although opbd values are used, that results from opbd >> and from single placement in addfeature are different (although LuaTeX >> reports the same values for lfbd). > > because

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Hans Hagen
On 12/7/2018 9:14 PM, Pablo Rodriguez wrote: On 12/7/18 8:15 PM, Hans Hagen wrote: On 12/7/2018 7:54 PM, Pablo Rodriguez wrote: Shouldn’t be the output from both methods be exactly the same? maybe you need to choose a script and/or language Many thanks for your reply, Hans. I modified the

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Pablo Rodriguez
On 12/7/18 8:15 PM, Hans Hagen wrote: > On 12/7/2018 7:54 PM, Pablo Rodriguez wrote: >> Shouldn’t be the output from both methods be exactly the same? > > maybe you need to choose a script and/or language Many thanks for your reply, Hans. I modified the font myself and the Greek script is

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Hans Hagen
On 12/7/2018 7:54 PM, Pablo Rodriguez wrote: Shouldn’t be the output from both methods be exactly the same? maybe you need to choose a script and/or language Hans - Hans Hagen | PRAGMA

[NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Pablo Rodriguez
Dear list, I’m experiencing a weird issue with optical bounds in OpenType. Here you have the mandatory sample (font avaiable at https://gitlab.com/ousia/greek-lfbd/raw/master/TypographicaOStandard-Regular.otf): \startluacode fonts.handlers.otf.addfeature { name = "leftbounds",