Wolfgang Schuster schrieb:
On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf
wrote: Hi.
First of all: mkii format generation still fails here because of
[context.mkii] \loadmkiifile{core-swd}
I added the mkii suffix here to make it run. ----
Back to the subject. When using mkiv there is a problem in finding the map files of my fonts. Instead of the expanded value of \defaultencoding (here texnansi, set in cont-sys.tex) the prefix 'default' is used here.
[..] fonts : using map file: default-microsoft-arial
luaTeX warning (file default-microsoft-arial.map): cannot open font map file fonts : using map file: default-microsoft-sansserif
luaTeX warning (file default-microsoft-sansserif.map): cannot open font map file fonts : using map file: default-microsoft-trebuchet
luaTeX warning (file default-microsoft-trebuchet.map): cannot open font map file fonts : using map file: default-microsoft-tahoma
luaTeX warning (file default-microsoft-tahoma.map): cannot open font map file ----
Mkii works fine with these fonts (TTF). I made a small test file, but I'm not sure if the font is choosen wisely (T1). Anyhow, it shows the way how I use the upper named fonts in my macros.
You should write new typescripts/files for MkIV because you could use Truetype fonts without map and tfm files.
Yes, this works and is also faster. But now I have a different positioning (text baseline is too low, plus bigger interline spacing), caused by a too big strut height. A direct font switch like \TestFont doesn't change the strut height nor the interline spacing. So I always add \TestFont\setstrut\setupinterlinespace after each font switch. Doesn't work anymore in mkiv. More code to adapt?
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 ___________________________________________________________________________________