ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Vista fonts
@ 2008-07-12 13:50 abbg770
  2008-07-12 14:07 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: abbg770 @ 2008-07-12 13:50 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

Hi,

Anyone managed to get Vista fonts working? 
http://schuster.wolfgang.googlepages.com/files doesn't seem to support 
small caps, old style numerals etc. The source is attached and the sample 
is at http://vega.soi.city.ac.uk/~abbg770/cambria-test.pdf (158 kb).

I fonts were simply copied over from my vista install to my ~/.fonts; 
there's a total of 24 fonts. Notice the .ttc files :|, and why do I have to 
copy the fonts over to my current working directory just so that LuaTeX can 
detect them?

tree
.
|-- Candara.ttf
|-- Candarab.ttf
|-- Candarai.ttf
|-- Candaraz.ttf
|-- calibri.ttf
|-- calibrib.ttf
|-- calibrii.ttf
|-- calibriz.ttf
|-- cambria.ttc
|-- cambriab.ttf
|-- cambriai.ttf
|-- cambriaz.ttf
|-- consola.ttf
|-- consolab.ttf
|-- consolai.ttf
|-- consolaz.ttf
|-- constan.ttf
|-- constanb.ttf
|-- constani.ttf
|-- constanz.ttf
|-- corbel.ttf
|-- corbelb.ttf
|-- corbeli.ttf
`-- corbelz.ttf

0 directories, 24 files


For those who have succeeded creating a wiki page will help alot.

-- 
Thanks alot
Mohamed Bana

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: type-vista.tex --]
[-- Type: text/x-tex; name=type-vista.tex, Size: 6721 bytes --]

\starttypescriptcollection[vista]

\starttypescript [serif] [cambria,constantia]

  \definefontsynonym [Serif]                [\typescripttwo-Regular]    [features=default]
  \definefontsynonym [SerifBold]            [\typescripttwo-Bold]       [features=default]
  \definefontsynonym [SerifItalic]          [\typescripttwo-Italic]     [features=default]
  \definefontsynonym [SerifSlanted]         [\typescripttwo-Italic]     [features=default]
  \definefontsynonym [SerifBoldItalic]      [\typescripttwo-BoldItalic] [features=default]
  \definefontsynonym [SerifBoldSlanted]     [\typescripttwo-BoldItalic] [features=default]

  \definefontvariant [Serif][osf][OsF]
  \definefontvariant [Serif][sc] [Caps]

  \definefontsynonym [SerifRegularOsF]      [\typescripttwo-Regular]    [features=oldstyle]
  \definefontsynonym [SerifBoldOsF]         [\typescripttwo-Bold]       [features=oldstyle]
  \definefontsynonym [SerifItalicOsF]       [\typescripttwo-Italic]     [features=oldstyle]
  \definefontsynonym [SerifSlantedOsF]      [\typescripttwo-Italic]     [features=oldstyle]
  \definefontsynonym [SerifBoldItalicOsF]   [\typescripttwo-BoldItalic] [features=oldstyle]
  \definefontsynonym [SerifBoldSlantedOsF]  [\typescripttwo-BoldItalic] [features=oldstyle]

  \definefontsynonym [SerifRegularCaps]     [\typescripttwo-Regular]    [features=smallcaps]
  \definefontsynonym [SerifBoldCaps]        [\typescripttwo-Bold]       [features=smallcaps]
  \definefontsynonym [SerifItalicCaps]      [\typescripttwo-Italic]     [features=smallcaps]
  \definefontsynonym [SerifSlantedCaps]     [\typescripttwo-Italic]     [features=smallcaps]
  \definefontsynonym [SerifBoldItalicCaps]  [\typescripttwo-BoldItalic] [features=smallcaps]
  \definefontsynonym [SerifBoldSlantedCaps] [\typescripttwo-BoldItalic] [features=smallcaps]

\stoptypescript

\starttypescript [sans] [calibri,candara,corbel]

  \definefontsynonym [Sans]                [\typescripttwo-Regular]    [features=default]
  \definefontsynonym [SansBold]            [\typescripttwo-Bold]       [features=default]
  \definefontsynonym [SansItalic]          [\typescripttwo-Italic]     [features=default]
  \definefontsynonym [SansSlanted]         [\typescripttwo-Italic]     [features=default]
  \definefontsynonym [SansBoldItalic]      [\typescripttwo-BoldItalic] [features=default]
  \definefontsynonym [SansBoldSlanted]     [\typescripttwo-BoldItalic] [features=default]

  \definefontvariant [Sans][osf][OsF]
  \definefontvariant [Sans][sc] [Caps]

  \definefontsynonym [SansRegularOsF]      [\typescripttwo-Regular]    [features=oldstyle]
  \definefontsynonym [SansBoldOsF]         [\typescripttwo-Bold]       [features=oldstyle]
  \definefontsynonym [SansItalicOsF]       [\typescripttwo-Italic]     [features=oldstyle]
  \definefontsynonym [SansSlantedOsF]      [\typescripttwo-Italic]     [features=oldstyle]
  \definefontsynonym [SansBoldItalicOsF]   [\typescripttwo-BoldItalic] [features=oldstyle]
  \definefontsynonym [SansBoldSlantedOsF]  [\typescripttwo-BoldItalic] [features=oldstyle]

  \definefontsynonym [SansRegularCaps]     [\typescripttwo-Regular]    [features=smallcaps]
  \definefontsynonym [SansBoldCaps]        [\typescripttwo-Bold]       [features=smallcaps]
  \definefontsynonym [SansItalicCaps]      [\typescripttwo-Italic]     [features=smallcaps]
  \definefontsynonym [SansSlantedCaps]     [\typescripttwo-Italic]     [features=smallcaps]
  \definefontsynonym [SansBoldItalicCaps]  [\typescripttwo-BoldItalic] [features=smallcaps]
  \definefontsynonym [SansBoldSlantedCaps] [\typescripttwo-BoldItalic] [features=smallcaps]

\stoptypescript

\starttypescript [mono] [consolas]

  \definefontsynonym [Mono]                [\typescripttwo-Regular]    [features=default]
  \definefontsynonym [MonoBold]            [\typescripttwo-Bold]       [features=default]
  \definefontsynonym [MonoItalic]          [\typescripttwo-Italic]     [features=default]
  \definefontsynonym [MonoSlanted]         [\typescripttwo-Italic]     [features=default]
  \definefontsynonym [MonoBoldItalic]      [\typescripttwo-BoldItalic] [features=default]
  \definefontsynonym [MonoBoldSlanted]     [\typescripttwo-BoldItalic] [features=default]

  \definefontvariant [Mono][osf][OsF]

  \definefontsynonym [MonoRegularOsF]      [\typescripttwo-Regular]    [features=oldstyle]
  \definefontsynonym [MonoBoldOsF]         [\typescripttwo-Bold]       [features=oldstyle]
  \definefontsynonym [MonoItalicOsF]       [\typescripttwo-Italic]     [features=oldstyle]
  \definefontsynonym [MonoSlantedOsF]      [\typescripttwo-Italic]     [features=oldstyle]
  \definefontsynonym [MonoBoldItalicOsF]   [\typescripttwo-BoldItalic] [features=oldstyle]
  \definefontsynonym [MonoBoldSlantedOsF]  [\typescripttwo-BoldItalic] [features=oldstyle]

\stoptypescript

\definetypescriptprefix [f:cambria]    [CAMBRIA]
\definetypescriptprefix [f:constantia] [CONSTAN]
\definetypescriptprefix [f:calibri]    [CALIBRI]
\definetypescriptprefix [f:candara]    [CANDARA]
\definetypescriptprefix [f:corbel]     [CORBEL]
\definetypescriptprefix [f:consolas]   [CONSOLA]

\starttypescript [serif] [cambria,constantia]

  \definefontsynonym [\typescripttwo-Regular]    [\typescriptprefix{f:\typescripttwo}]  [features=default]
  \definefontsynonym [\typescripttwo-Bold]       [\typescriptprefix{f:\typescripttwo}B] [features=default]
  \definefontsynonym [\typescripttwo-Italic]     [\typescriptprefix{f:\typescripttwo}I] [features=default]
  \definefontsynonym [\typescripttwo-BoldItalic] [\typescriptprefix{f:\typescripttwo}Z] [features=default]

\stoptypescript

\starttypescript [sans] [calibri,candara,corbel]

  \definefontsynonym [\typescripttwo-Regular]    [\typescriptprefix{f:\typescripttwo}]  [features=default]
  \definefontsynonym [\typescripttwo-Bold]       [\typescriptprefix{f:\typescripttwo}B] [features=default]
  \definefontsynonym [\typescripttwo-Italic]     [\typescriptprefix{f:\typescripttwo}I] [features=default]
  \definefontsynonym [\typescripttwo-BoldItalic] [\typescriptprefix{f:\typescripttwo}Z] [features=default]

\stoptypescript

\starttypescript [mono] [consolas]

  \definefontsynonym [\typescripttwo-Regular]    [\typescriptprefix{f:\typescripttwo}]  [features=default]
  \definefontsynonym [\typescripttwo-Bold]       [\typescriptprefix{f:\typescripttwo}B] [features=default]
  \definefontsynonym [\typescripttwo-Italic]     [\typescriptprefix{f:\typescripttwo}I] [features=default]
  \definefontsynonym [\typescripttwo-BoldItalic] [\typescriptprefix{f:\typescripttwo}Z] [features=default]

\stoptypescript

\stoptypescriptcollection

\endinput

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: cambria-test.tex --]
[-- Type: text/x-tex; name=cambria-test.tex, Size: 1239 bytes --]

\usetypescriptfile[type-vista]

\definetypeface [cambria] [rm] [serif] [cambria] [default]

\setupbodyfont[cambria,11pt]

\starttext

\chapter{beginning}
{\rm Text Va ffi ffi fi fl {\Var[sc] ABC abc} {\Var[osf] 123}123}

{\bf Text Va ffi ffi fi fl {\Var[sc] ABC abc} {\Var[osf] 123}123}

{\it Text Va ffi ffi fi fl {\Var[sc] ABC abc} {\Var[osf] 123}123}

{\bi Text Va ffi ffi fi fl {\Var[sc] ABC abc} {\Var[osf] 123}123}

\chapter{body--font}
\showbodyfont

as shown above the body---font is kind of like a body--font and body-font.
\startlines
body---font
body--font
body-font
body||font

1---3
1--3
1-3
1||3
\stoplines

\chapter{Knuth}
   \dorecurse{12}
     {\rm\input knuth\par}

\chapter{Tufte}
   \dorecurse{12}
     {\ss\input tufte\par}

\chapter{Zapf}
   \dorecurse{12}
     {\it\input zapf\par}

\chapter{Knuth}
   \dorecurse{12}
     {\bf\input knuth\par}

\chapter{Tufte}
   \dorecurse{12}
     {\bi\input tufte\par}

\chapter{Zapf}
   \dorecurse{12}
     {\sl\input zapf\par}

\dorecurse{4}
  {\chapter{Knuth}
   \dorecurse{12}
     {\bs\input knuth\par}}

\chapter{Tufte}
   \dorecurse{12}
     {\sc\input tufte\par}

\dorecurse{4}
  {\chapter{Zapf}
   \dorecurse{12}
     {\bf\sc\input zapf\par}}

\stoptext

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

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

* Re: Vista fonts
  2008-07-12 13:50 Vista fonts abbg770
@ 2008-07-12 14:07 ` Wolfgang Schuster
  2008-07-13 10:24   ` Mohamed Bana
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-07-12 14:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 12.07.2008 um 15:50 schrieb abbg770@city.ac.uk:

> Hi,
>
> Anyone managed to get Vista fonts working? http://schuster.wolfgang.googlepages.com/files 
>  doesn't seem to support small caps, old style numerals etc. The  
> source is attached and the sample is at http://vega.soi.city.ac.uk/~abbg770/cambria-test.pdf 
>  (158 kb).

Smallcaps, Oldstyle etc. work but you have to define your own feature,  
see http://archive.contextgarden.net/message/20080430.080017.b6737f70.en.html

> I fonts were simply copied over from my vista install to my  
> ~/.fonts; there's a total of 24 fonts. Notice the .ttc files :|, and  
> why do I have to copy the fonts over to my current working directory  
> just so that LuaTeX can detect them?

What's your ConTeXt and LuaTeX versions.

Have your tried "mtxrun --script fonts--reload"
-> http://wiki.contextgarden.net/Running_Mark_IV#Font_name_database

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


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

* Re: Vista fonts
  2008-07-12 14:07 ` Wolfgang Schuster
