ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* slanted and extended fonts in XeTeX
@ 2007-10-18 16:43 Mojca Miklavec
  0 siblings, 0 replies; only message in thread
From: Mojca Miklavec @ 2007-10-18 16:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

To all XeTeX enthusiasts,

I have just figured out (after Jonathan's post on the XeTeX mailing
list) that the new XeTeX supports some interesting features. You can
check it out (it might be that it only works with ConTeXt 2007.09.28
and XeTeX 0.997):

\definefontfeature
   [slantedandextended]
    % cloned from the rest of XeTeX, not really needed
   [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,
    slant=0.25,extend=1.5]
\definefontsynonym
   [myfont]
   [file:texgyrepagella-regular][features=slantedandextended]

\starttext
\definedfont[myfont] This is slanted and extended
\stoptext

This specific font doesn't need that feature, but there might be others :)

Mojca
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-18 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-18 16:43 slanted and extended fonts in XeTeX Mojca Miklavec

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