ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with OT feature lfbd
@ 2017-02-25 16:14 Pablo Rodriguez
  2017-02-25 20:36 ` Hans Hagen
  2017-02-25 20:37 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2017-02-25 16:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: issue with OT feature lfbd
  2017-02-25 16:14 issue with OT feature lfbd Pablo Rodriguez
@ 2017-02-25 20:36 ` Hans Hagen
  2017-02-25 20:37 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2017-02-25 20:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: issue with OT feature lfbd
  2017-02-25 16:14 issue with OT feature lfbd Pablo Rodriguez
  2017-02-25 20:36 ` Hans Hagen
@ 2017-02-25 20:37 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2017-02-25 20:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 2/25/2017 5:14 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
>     \showframe
>     \definefontfeature[leftbounds][lfbd=yes]

btw, that feature is not supposed to be set in otf rendering but is 
always indirect

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-25 20:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 16:14 issue with OT feature lfbd Pablo Rodriguez
2017-02-25 20:36 ` Hans Hagen
2017-02-25 20:37 ` Hans Hagen

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).