Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install a font #1

Closed
fmaussion opened this issue Oct 6, 2018 · 5 comments
Closed

Install a font #1

fmaussion opened this issue Oct 6, 2018 · 5 comments

Comments

@fmaussion
Copy link
Member

It's not a big deal, but I didn't manage to install a font properly.

I am running this postbuild:

oggm-edu/postBuild

Lines 5 to 8 in 0e5729f

mkdir ~/.fonts
wget http://antiyawn.com/uploads/Humor-Sans-1.0.ttf
mv Humor-Sans-1.0.ttf ~/.fonts/Humor-Sans-1.0.ttf
fc-cache -fv -y ~/.fonts

But the build errors with:

Fontconfig error: Cannot load default config file

@TimoRoth if ever you happen to know what to do I'd be interested - not very important though.

@fmaussion
Copy link
Member Author

To debug the Docker builds we could do this locally: https://github.com/jupyter/repo2docker

(but it's really not the most important issue ;-)

@nchampollion
Copy link
Member

I know it was just to warm up a little bit ! However, it's solved in my laptop ... maybe someone else should test it.

@fmaussion
Copy link
Member Author

Yes, locally it works - the issue is about installing a font on a docker container so that binder can use it.

To be honest I think only @TimoRoth can solve this ;-)

@nchampollion
Copy link
Member

I see ! Indeed, we need rescue from @TimoRoth :-)

@fmaussion
Copy link
Member Author

This now works nicely ;-)

Binder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants