Dear Contexters,
Since yesterday I have a font-problem. Until yesterday this would work perfectly:
\usemodule[simplefonts][size=10pt] %voor mkiv
\setmainfont[dejavuserif] %voor simplefonts
The system fonts worked too. Yesterday I wanted to make a presentation with simpleslides. The fonts did not work. Then I tried complexslides. The modules work fine, the fonts do not. I then updated to the latest bèta: luatools — generate, context —generate, etc. No improvement.
Through mtxrun —script fonts I can see which fonts are accessible to Context. There things are probably going wrong, yet I do not know what. It appears that Context does not find the local fonts, and the system fonts only partially.
I work on OS X, Context versie: 2017.04.27 01:00
/Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
Adjustments of texmf.cnf:
/Applications/ContextStandalone/tex/texmf/web2c/texmf.cnf
OSFONTDIR =.;~/Library/Fonts//;/System/Library/Fonts
Thank you on beforehand for your help. It is much appreciated.
Robert
Snippets from the log file:
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
fonts > names > font database has mismatching configuration and file hashes
fonts > names > unable to access database cache
simplefonts > font ''fontin'' not found
simplefonts > font ''fontin'' not found
[many identical lines]
fonts > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts > defining > unknown font 'unknown', loading aborted
fonts > defining > unable to define 'unknown' as 'simplefonts:1-9pt-rm-tf-0--0'
fonts > otf loading > loading
—> some of the otf files are being found:
'/Applications/ContextStandalone/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf', hash 'latinmodern-math'
fonts > otf loading > loading done
fonts > otf loading > file size: 733500
fonts > otf loading > missing specification
[many identical lines]
fonts > otf loading > loading, optimizing, packing and caching time 0.248, pack time 0.045
simplefonts > font ''delicious'' not found
simplefonts > font ''delicious'' not found
[many identical lines]
fonts > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts > defining > unknown font 'unknown', loading aborted
fonts > defining > unable to define 'unknown' as 'simplefonts:2-9pt-rm-tf-0–0'
close source > level 5, order 10, name '/Applications/ContextStandalone/tex/texmf-context/tex/context/fonts/mkiv/type-imp-euler.mkiv'
fonts > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts > defining > unknown font 'unknown', loading aborted
fonts > defining > unable to define 'unknown' as 'simplefonts:4-9pt-rm-tf-0--0'
close source > level 6, order 10, name '/Applications/ContextStandalone/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source > level 5, order 10, name '/Applications/ContextStandalone/tex/texmf-context/tex/context/fonts/mkiv/type-imp-euler.mkiv'
fonts > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts > defining > unknown font 'unknown', loading aborted
[snippet]
Overfull \hbox (23.24092pt too wide) in paragraph at lines 10--14
[This text is then printed in the pdf:]
[][Serif][DefaultFont][fallbacks=mainfontregularfallbacks,features=mainfontregularfeatures][SerifItalic][DefaultFont][fallbacks=mainfontitalicfallbacks,features=mainfontitalicfeatures][SerifSlanted][DefaultFont][fallbacks=mainfontslantedfallbacks,features=mainfontslantedfeatures][SerifBold][DefaultFont][fallbacks=mainfontboldfallbacks,features=mainfontboldfeatures][SerifBoldItalic][DefaultFont]
identifier familyname fontname filename subfont instances
fontinsmallcaps fontinsmallcaps fontinsmallcaps Fontin-SmallCaps.otf
Yet other fonts from the Fontine are installed system-wide (found by fc-list):
/Users/mac/Library/Fonts/Fontin-Regular.ttf: Fontin:style=Regular
/Users/mac/Library/Fonts/Fontin-Bold.ttf: Fontin:style=Bold
/Users/mac/Library/Fonts/Fontin-SmallCaps.ttf: Fontin SmallCaps:style=SmallCaps
/Users/mac/Library/Fonts/Fontin-Italic.ttf: Fontin:style=Italic
The same fonts I placed in my local installation: Applications/ContextStandalone/tex/texmf-local/fonts/public/fontin/otf/Fontin-Bold.otf
Fontin-Italic.otf
Fontin-Regular.otf
Fontin-SmallCaps.otf