Am 05.11.2011 um 17:34 schrieb Jan Heinen:
Regenerate the font database with “mtxrun --script font --reload” and try it again.
That was not successful.
However, I changed your code a bit and now it seems ok:
When I use: \definedfont[name:allerlight*default at 36pt]
instead of: \definedfont[file:allerlt*default at 36pt]
then it works. Changed: file: -> name: allerlt -> allerlight
When “file:allerlt” doesn’t work your fonts have a different filename than mine. What output on the command line do you get? keima:TeX wolf$ mtxrun --script font --list --all aller* aller aller /Users/wolf/Library/Fonts/Aller_Rg.ttf allerbold allerbold /Users/wolf/Library/Fonts/Aller_Bd.ttf allerbolditalic allerbolditalic /Users/wolf/Library/Fonts/Aller_BdIt.ttf allerdisplay allerdisplay /Users/wolf/Library/Fonts/AllerDisplay.ttf allerdisplaynormal allerdisplay /Users/wolf/Library/Fonts/AllerDisplay.ttf alleritalic alleritalic /Users/wolf/Library/Fonts/Aller_It.ttf allerlight allerlight /Users/wolf/Library/Fonts/Aller_Lt.ttf allerlightitalic allerlightitalic /Users/wolf/Library/Fonts/Aller_LtIt.ttf allerlightlight allerlight /Users/wolf/Library/Fonts/Aller_Lt.ttf allernormal alleritalic /Users/wolf/Library/Fonts/Aller_It.ttf
Do I still use "type-aller"? Or did I destroy the connection to the typescript with my changes?
\definefont and \definedfont don’t use the typescript but context’s database where all recognized fonts are listed. A typescript is simple spoken a list where you specify which file should be used for the regular, italic or bold alternative and with a typescript file these settings are available as module which can be reused for different document without putting the code in each document, all you need is a referenced to the file.
Maybe important? The "aller"-files are ttf not otf.
Both versions I found are also in truetype format but it doesn’t matter which format the fonts have because context supports both and a truetype font can be also a opentype font. Wolfgang