@ 2008-07-13 10:24   ` Mohamed Bana
  2008-07-13 11:33     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Mohamed Bana @ 2008-07-13 10:24 UTC (permalink / raw)
  To: ntg-context

Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:

> 
> What's your ConTeXt and LuaTeX versions.
> 
> Have your tried "mtxrun --script fonts--reload"
> -> http://wiki.contextgarden.net/Running_Mark_IV#Font_name_database
> 
> Regards,
> Wolfgang
> 
> 

Hi,

Are you going to update your archive?



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

* Re: Vista fonts
  2008-07-13 10:24   ` Mohamed Bana
@ 2008-07-13 11:33     ` Wolfgang Schuster
  2008-07-13 21:16       ` Mohamed Bana
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-07-13 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: type-vista.tex --]
[-- Type: application/octet-stream, Size: 4871 bytes --]

%D \module
%D   [       file=type-vista,
%D        version=2008.06.08,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Vista Font Definitions,
%D         author=Wolfgang Schuster,
%D           date=\currentdate,
%D      copyright=Wolfgang Schuster]

\definefontfeature[latin-default]  [default]  [script=latn]
\definefontfeature[latin-smallcaps][smallcaps][script=latn]
\definefontfeature[latin-oldstyle] [oldstyle] [script=latn]

\starttypescriptcollection[vista]

\starttypescript [serif] [cambria,constantia]
  \setups[font:fallback:serif]
  \definefontsynonym [Serif]           [\typescripttwo-Regular]    [features=latin-default]
  \definefontsynonym [SerifBold]       [\typescripttwo-Bold]       [features=latin-default]
  \definefontsynonym [SerifItalic]     [\typescripttwo-Italic]     [features=latin-default]
  \definefontsynonym [SerifBoldItalic] [\typescripttwo-BoldItalic] [features=latin-default]
  \definefontsynonym [SerifCaps]       [Serif]                     [features=latin-smallcaps]
\stoptypescript

\starttypescript [sans] [calibri,candara,corbel]
  \setups[font:fallback:sans]
  \definefontsynonym [Sans]           [\typescripttwo-Regular]    [features=latin-default]
  \definefontsynonym [SansBold]       [\typescripttwo-Bold]       [features=latin-default]
  \definefontsynonym [SansItalic]     [\typescripttwo-Italic]     [features=latin-default]
  \definefontsynonym [SansBoldItalic] [\typescripttwo-BoldItalic] [features=latin-default]
  \definefontsynonym [SansCaps]       [Sans]                      [features=latin-smallcaps]
\stoptypescript

\starttypescript [mono] [consolas]
  \setups[font:fallback:mono]
  \definefontsynonym [Mono]           [\typescripttwo-Regular]    [features=latin-default]
  \definefontsynonym [MonoBold]       [\typescripttwo-Bold]       [features=latin-default]
  \definefontsynonym [MonoItalic]     [\typescripttwo-Italic]     [features=latin-default]
  \definefontsynonym [MonoBoldItalic] [\typescripttwo-BoldItalic] [features=latin-default]
