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 "leftbounds" which applyu it everywhere while "lfbd" is treated special i.e. sets the protrusion values (when "opbd" is enabled) ... no other way to do this
In that case, I have some questions:
-Is it possible to enable standard protrusion with opbd? (I mean, I don’t any other character protruded when opbd is enabled.)
well, you want to use what the font provides and if the font is incomplete i'd not trust the bits that are there either when opbd is enabled protrusion is taken from that so you should add all chars that you want to prodrude then in an addendum to is (k
-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
-In order to avoid editing all the Greek fonts to get hanging diacritics: is there any way to replicate the lfbd feature with "fonts.handlers.otf.addfeature"?
probably with some lua magic one can do a lot but these are typical things i do when i need them (also because one needs to check the whole of unicode and cook up categories, this kind of stuff is: do it all robust and well or don't do it; also one doesn't know how consistent font designs are) 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 -----------------------------------------------------------------