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

Use font with full Unicode support for PDFs #40

Closed
ajaust opened this issue Nov 17, 2021 · 1 comment · Fixed by #203
Closed

Use font with full Unicode support for PDFs #40

ajaust opened this issue Nov 17, 2021 · 1 comment · Fixed by #203
Assignees

Comments

@ajaust
Copy link
Member

ajaust commented Nov 17, 2021

I have changed the PDF engine for the PDF creation to xelatex in a recent commit (bca7c3c). This was necessary to allow for the compilation of the building-and-packaging/material/packaging_python_slides.md where special characters are used in code blocks. Now, the PDFs can be created, but many of the special characters do not appear in the created PDFs. The issue is that the standard LaTeX font used does not include all Unicode characters. Therefore, we see also some warnings during the PDF creation as:

Warning:  Missing character: There is no └ (U+2514) (U+2514) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ─ (U+2500) (U+2500) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ─ (U+2500) (U+2500) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no └ (U+2514) (U+2514) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ─ (U+2500) (U+2500) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ─ (U+2500) (U+2500) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ├ (U+251C) (U+251C) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ─ (U+2500) (U+2500) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no ─ (U+2500) (U+2500) in font [lmsans12-regular]:mapping=te
Warning:  Missing character: There is no └ (U+2514) (U+2514) in font [lmsans12-regular]:mapping=te

We should move to another font that has full Unicode support or at least supports the missing characters. Maybe we could/should fix this together with #39.

@uekerman uekerman added the help wanted Extra attention is needed label Oct 29, 2024
@uekerman
Copy link
Member

Maybe a simpler strategy would be to simply remove these "tree" symbols and use normal lists instead.

@uekerman uekerman removed the help wanted Extra attention is needed label Oct 29, 2024
@IshaanDesai IshaanDesai linked a pull request Nov 12, 2024 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

3 participants