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
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
Wolfgang Schuster
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?
Am 13.07.2008 um 12:24 schrieb Mohamed Bana:
Wolfgang Schuster
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
Wolfgang Schuster
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->&& \tf #3&\sc #3&\sl #3&\it #3&\bf #3&\bs ... ... l.21 ?
Am 13.07.2008 um 23:16 schrieb Mohamed Bana:
Wolfgang Schuster
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
participants (3)
-
abbg770@city.ac.uk
-
Mohamed Bana
-
Wolfgang Schuster