ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Protrusion with simplefonts
@ 2010-06-24 16:58 Aditya Mahajan
  2010-06-24 17:17 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2010-06-24 16:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Is there a simple way to enable protrusion with simplefonts? I tried

\definefontfeature
     [default][default]
     [protrusion=quality,expansion=quality,mode=node,script=latn]

\setupalign     [hanging]

\usemodule  [simplefonts][size=10pt,features=default]
\setmainfont[Fontin]
\setmathfont[Cambria]

\showframe
\starttext
\input knuth
\stoptext

but that does not work. Any hints?

Thanks.

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Protrusion with simplefonts
  2010-06-24 16:58 Protrusion with simplefonts Aditya Mahajan
@ 2010-06-24 17:17 ` Wolfgang Schuster
  2010-06-24 17:39   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-06-24 17:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 24.06.2010 um 18:58 schrieb Aditya Mahajan <adityam@umich.edu>:

> Hi,
> 
> Is there a simple way to enable protrusion with simplefonts? I tried
> 
> \definefontfeature
>    [default][default]
>    [protrusion=quality,expansion=quality,mode=node,script=latn]
> 
> \setupalign     [hanging]
> 
> \usemodule  [simplefonts][size=10pt,features=default]
> \setmainfont[Fontin]
> \setmathfont[Cambria]
> 
> \showframe
> \starttext
> \input knuth
> \stoptext
> 
> but that does not work. Any hints?

http://context.findus28.bplaced.net/viewtopic.php?pid=27#p27

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Protrusion with simplefonts
  2010-06-24 17:17 ` Wolfgang Schuster
@ 2010-06-24 17:39   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2010-06-24 17:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 24 Jun 2010, Wolfgang Schuster wrote:

> Am 24.06.2010 um 18:58 schrieb Aditya Mahajan <adityam@umich.edu>:
>
>> Hi,
>>
>> Is there a simple way to enable protrusion with simplefonts? I tried
>>
>> \definefontfeature
>>    [default][default]
>>    [protrusion=quality,expansion=quality,mode=node,script=latn]
>>
>> \setupalign     [hanging]
>>
>> \usemodule  [simplefonts][size=10pt,features=default]
>> \setmainfont[Fontin]
>> \setmathfont[Cambria]
>>
>> \showframe
>> \starttext
>> \input knuth
>> \stoptext
>>
>> but that does not work. Any hints?
>
> http://context.findus28.bplaced.net/viewtopic.php?pid=27#p27

Thanks, that works.

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-06-24 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-24 16:58 Protrusion with simplefonts Aditya Mahajan
2010-06-24 17:17 ` Wolfgang Schuster
2010-06-24 17:39   ` Aditya Mahajan

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