Re: [NTG-context] Font protrusion and expansion
On 11/7/20 9:51 PM, Tommaso Gordini wrote: > Thanks Hans and thanks Pablo. So, \usetypescript is not needed? Hi Tommaso, I never used (or needed) any typescript. But I think they aren’t needed anymore with \definefontfamily and \definefallbackfamily. 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 ___
Re: [NTG-context] Font protrusion and expansion
Thanks Hans and thanks Pablo. So, \usetypescript is not needed? Tommaso Il sab 7 nov 2020, 21:24 Pablo Rodriguez ha scritto: > On 11/7/20 7:54 PM, Tommaso Gordini wrote: > > Hello to all. > > > > I am writing to you just to know if the following code, with which I > > would like to activate the protrusion and expansion of characters in my > > document, is correct. Is the command order okay? > > > > If I wanted to use another font, are there other things to write? > > Hi Tommaso, > > in the next sample, replace TeX Gyre Pagella with the font family name > and it will work fine: > > \definefontfeature > [default] > [default] > [expansion=quality,protrusion=quality] > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \setupbodyfont[mainface] > \setupalign[hz,hanging] > \starttext > \input{zapf} > \stoptext > > 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 > > ___ > ___ 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 ___
Re: [NTG-context] Font protrusion and expansion
On 11/7/20 7:54 PM, Tommaso Gordini wrote: > Hello to all. > > I am writing to you just to know if the following code, with which I > would like to activate the protrusion and expansion of characters in my > document, is correct. Is the command order okay? > > If I wanted to use another font, are there other things to write? Hi Tommaso, in the next sample, replace TeX Gyre Pagella with the font family name and it will work fine: \definefontfeature [default] [default] [expansion=quality,protrusion=quality] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface] \setupalign[hz,hanging] \starttext \input{zapf} \stoptext 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 ___