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

Cyrillic text does not render #137

Open
vadim-shadrin opened this issue Nov 21, 2022 · 1 comment
Open

Cyrillic text does not render #137

vadim-shadrin opened this issue Nov 21, 2022 · 1 comment

Comments

@vadim-shadrin
Copy link

No description provided.

@SLenik
Copy link

SLenik commented Mar 10, 2023

Hello!

I had the same error.

You need to build your own docker image based on mkdocs image with mkdocs-with-pdf plugin but with cyrillic fonts. I use ttf-ubuntu-font-family.

Here is an example of my Dockerfile

FROM squidfunk/mkdocs-material

RUN apk add --no-cache build-base ttf-ubuntu-font-family \
  && apk add --no-cache --virtual libffi-dev-3.2.1-r6 zlib-dev libwebp-dev jpeg-dev harfbuzz-dev fribidi-dev freetype-dev cairo-dev musl-dev pango-dev gdk-pixbuf-dev \
  && pip install mkdocs-with-pdf

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