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

vips text renders as a tofu in Alpine Linux #4

Closed
Nakilon opened this issue Apr 9, 2020 · 2 comments
Closed

vips text renders as a tofu in Alpine Linux #4

Nakilon opened this issue Apr 9, 2020 · 2 comments

Comments

@Nakilon
Copy link

Nakilon commented Apr 9, 2020

See felixbuenemann/vips-alpine#3 (comment)
Since the problem also appears even when based on the Dockerfile from this repo I decided to create the Issue here.

@jcupitt
Copy link
Owner

jcupitt commented Apr 9, 2020

Tofu means fontconfig couldn't find a font that satisfied the requirements.

It looks like alpine does not install any fonts by default. I added this and it seems to work:

RUN apk add \
        pango-dev \
        msttcorefonts-installer
RUN update-ms-fonts \
        && fc-cache -f

jcupitt added a commit that referenced this issue Apr 9, 2020
@Nakilon
Copy link
Author

Nakilon commented Apr 9, 2020

Thank you!

@Nakilon Nakilon closed this as completed Apr 9, 2020
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