-
Notifications
You must be signed in to change notification settings - Fork 1
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
Icons is not shown on some systems [investigate] #11
Comments
Hi @mjavadhpour, |
Hi @ineshbose, |
Is it still the same repository that was discussed for #10? If so, it would be great if you push the latest code so I can try to replicate this. |
Hello. The PDF of the documentation in TeXLive does not have the icons. |
Yes it is. It would take some times to push latest change because I need to transfer my works to the https://github.com/mjavadhpour/resm. |
Hi @projetmbc, thanks for sharing that here. May I have a link to that if possible please? |
Hello. Just look at the CTAN website : https://www.ctan.org/pkg/simpleicons . |
Hi @projetmbc, that is very odd because the glyphs do indeed show up from CTAN on my end! I really want to investigate this - may I know about your system please? |
I use a MacBookPro. |
@ineshbose Maybe you can reproduce the problem if you compile the PDF in your machine and open it in another machine! (maybe) |
I have tried to compile with LuaLaTeX and this works with some errors...
|
@mjavadhpour, does the issue still persist in the latest version? When you mean they disappear, do you mean that nothing shows or instead they are replaced by unicode characters? |
@ineshbose I mean that nothing is shown. now I get this result used ( Compiler output related to package: LaTeX Font Info: Trying to load font information for U+simpleiconsSix on input line 131.
LaTeX Font Info: No file UsimpleiconsSix.fd. on input line 131.
LaTeX Font Warning: Font shape `U/simpleiconsSix/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 131.
Missing character: There is no � in font cmr10!
LaTeX Font Info: Trying to load font information for U+simpleiconsThree on input line 132.
LaTeX Font Info: No file UsimpleiconsThree.fd. on input line 132.
LaTeX Font Warning: Font shape `U/simpleiconsThree/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 132.
LaTeX Font Info: Trying to load font information for U+simpleiconsSeven on input line 133.
LaTeX Font Info: No file UsimpleiconsSeven.fd. on input line 133.
LaTeX Font Warning: Font shape `U/simpleiconsSeven/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 133.
LaTeX Font Info: Trying to load font information for U+simpleiconsFour on input line 134.
LaTeX Font Info: No file UsimpleiconsFour.fd. on input line 134.
LaTeX Font Warning: Font shape `U/simpleiconsFour/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 134.
LaTeX Font Info: Trying to load font information for U+simpleiconsTwo on input line 135.
LaTeX Font Info: No file UsimpleiconsTwo.fd. on input line 135.
LaTeX Font Warning: Font shape `U/simpleiconsTwo/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 135.
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
LaTeX Font Info: Trying to load font information for U+simpleiconsNine on input line 139.
LaTeX Font Info: No file UsimpleiconsNine.fd. on input line 139.
LaTeX Font Warning: Font shape `U/simpleiconsNine/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 139.
LaTeX Font Info: Trying to load font information for U+simpleiconsFive on input line 141.
LaTeX Font Info: No file UsimpleiconsFive.fd. on input line 141.
LaTeX Font Warning: Font shape `U/simpleiconsFive/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 141.
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
LaTeX Font Info: Trying to load font information for U+simpleiconsEight on input line 147.
LaTeX Font Info: No file UsimpleiconsEight.fd. on input line 147.
LaTeX Font Warning: Font shape `U/simpleiconsEight/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 147.
Missing character: There is no � in font cmr10!
LaTeX Font Info: Trying to load font information for U+simpleiconsOne on input line 148.
LaTeX Font Info: No file UsimpleiconsOne.fd. on input line 148.
LaTeX Font Warning: Font shape `U/simpleiconsOne/m/n' undefined
(Font) using `U/cmr/m/n' instead on input line 148.
Missing character: There is no � in font cmr10!
LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <10> not available
(Font) Font shape `OT1/cmtt/m/n' tried instead on input line 158.
Missing character: There is no � in font cmr10!
LaTeX Font Warning: Some font shapes were not available, defaults substituted. |
I think I'm able to reproduce this now. Doing my best to fix this - I appreciate your patience! Meanwhile if you also find a fix, please feel free to report it here. Thank you. |
Sure, thank you for your efforts. |
Similarly, when I either bring up the local copy of the documentation using |
I can't see any glyph when opening the file |
Really sorry for lack of update on here - before I added the "help wanted" label, it started to work randomly, but when I re-investigated, I couldn't track the change which got lost. :( I'm finding it a bit difficult to find time to get back on this but I'm gonna try! Otherwise, as the label suggests - help is really appreciated! 😄 |
It has worked with pdflatex in my use cases! |
I just tried to compile with LuaTeX, and it works after ignoring two times the critical warning PS: you should focus in your doc the fact that a LuaLaTeX compilation must be used. |
pdflatex not works for me... |
The doc on CTAN gets compiled with pdflatex. 🙂 |
Have you installed a "simpleicons" font on your computer? |
I don't have the font installed on my system - just using the package files! Let's continue the discussion in #14 |
Hey there! So the icon I used here \begin{document}
\maketitle
\tableofcontents
\section{Windows \simpleicon{windows}}
\subsection{Definition des Kernels} is not compiled correctly on my Mac, although it worked on my Windows PC before Have you seen the doucmentation PDF on CTAN? |
I trying to compare simple-icon package with font-awesome package (that work correctly) and I found no deference but some difference on naming conventions so I'm not sure the problem is related to the package itself because it has the required fonts. |
So you mean that it might be possible to solve this issue by altering the naming-convention in simpleicons package? |
I'm not sure but it would be worth to try. |
The last version works without any problem with LuaLaTeX on MacOs. |
I think this will help to solve the problem: |
Thank you very much, this is incredible and very helpful in debugging this (issue #15 also opened). Will get on this ASAP. |
Playing with |
v9.3.0 should be available - can someone confirm if issue persists please? |
Unfortunately, I do not experience improvement. |
In the version with documentation labeled "June 23, 2023" distributed through TeXLive, icons are not yet visible in the documentation PDF. (MacOS 13.4.1, Apple Preview and Adobe Acrobat Reader) |
The |
The The named issues have been fixed in this patched version: simpleicons9.6.0patched.zip. |
Thanks again for the patched version @Rimole. My apologies for not fixing this as quick as possible (also travelling at the moment). I'm looking into the differences between convertio's PFB and otftotfm's PFB (hard to pick out really small details), but the reason I'm not using convertio is that this package has an automated pipeline to generate the LaTeX package, and this step may be a blocker. |
When this bug is fixed, I think it will be useful to write a short article about what was causing the problem. |
@ineshbose Also I prefer to use local tools! confertio does not let me choose any parameters nor tells what parameters for conversion were used, the site may be gone in the future, or get hacked, or whatsoever. The conversion just shows that 1. the issue is the conversion between the otf and the pfb file, 2. the otf file can successfully be converted to a working pfb file. Maybe post the Thank you for your great work! |
Regarding how simple-icons-latex/.github/workflows/release.yml Lines 48 to 49 in 65cd52d
and then is run like so: simple-icons-latex/bindings.js Lines 102 to 109 in 65cd52d
|
The issue has been posted at: Note: convertio.io uses "Generated by FontForge 20200511 (http://fontforge.sf.net/)" for the conversion from otf to pfb. Maybe it would be an option to use FontForge's command line instead of otftotfm? |
Please test this way to create the pfb file locally:
saved as convert.pe in the same directory as SimpleIcons.otf.
(Change names and locations as appropriate.) |
Thanks for this @Rimole Currently implementing this here - https://github.com/ineshbose/simple-icons-latex/tree/refactor/use-fontforge |
Simpleicons9.10.0.zip "It seems we're missing creation of TFM files." Maybe use otftotfm for creating the TFM files, delete the created PFB file, create the PFB file with FontForge? Yes, that is inconvenient, but if is automatised and works... |
Hello @ineshbose I have not been following the technical details here. I would just note that the issue I raised at #11 (comment) (adding: I see there are some very new commits, so perhaps it was fixed after August 18, 2023!) |
My apologies - the issue should not be closed yet. I have attempted to release 9.10.1 which aims to fix this though. If you want to test without waiting for the CTAN mirror to update, you can download it here and please report back - https://github.com/ineshbose/simple-icons-latex/releases/download/9.10.1/simpleicons.zip 🙂 |
Documentation icons now render. Icons in my own test file now also render. Great job! |
Excellent to hear. @mjavadhpour @Rimole would you like to confirm please? |
Sure, let me check. @ineshbose |
@ineshbose It's works. POC: https://github.com/mjavadhpour/resm/blob/main/YOUR_NAME-CV.pdf Thank you guys for your investigations. |
@ineshbose The new version finally arrived at "my" CTAN-mirror - and it works! Thank you, Inesh Bose! (I'm OK with closing this issue.) |
Big thanks to @Rimole. 😄 |
Hello,
After I compiled my
tex
file topdf
the simpleicons used in the document disappeared. I compile thetex
file inside the docker container and open thepdf
on my host computer.I should mention that it works correctly inside the container but not working inside the host machine (I think it can be related to the installed fonts inside the container but because they are not available in the host machine so the icons disappeared?).
Thanks.
The text was updated successfully, but these errors were encountered: