Re: [NTG-context] Vista fonts

2008-07-13 Thread 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
 
 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
___


Re: [NTG-context] Vista fonts

2008-07-13 Thread Wolfgang Schuster


type-vista.tex
Description: Binary data


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

___
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
___


Re: [NTG-context] Vista fonts

2008-07-13 Thread Wolfgang Schuster

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
___


Re: [NTG-context] Vista fonts

2008-07-13 Thread 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?

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
___


[NTG-context] Vista fonts

2008-07-12 Thread abbg770

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\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] 

Re: [NTG-context] Vista fonts

2008-07-12 Thread Wolfgang Schuster

Am 12.07.2008 um 15:50 schrieb [EMAIL PROTECTED]:

 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
___