[***SPAM***] simplefonts generating slanted font?
Hi everyone, I wanted to show the difference between italic and slanted fonts, so I have this minimal example: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella][slantedfont=fakeslanted] \definefontfeature[fakeslanted][default][slant=.25] \starttext {\sl slanted} font \stoptext But I don't get the slanted font working. What am I doing wrong here? Thanks for your help, Pablo -- http://www.oudeis.tk
Am 29.01.2012 um 13:04 schrieb Pablo Rodríguez:
Hi everyone,
I wanted to show the difference between italic and slanted fonts, so I have this minimal example:
\usemodule[simplefonts] \setmainfont[TeX Gyre Pagella][slantedfont=fakeslanted] \definefontfeature[fakeslanted][default][slant=.25] \starttext {\sl slanted} font \stoptext
But I don't get the slanted font working.
What am I doing wrong here?
Put \definefontfeature before \setmainfont and replace “slantedfont” by “slantedfeatures”. Wolfgang
On 01/29/2012 01:09 PM, Wolfgang Schuster wrote:
Am 29.01.2012 um 13:04 schrieb Pablo Rodríguez:
[...]
But I don't get the slanted font working.
What am I doing wrong here?
Put \definefontfeature before \setmainfont and replace “slantedfont” by “slantedfeatures”.
Thanks for the reply, Wolfgang. There is a minor issue, probably caused by the fact that the font already has italics. \usemodule[simplefonts] \definefontfeature[fakeslanted][default][slant=.35] \setmainfont[TeX Gyre Pagella][slantedfeatures=fakeslanted] \starttext {\sl slanted font} slanted font \stoptext I wanted the roman font to be slanted, not the italic one (which is the one that gets slanted). Is there any way to get the roman font (and not the italics) slanted? Thanks for your help, Pablo -- http://www.oudeis.tk
Am 29.01.2012 um 16:28 schrieb Pablo Rodríguez:
Is there any way to get the roman font (and not the italics) slanted?
You have to change the font for slanted because the module use a italic font when no slanted font is found. \usemodule[simplefonts] \definefontfeature[fakeslanted][default][slant=.35] \setmainfont[TeX Gyre Pagella][slantedfont={* Regular},slantedfeatures=fakeslanted] \starttext {\sl slanted font} slanted font \stoptext Wolfgang
On 01/30/2012 06:33 PM, Wolfgang Schuster wrote:
Am 29.01.2012 um 16:28 schrieb Pablo Rodríguez:
Is there any way to get the roman font (and not the italics) slanted?
You have to change the font for slanted because the module use a italic font when no slanted font is found.
Thanks for the reply, Wolfgang. Pablo -- http://www.oudeis.tk
participants (2)
-
Pablo Rodríguez
-
Wolfgang Schuster