simplefonts not working with Debian 8.1
![](https://secure.gravatar.com/avatar/730ca73e0f6fb9551a3a0c47deb4c08d.jpg?s=120&d=mm&r=g)
Hello list, I'm having trouble getting system fonts to load with simplefont on Debian 8.1. I'm not exactly sure how to troubleshoot this issue. This worked when Debian Jessie was still 'testing' but now fails on a machine it was working on and on a fresh install. All my fonts are in ~/.fonts and Libre Office Writer can see all the fonts and fc-list shows them as well. In my document, I'm loading fonts like this: \definefontfamily [mainface] [rm] [EB Garamond] \definefontfamily[mainface][sans][Gill Sans] \setupbodyfont[mainface,11pt] \setupbodyfontenvironment[default][em=italic] The log file says: fonts > preloading modern-designsize (math) fonts > typescripts > unknown library 'modern-designsize' fonts > 'fallback modern-designsize mm 11pt' is loaded fonts > preloading modern-designsize (mono) fonts > 'fallback modern-designsize tt 11pt' is loaded 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 'mainface-11pt-rm-tf-0--0' 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 'mainface-11pt-mm-mr--3' 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 'mainface-11pt-mm-mr--2' 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 'mainface-11pt-mm-mr--1' 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 'mainface-11pt-mm-mb--3' 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 'mainface-11pt-mm-mb--2' 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 'mainface-11pt-mm-mb--1' Any direction I can take to troubleshoot this would be of great help! Thank you for your time. Best, Mica
![](https://secure.gravatar.com/avatar/730ca73e0f6fb9551a3a0c47deb4c08d.jpg?s=120&d=mm&r=g)
And after troubleshooting my shell further, something was inserting $OSFONTDIR. Everything is working now, sorry for the noise.
Best,
Mica
On June 22, 2015 12:23:35 AM PDT, Mica Semrick
Hello list,
I'm having trouble getting system fonts to load with simplefont on Debian 8.1. I'm not exactly sure how to troubleshoot this issue. This worked when Debian Jessie was still 'testing' but now fails on a machine it was working on and on a fresh install. All my fonts are in ~/.fonts and Libre Office Writer can see all the fonts and fc-list shows them as well.
In my document, I'm loading fonts like this:
\definefontfamily [mainface] [rm] [EB Garamond] \definefontfamily[mainface][sans][Gill Sans]
\setupbodyfont[mainface,11pt] \setupbodyfontenvironment[default][em=italic]
The log file says:
fonts > preloading modern-designsize (math) fonts > typescripts > unknown library 'modern-designsize' fonts > 'fallback modern-designsize mm 11pt' is loaded fonts > preloading modern-designsize (mono) fonts > 'fallback modern-designsize tt 11pt' is loaded 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 'mainface-11pt-rm-tf-0--0' 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 'mainface-11pt-mm-mr--3' 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 'mainface-11pt-mm-mr--2' 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 'mainface-11pt-mm-mr--1' 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 'mainface-11pt-mm-mb--3' 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 'mainface-11pt-mm-mb--2' 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 'mainface-11pt-mm-mb--1'
Any direction I can take to troubleshoot this would be of great help!
Thank you for your time.
Best, Mica ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (1)
-
Mica Semrick