From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: issue with OT feature lfbd
Date: Sat, 25 Feb 2017 21:36:08 +0100 [thread overview]
Message-ID: <910f67a1-99ab-44b9-c359-75d73d55f179@wxs.nl> (raw)
In-Reply-To: <e4de7cb0-045f-120d-5e28-c24489dd66b5@gmx.es>
On 2/25/2017 5:14 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \showframe
> \definefontfeature[leftbounds][lfbd=yes]
> \definefontfamily[mainface][rm][Linux Libertine O]
> \setupbodyfont[mainface, 150pt]
> \starttext
> \startTEXpage[offset=1ex]
> Wer War?
>
> \addff{leftbounds}
> Wer War?
>
> Wer\subff{leftbounds} War?
> \stopTEXpage
> \stoptext
>
> I’m afraid that the OT feature lfbd is applied in all the line.
> Otherwise, the second and the third lines would have the same spacing
> between words.
>
> Could anyone confirm this or am I missing something?
the fact that it won't work as you expect ... in fact there is some
experimental code that was never adapted to the new font reader ... i'll
fix that .. then you can do
\definefontfeature[default][default][protrusion=yes,opbd=yes]
\definefontfamily[mainface][rm][Linux Libertine O]
\setupbodyfont[mainface]
\setupalign[hanging]
\showframe
\starttext
\definedfont[linlibertine_r.otf*default]
\input tufte
\stoptext
as it needs it hook into protrusion (be dealt with in line breaking)
But still it's useless as that font only has left W V - and right v -
defined so rather minimalistic and incomplete. Probably a left over from
some experiment.
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-02-25 20:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-25 16:14 Pablo Rodriguez
2017-02-25 20:36 ` Hans Hagen [this message]
2017-02-25 20:37 ` Hans Hagen
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=910f67a1-99ab-44b9-c359-75d73d55f179@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/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).