\stoptypescript

\definetypescriptprefix [f:cambria]    [CAMBRIA]
\definetypescriptprefix [f:constantia] [CONSTAN]
\definetypescriptprefix [f:calibri]    [CALIBRI]
\definetypescriptprefix [f:candara]    [CANDARA]
\definetypescriptprefix [f:corbel]     [CORBEL]
\definetypescriptprefix [f:consolas]   [CONSOLA]

\starttypescript [serif] [cambria,constantia]
  \definefontsynonym [\typescripttwo-Regular]    [file:\typescriptprefix{f:\typescripttwo}]  [features=latin-default]
  \definefontsynonym [\typescripttwo-Bold]       [file:\typescriptprefix{f:\typescripttwo}B] [features=latin-default]
  \definefontsynonym [\typescripttwo-Italic]     [file:\typescriptprefix{f:\typescripttwo}I] [features=latin-default]
  \definefontsynonym [\typescripttwo-BoldItalic] [file:\typescriptprefix{f:\typescripttwo}Z] [features=latin-default]
\stoptypescript

\starttypescript [sans] [calibri,candara,corbel]
  \definefontsynonym [\typescripttwo-Regular]    [file:\typescriptprefix{f:\typescripttwo}]  [features=latin-default]
  \definefontsynonym [\typescripttwo-Bold]       [file:\typescriptprefix{f:\typescripttwo}B] [features=latin-default]
  \definefontsynonym [\typescripttwo-Italic]     [file:\typescriptprefix{f:\typescripttwo}I] [features=latin-default]
  \definefontsynonym [\typescripttwo-BoldItalic] [file:\typescriptprefix{f:\typescripttwo}Z] [features=latin-default]
\stoptypescript

