ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] simplefonts generating slanted font?
@ 2012-01-29 12:04 Pablo Rodríguez
  2012-01-29 12:09 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodríguez @ 2012-01-29 12:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 5+ messages in thread

* Re: [***SPAM***] simplefonts generating slanted font?
  2012-01-29 12:04 [***SPAM***] simplefonts generating slanted font? Pablo Rodríguez
@ 2012-01-29 12:09 ` Wolfgang Schuster
  2012-01-29 15:28   ` Pablo Rodríguez
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-01-29 12:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________
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] 5+ messages in thread

* Re: simplefonts generating slanted font?
  2012-01-29 12:09 ` Wolfgang Schuster
@ 2012-01-29 15:28   ` Pablo Rodríguez
  2012-01-30 17:33     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodríguez @ 2012-01-29 15:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 5+ messages in thread

* Re: simplefonts generating slanted font?
  2012-01-29 15:28   ` Pablo Rodríguez
@ 2012-01-30 17:33     ` Wolfgang Schuster
  2012-01-30 18:01       ` Pablo Rodríguez
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-01-30 17:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________
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] 5+ messages in thread

* Re: simplefonts generating slanted font?
  2012-01-30 17:33     ` Wolfgang Schuster
@ 2012-01-30 18:01       ` Pablo Rodríguez
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodríguez @ 2012-01-30 18:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2012-01-30 18:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-29 12:04 [***SPAM***] simplefonts generating slanted font? Pablo Rodríguez
2012-01-29 12:09 ` Wolfgang Schuster
2012-01-29 15:28   ` Pablo Rodríguez
2012-01-30 17:33     ` Wolfgang Schuster
2012-01-30 18:01       ` Pablo Rodríguez

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