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

[pdfLatex] Missing character in font cmr10 #26

Open
VVill-ga opened this issue Jan 2, 2024 · 4 comments
Open

[pdfLatex] Missing character in font cmr10 #26

VVill-ga opened this issue Jan 2, 2024 · 4 comments

Comments

@VVill-ga
Copy link

VVill-ga commented Jan 2, 2024

I am using pandoc with the pdfTex TexLive renderer to compile from mixed markdown/LaTeX to pdf, and it looks like LaTeX is using the wrong font trying to display the icons. I have tried adding \pdfmapfile{+simpleicons.map} to the header as per the documentation, but that does not help.

My document is very simple, so I will paste it, as well as the terminal output below:

---
header-includes:
    - \usepackage{simpleicons}
    - \pdfmapfile{+simpleicons.map}
---

Testing: \simpleicon{html5}
Testing: \simpleicon{css3}

and I get the output:

[WARNING] Missing character: There is no Ê (U+00CA) in font cmr10!
[WARNING] Missing character: There is no ó (U+00F3) in font cmr10!
@VVill-ga
Copy link
Author

VVill-ga commented Jan 7, 2024

It doesn't look like this issue has anything to do with Pandoc. I tested a similar simple file with the pdflatex command (without the pdfmapfile because it said it was redundant), and this is the log: test.log

Here is the part of the log that I think matters:

LaTeX Font Info:    Trying to load font information for U+simpleiconsFour on input line 6.
LaTeX Font Info:    No file UsimpleiconsFour.fd. on input line 6.

LaTeX Font Warning: Font shape `U/simpleiconsFour/m/n' undefined
(Font)              using `U/cmr/m/n' instead on input line 6.

Missing character: There is no Ê in font cmr10!


LaTeX Font Info:    Trying to load font information for U+simpleiconsTwo on input line 8.
LaTeX Font Info:    No file UsimpleiconsTwo.fd. on input line 8.

LaTeX Font Warning: Font shape `U/simpleiconsTwo/m/n' undefined
(Font)              using `U/cmr/m/n' instead on input line 8.

Missing character: There is no ó in font cmr10!

Please let me know if there is anything else I can test. Unfortunately, I am not very familiar with LaTeX package development.

@VVill-ga VVill-ga changed the title Missing character in font cmr10 [pdfLatex] Missing character in font cmr10 Jan 8, 2024
@ineshbose
Copy link
Owner

Hi, sorry it took me a while to get on this.

It seems to be quite similar to: #15

May I know if you're on the latest version of the package?

@VVill-ga
Copy link
Author

No worries, thanks for getting back! I've been using LuaLatex in the meantime.

Using \listfiles I got the information that my simpleicons package is from 2023/03/03, version 8.6.0

That's quite old! So I attempted to update everything through tlmgr, and the whole thing broke on me. Just to leave an update, I don't know when I'll have a working render engine again, hopefully reinstalling isn't too painful.

@ineshbose
Copy link
Owner

I got the information that my simpleicons package is from 2023/03/03, version 8.6.0

Yes, this seems to be the version before the fix.

I attempted to update everything through tlmgr, and the whole thing broke on me.

This shouldn't happen! There weren't any breaking changes since; it may be something else that is LuaLatex specific assuming you continued working on your document. I'm glad you were able to use LuaLatex for the workaround; while just to confirm that this issue is resolved, could you test on a fresh document on your end with the contents when your document was simple (you shared the contents above when you opened this issue). Let me know.

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