ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Pablo Rodriguez <oinos@gmx.es>
Subject: Re: issues with optical bounds
Date: Sun, 18 Nov 2018 22:37:00 +0100	[thread overview]
Message-ID: <2aec8be3-4f0b-68b8-7ba4-91243e9da772@xs4all.nl> (raw)
In-Reply-To: <c16ebb24-2da4-6962-250e-da9787cbd003@gmx.es>

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
___________________________________________________________________________________

  reply	other threads:[~2018-11-18 21:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-18 21:22 Pablo Rodriguez
2018-11-18 21:37 ` Hans Hagen [this message]
2018-11-19 20:27   ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2aec8be3-4f0b-68b8-7ba4-91243e9da772@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).