\starttypescript [mono] [consolas]
  \definefontsynonym [\typescripttwo-Regular]    [file:\typescriptprefix{f:\typescripttwo}]  [features=latin-default]
  \definefontsynonym [\typescripttwo-Bold]       [file:\typescriptprefix{f:\typescripttwo}B] [features=latin-default]
  \definefontsynonym [\typescripttwo-Italic]     [file:\typescriptprefix{f:\typescripttwo}I] [features=latin-default]
  \definefontsynonym [\typescripttwo-BoldItalic] [file:\typescriptprefix{f:\typescripttwo}Z] [features=latin-default]
\stoptypescript

\starttypescript [cambria]
  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]
\stoptypescript

\starttypescript [constantia]
  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]
\stoptypescript

\starttypescript [calibri]
  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]
\stoptypescript

\starttypescript [candara]
  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]
\stoptypescript

\starttypescript [corbel]
  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]
\stoptypescript

\starttypescript [consolas]
  \definetypeface [\typescriptone] [tt] [mono] [\typescriptone] [default]
\stoptypescript

\stoptypescriptcollection

\endinput

[-- Attachment #2: Type: text/plain, Size: 389 bytes --]


Am 13.07.2008 um 12:24 schrieb Mohamed Bana:

> Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:
>
>>
>> What's your ConTeXt and LuaTeX versions.
>>
>> Have your tried "mtxrun --script fonts--reload"
>> -> http://wiki.contextgarden.net/Running_Mark_IV#Font_name_database
>>
>
> Hi,
>
> Are you going to update your archive?

Use the attached version.

Regards,
Wolfgang


[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

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

* Re: Vista fonts
  2008-07-13 11:33     ` Wolfgang Schuster
@ 2008-07-13 21:16       ` Mohamed Bana
  2008-07-13 21:29         ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Mohamed Bana @ 2008-07-13 21:16 UTC (permalink / raw)
  To: ntg-context

Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:

> 
> Use the attached version.
> 
> Regards,
> Wolfgang
> 

Fantastic, everything but Candara is working.  Btw have you managed to install
anyone of the new C fonts (constantia, consola etc) with TeXFont?

usage;

\usetypescriptfile[type-vista]



\definetypeface [constantia] [rm] [serif] [constantia] [default]

\definetypeface [constantia] [ss] [sans] [candara] [default]

\setupbodyfont	[constantia,11pt]

and the error;

error >> define font: font with name CANDARA is not found
error >> define font: unknown font CANDARA, loading aborted
! Font \*constantia11ptsstfss*:=file:CANDARA*latin-default at 11pt not loadable:
metric data not found or bad.
<to be read again> 
                   \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
                                                  \let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname 
                                                  \tryingfontfalse \fi 
<inserted text> ...yle \fontalternative \fontsize 
                                                  \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies 
                                                  \relax \fi \iftryingfont \...
\next #1#2#3->&&#1&&#2
                      \tf #3&&#2\sc #3&&#2\sl #3&&#2\it #3&&#2\bf #3&&#2\bs ...
...
l.21 
     
? 


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

* Re: Vista fonts
  2008-07-13 21:16       ` Mohamed Bana
@ 2008-07-13 21:29         ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2008-07-13 21:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 13.07.2008 um 23:16 schrieb Mohamed Bana:

> Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:
>
>>
>> Use the attached version.
>>
>> Regards,
>> Wolfgang
>>
>
> Fantastic, everything but Candara is working.  Btw have you managed  
> to install
> anyone of the new C fonts (constantia, consola etc) with TeXFont?

You don't need TeXFont to use the fonts with XeTeX or LuaTeX.  
Everything you
have to do is to put the fonts in your TeX tree or in the OS font  
directory.

> usage;
>
> \usetypescriptfile[type-vista]
>
>
>
> \definetypeface [constantia] [rm] [serif] [constantia] [default]
>
> \definetypeface [constantia] [ss] [sans] [candara] [default]
>
> \setupbodyfont	[constantia,11pt]

This is my test file:

\usetypefile  [vista]
\usetypescript[candara]
\setupbodyfont[candara]

\def\sc{\setfontfeature{latin-smallcaps}}
\def\os{\setfontfeature{latin-oldstyle}}

\starttext

\ss Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123

\bf Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123

\it Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123

\bi Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123

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


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

end of thread, other threads:[~2008-07-13 21:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-12 13:50 Vista fonts abbg770
2008-07-12 14:07 ` Wolfgang Schuster
2008-07-13 10:24   ` Mohamed Bana
2008-07-13 11:33     ` Wolfgang Schuster
2008-07-13 21:16       ` Mohamed Bana
2008-07-13 21:29         ` Wolfgang Schuster

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