On 11/18/2018 10:22 PM, Pablo Rodriguez wrote:
Hi Hans,
many thanks for having released the new beta.
I experience opposite results with opbd. The first sample is:
\definefontfeature[default][default][protrusion=quality, opbd=yes]
\definefontfamily[mainface][rm][Linux Libertine O]
\setupbodyfont[mainface, 300pt]
\setuppagenumbering[location=]
\setupalign[hanging]
\showframe
\starttext
W
\stoptext
Although the value for that lfbd is only -29, the W is moved too much
from its original position.
i have no time now but keep in mind that we also have a multiplier (the
system is set up to use ratios / fractions, not hard coded numbers
also, it makes no sense to experiment too much with only some demo fonts
with incomplete coverage ... adapting the low level mechanism to just
one font with one character protruding makes no sense (one can tnen
better use the non-opbd way)
The second sample is (font attached at
https://mailman.ntg.nl/pipermail/ntg-context/2018/092527.html):
\showframe
\definefontfeature[default][default][protrusion=quality, opbd=yes]
\definefontfamily[mainface][rm][TestOPBD]
\setupbodyfont[mainface, 60pt]
\setupalign[hanging]
\starttext
Ἠ\\
Ἠ\hfill Ἠ\\
Ἦ\hfill ὩὩ\\
ἯἯ\hfill ὩὩ
\stoptext
Here the changes are tiny. The right values are used in the image at
https://github.com/wspr/fontspec/issues/282#issuecomment-287155442.
Could you check it?
Many thanks for your help,
Pablo
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________