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

Icons is not shown on some systems [investigate] #11

Closed
mjavadhpour opened this issue Aug 10, 2022 · 55 comments · Fixed by #21
Closed

Icons is not shown on some systems [investigate] #11

mjavadhpour opened this issue Aug 10, 2022 · 55 comments · Fixed by #21
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mjavadhpour
Copy link

Hello,

After I compiled my tex file to pdf the simpleicons used in the document disappeared. I compile the tex file inside the docker container and open the pdf 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?).

This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2022.8.3)  10 AUG 2022 19:00

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/simpleicons.sty
Package: simpleicons 2022/07/29 7.5.0 Simple Icons 7.5.0 Logos

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/simpleiconsglyphs-pdf
tex.tex))

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconssix.fd
File: usimpleiconssix.fd 2022/07/29 Font definitions for U/simpleiconssix.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconsthree on i
nput line 132.

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconsthree.fd
File: usimpleiconsthree.fd 2022/07/29 Font definitions for U/simpleiconsthree.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconsseven on i
nput line 133.
(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconsseven.fd
File: usimpleiconsseven.fd 2022/07/29 Font definitions for U/simpleiconsseven.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconsfour on in
put line 134.
(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconsfour.fd
File: usimpleiconsfour.fd 2022/07/29 Font definitions for U/simpleiconsfour.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconstwo on inp
ut line 135.

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconstwo.fd
File: usimpleiconstwo.fd 2022/07/29 Font definitions for U/simpleiconstwo.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconsnine on in
put line 139.

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconsnine.fd
File: usimpleiconsnine.fd 2022/07/29 Font definitions for U/simpleiconsnine.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconsfive on in
put line 141.

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconsfive.fd
File: usimpleiconsfive.fd 2022/07/29 Font definitions for U/simpleiconsfive.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconseight on i
nput line 147.

(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconseight.fd
File: usimpleiconseight.fd 2022/07/29 Font definitions for U/simpleiconseight.
)
LaTeX Font Info:    Trying to load font information for U+simpleiconsone on inp
ut line 148.
(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/usimpleiconsone.fd
File: usimpleiconsone.fd 2022/07/29 Font definitions for U/simpleiconsone.
)

Thanks.

@ineshbose
Copy link
Owner

Hi @mjavadhpour,
Thanks for sharing your issue here. I don't believe that the host machine necessarily needs to have the font installed, especially if other packages like fontawesome are working and you are just previewing the final compiled PDF. I'm unable to replicate this but from the description, I feel it's more about Docker than this package (I may be wrong).

@mjavadhpour
Copy link
Author

Hi @ineshbose,
You're welcome. In the same situation for both the fontawesome and the simpleicons , The fontawesome working fine but the simpleicons disappeared (tested in a single PDF used both of them).

@ineshbose
Copy link
Owner

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.

@projetmbc
Copy link

Hello.

The PDF of the documentation in TeXLive does not have the icons.

@mjavadhpour
Copy link
Author

mjavadhpour commented Aug 21, 2022

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.

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.

@ineshbose
Copy link
Owner

Hello.

The PDF of the documentation in TeXLive does not have the icons.

Hi @projetmbc, thanks for sharing that here. May I have a link to that if possible please?

@projetmbc
Copy link

Hello.

Just look at the CTAN website : https://www.ctan.org/pkg/simpleicons .

@ineshbose
Copy link
Owner

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?

@projetmbc
Copy link

I use a MacBookPro.

@mjavadhpour
Copy link
Author

mjavadhpour commented Aug 24, 2022

@ineshbose Maybe you can reproduce the problem if you compile the PDF in your machine and open it in another machine! (maybe)

@projetmbc
Copy link

projetmbc commented Aug 24, 2022

I have tried to compile with LuaLaTeX and this works with some errors...

This is LuaHBTeX, Version 1.15.0 (TeX Live 2022)  (format=lualatex 2022.8.24)  24 AUG 2022 14:28
 restricted system commands enabled.
 file:line:error style messages enabled.
**simpleicons---copie.tex
(./simpleicons---copie.tex
LaTeX2e <2022-06-01> patch level 5
Lua module: luaotfload 2022-06-15 3.22 Lua based OpenType font support
Lua module: lualibs 2021-05-20 2.74 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2021-05-20 2.74 ConTeXt Lua libraries -- extended c
ollection.
luaotfload | conf : Root cache directory is "/Users/projetmbc/Library/texlive/20
22/texmf-var/luatex-cache/generic/names".
luaotfload | init : Loading fontloader "fontloader-2022-06-15.lua" from kpse-res
olved path "/usr/local/texlive/2022/texmf-dist/tex/luatex/luaotfload/fontloader-
2022-06-15.lua".
Lua-only attribute luaotfload@noligature = 1
luaotfload | init : Context OpenType loader version 3.120
Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
Inserting `luaotfload.glyph_stream' at position 1 in `glyph_stream_provider'.
Inserting `luaotfload.define_font' at position 1 in `define_font'.
Lua-only attribute luaotfload_color_attribute = 2
luaotfload | conf : Root cache directory is "/Users/projetmbc/Library/texlive/20
22/texmf-var/luatex-cache/generic/names".
Inserting `luaotfload.harf.strip_prefix' at position 1 in `find_opentype_file'.
Inserting `luaotfload.harf.strip_prefix' at position 1 in `find_truetype_file'.
Removing  `luaotfload.glyph_stream' from `glyph_stream_provider'.
Inserting `luaotfload.harf.glyphstream' at position 1 in `glyph_stream_provider'
.
Inserting `luaotfload.harf.finalize_vlist' at position 1 in `post_linebreak_filt
er'.
Inserting `luaotfload.harf.finalize_hlist' at position 2 in `hpack_filter'.
Inserting `luaotfload.cleanup_files' at position 1 in `wrapup_run'.
Inserting `luaotfload.harf.finalize_unicode' at position 1 in `finish_pdffile'.
Inserting `luaotfload.glyphinfo' at position 1 in `glyph_info'.
Lua-only attribute luaotfload.letterspace_done = 3
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_
font'.
Inserting `luaotfload.aux.set_font_index' at position 2 in `luaotfload.patch_fon
t'.
Inserting `luaotfload.aux.patch_cambria_domh' at position 3 in `luaotfload.patch
_font'.
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in `luaotfload.patch_fon
t_unsafe'.
Inserting `luaotfload.aux.set_capheight' at position 4 in `luaotfload.patch_font
'.
Inserting `luaotfload.aux.set_xheight' at position 5 in `luaotfload.patch_font'.
Inserting `luaotfload.rewrite_fontname' at position 6 in `luaotfload.patch_font'
. L3 programming layer <2022-08-23>
Inserting `tracingstacklevels' at position 1 in `input_level_string'.
./simpleicons---copie.tex:1: Undefined control sequence.
l.1 \pdfmapfile
             {+simpleicons.map}
? 

./simpleicons---copie.tex:1: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1 \pdfmapfile{+
               simpleicons.map}
? 
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
luaotfload | db : Font names database loaded from /Users/projetmbc/Library/texli
ve/2022/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz)
\c@part=\count183
\c@section=\count184
\c@subsection=\count185
\c@subsubsection=\count186
\c@paragraph=\count187
\c@subparagraph=\count188

Overfull \hbox (20.0pt too wide) in paragraph at lines 1--274
[]+simpleicons.map
 []

\c@figure=\count189
\c@table=\count190
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen137
[1
Missing character: There is no + (U+002B) in font nullfont!
Missing character: There is no s (U+0073) in font nullfont!
Missing character: There is no i (U+0069) in font nullfont!
Missing character: There is no m (U+006D) in font nullfont!
Missing character: There is no p (U+0070) in font nullfont!
Missing character: There is no l (U+006C) in font nullfont!
Missing character: There is no e (U+0065) in font nullfont!
Missing character: There is no i (U+0069) in font nullfont!
Missing character: There is no c (U+0063) in font nullfont!
Missing character: There is no o (U+006F) in font nullfont!
Missing character: There is no n (U+006E) in font nullfont!
Missing character: There is no s (U+0073) in font nullfont!
Missing character: There is no . (U+002E) in font nullfont!
Missing character: There is no m (U+006D) in font nullfont!
Missing character: There is no a (U+0061) in font nullfont!
Missing character: There is no p (U+0070) in font nullfont!
{/usr/local/texlive/2022/texmf-var/fonts/map/pdftex/updmap/pdftex.map}])
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2022-08-23 L3 programming layer (loader) 

(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
File: l3backend-luatex.def 2022-08-23 L3 backend support: PDF output (LuaTeX)
\l__color_backend_stack_int=\count191
\l__pdf_internal_box=\box51
))
Package: xparse 2022-06-22 L3 Experimental document command parser
) (/usr/local/texlive/2022/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2020/01/12 v1.61803398 Publication quality tables
\heavyrulewidth=\dimen138
\lightrulewidth=\dimen139
\cmidrulewidth=\dimen140
\belowrulesep=\dimen141
\belowbottomsep=\dimen142
\aboverulesep=\dimen143
\abovetopsep=\dimen144
\cmidrulesep=\dimen145
\cmidrulekern=\dimen146
\defaultaddspace=\dimen147
\@cmidla=\count192
\@cmidlb=\count193
\@aboverulesep=\dimen148
\@belowrulesep=\dimen149
\@thisruleclass=\count194
\@lastruleclass=\count195
\@thisrulewidth=\dimen150
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2022-06-20 v7.00s Hypertext links for LaTeX

(/usr/local/texlive/2022/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO
)

(/usr/local/texlive/2022/texmf-dist/tex/generic/infwarerr/infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
\pdftexcmds@toks=\toks16
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks17
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty
Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/pdfescape/pdfescape.sty
Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/hycolor/hycolor.sty
Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty
Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/auxhook/auxhook.sty
Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2022-05-17 v2.50 Cross-referencing by name of section

(/usr/local/texlive/2022/texmf-dist/tex/latex/refcount/refcount.sty
Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty
Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
 (/usr/local/texlive/2022/texmf-dist/tex/latex/kvoptions/kvoptions.sty
Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO)
))
\c@section@level=\count196
)
\@linkdim=\dimen151
\Hy@linkcounter=\count197
\Hy@pagecounter=\count198

(/usr/local/texlive/2022/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2022-06-20 v7.00s Hyperref: PDFDocEncoding definition (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/intcalc/intcalc.sty
Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/etexcmds/etexcmds.sty
Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
)
\Hy@SavedSpaceFactor=\count199

(/usr/local/texlive/2022/texmf-dist/tex/latex/hyperref/puenc.def
File: puenc.def 2022-06-20 v7.00s Hyperref: PDF Unicode definition (HO)
)
Package hyperref Info: Hyper figures OFF on input line 4162.
Package hyperref Info: Link nesting OFF on input line 4167.
Package hyperref Info: Hyper index ON on input line 4170.
Package hyperref Info: Plain pages OFF on input line 4177.
Package hyperref Info: Backreferencing OFF on input line 4182.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4408.
\c@Hy@tempcnt=\count266

(/usr/local/texlive/2022/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip16
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 4746.
\XeTeXLinkMargin=\dimen152

(/usr/local/texlive/2022/texmf-dist/tex/generic/bitset/bitset.sty
Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO)

(/usr/local/texlive/2022/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty
Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO
)
))
\Fld@menulength=\count267
\Field@Width=\dimen153
\Fld@charsize=\dimen154
Package hyperref Info: Hyper figures OFF on input line 6024.
Package hyperref Info: Link nesting OFF on input line 6029.
Package hyperref Info: Hyper index ON on input line 6032.
Package hyperref Info: backreferencing OFF on input line 6039.
Package hyperref Info: Link coloring OFF on input line 6044.
Package hyperref Info: Link coloring with OCG OFF on input line 6049.
Package hyperref Info: PDF/A mode OFF on input line 6054.

(/usr/local/texlive/2022/texmf-dist/tex/latex/base/atbegshi-ltx.sty
Package: atbegshi-ltx 2021/01/10 v1.0c Emulation of the original atbegshi
package with kernel methods
)
\Hy@abspage=\count268
\c@Item=\count269
\c@Hfootnote=\count270
)
Package hyperref Info: Driver (autodetected): hluatex.

(/usr/local/texlive/2022/texmf-dist/tex/latex/hyperref/hluatex.def
File: hluatex.def 2022-06-20 v7.00s Hyperref driver for luaTeX

(/usr/local/texlive/2022/texmf-dist/tex/generic/stringenc/stringenc.sty
Package: stringenc 2019/11/29 v1.12 Convert strings between diff. encodings (HO
)
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/atveryend-ltx.sty
Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atveryend pac
kage
with kernel methods
)
\Fld@listcount=\count271
\c@bookmark@seq@number=\count272

(/usr/local/texlive/2022/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
Package: rerunfilecheck 2022-07-10 v1.10 Rerun checks for auxiliary files (HO)

(/usr/local/texlive/2022/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO)
)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
85.
)
\Hy@SectionHShift=\skip49
) (/usr/local/texlive/2022/texmf-dist/tex/latex/base/shortvrb.sty
Package: shortvrb 2022/06/08 v3.0j Standard LaTeX documentation package V3 (FMi
)
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/longtable.sty
Package: longtable 2021-09-01 v4.17 Multi-page Table package (DPC)
\LTleft=\skip50
\LTright=\skip51
\LTpre=\skip52
\LTpost=\skip53
\LTchunksize=\count273
\LTcapwidth=\dimen155
\LT@head=\box52
\LT@firsthead=\box53
\LT@foot=\box54
\LT@lastfoot=\box55
\LT@gbox=\box56
\LT@cols=\count274
\LT@rows=\count275
\c@LT@tables=\count276
\c@LT@chunks=\count277
\LT@p@ftn=\toks18
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/simpleicons.sty
Package: simpleicons 2022/08/19 7.7.0 Simple Icons 7.7.0 Logos

(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/ifxetex.sty
Package: ifxetex 2019/10/25 v0.7 ifxetex legacy package. Use iftex instead.
)
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/ifluatex.sty
Package: ifluatex 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX
Lua module: fontspec 2022/01/15 2.8a Font selection for XeLaTeX and LuaLaTeX
(/usr/local/texlive/2022/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
Package: fontspec-luatex 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaT
eX
\l__fontspec_script_int=\count278
\l__fontspec_language_int=\count279
\l__fontspec_strnum_int=\count280
\l__fontspec_tmp_int=\count281
\l__fontspec_tmpa_int=\count282
\l__fontspec_tmpb_int=\count283
\l__fontspec_tmpc_int=\count284
\l__fontspec_em_int=\count285
\l__fontspec_emdef_int=\count286
\l__fontspec_strong_int=\count287
\l__fontspec_strongdef_int=\count288
\l__fontspec_tmpa_dim=\dimen156
\l__fontspec_tmpb_dim=\dimen157
\l__fontspec_tmpc_dim=\dimen158

(/usr/local/texlive/2022/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
luaotfload | cache : Lookup cache loaded from /Users/projetmbc/Library/texlive/2
022/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc.
luaotfload | aux : font no 18 (nil) defines no feature for script latn
luaotfload | aux : font no 18 (nil) defines no feature for script dflt

Package fontspec Info: Could not resolve font "SimpleIcons/BI" (it probably
(fontspec)             doesn't exist).


Package fontspec Info: Could not resolve font "SimpleIcons/B" (it probably
(fontspec)             doesn't exist).


Package fontspec Info: Could not resolve font "SimpleIcons/I" (it probably
(fontspec)             doesn't exist).


Package fontspec Info: Font family 'SimpleIcons(0)' created for font
(fontspec)             'SimpleIcons' with options [].
(fontspec)              
(fontspec)              This font family consists of the following NFSS
(fontspec)             series/shapes:
(fontspec)              
(fontspec)             - 'normal' (m/n) with NFSS spec.:
(fontspec)             <->"SimpleIcons:mode=node;language=dflt;"
(fontspec)             - 'small caps'  (m/sc) with NFSS spec.: 


(/usr/local/texlive/2022/texmf-dist/tex/latex/simpleicons/simpleiconsglyphs-xel
uatex.tex))
Package shortvrb Info: Made | a short reference for \verb on input line 9.
 (./simpleicons---copie.aux)
\openout1 = simpleicons---copie.aux

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 11.
LaTeX Font Info:    Trying to load font information for TS1+cmr on input line 1
1.

(/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
LaTeX Font Info:    Checking defaults for PU/pdf/m/n on input line 11.
LaTeX Font Info:    ... okay on input line 11.
Package hyperref Info: Link coloring OFF on input line 11.

(./simpleicons---copie.out) (./simpleicons---copie.out)
\@outlinefile=\write3

\openout3 = simpleicons---copie.out

Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid
(fontspec)             this).

\symlegacymaths=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `legacymaths' in version `bold'
(Font)                  OT1/cmr/m/n --> OT1/cmr/bx/n on input line 11.
LaTeX Font Info:    Redeclaring math accent \acute on input line 11.
LaTeX Font Info:    Redeclaring math accent \grave on input line 11.
LaTeX Font Info:    Redeclaring math accent \ddot on input line 11.
LaTeX Font Info:    Redeclaring math accent \tilde on input line 11.
LaTeX Font Info:    Redeclaring math accent \bar on input line 11.
LaTeX Font Info:    Redeclaring math accent \breve on input line 11.
LaTeX Font Info:    Redeclaring math accent \check on input line 11.
LaTeX Font Info:    Redeclaring math accent \hat on input line 11.
LaTeX Font Info:    Redeclaring math accent \dot on input line 11.
LaTeX Font Info:    Redeclaring math accent \mathring on input line 11.
LaTeX Font Info:    Redeclaring math symbol \colon on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Gamma on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Delta on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Theta on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Lambda on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Xi on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Pi on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Sigma on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Upsilon on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Phi on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Psi on input line 11.
LaTeX Font Info:    Redeclaring math symbol \Omega on input line 11.
LaTeX Font Info:    Redeclaring math symbol \mathdollar on input line 11.
LaTeX Font Info:    Redeclaring symbol font `operators' on input line 11.
LaTeX Font Info:    Encoding `OT1' has changed to `TU' for symbol font
(Font)              `operators' in the math version `normal' on input line 11.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> TU/lmr/m/n on input line 11.
LaTeX Font Info:    Encoding `OT1' has changed to `TU' for symbol font
(Font)              `operators' in the math version `bold' on input line 11.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> TU/lmr/m/n on input line 11.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  TU/lmr/m/n --> TU/lmr/m/n on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> TU/lmr/m/it on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> TU/lmr/b/n on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> TU/lmss/m/n on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> TU/lmtt/m/n on input line 11.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  TU/lmr/m/n --> TU/lmr/b/n on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> TU/lmr/b/it on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> TU/lmss/b/n on input line 11.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> TU/lmtt/b/n on input line 11.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 18.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 18.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 18.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 19.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 19.
 [2

] (./bindings.tex
Overfull \hbox (68.80008pt too wide) in alignment at lines 1--1
 [][][][] 
 []


Overfull \hbox (68.80008pt too wide) in alignment at lines 1--401
 [][][][] 
 []


Overfull \hbox (68.80008pt too wide) in alignment at lines 401--801
 [][][][] 
 []

[3
Missing character: There is no  (U+EA01) in font SimpleIcons:mode=node;langua
ge=dflt;!
Missing character: There is no  (U+EA01) in font SimpleIcons:mode=node;langua
ge=dflt;!
] [4] [5] [6] [7]
Overfull \hbox (68.80008pt too wide) in alignment at lines 801--1201
 [][][][] 
 []

[8] [9] [10] [11] [12]
Overfull \hbox (68.80008pt too wide) in alignment at lines 1201--1601
 [][][][] 
 []

[13] [14] [15] [16]
Overfull \hbox (68.80008pt too wide) in alignment at lines 1601--2001
 [][][][] 
 []

[17] [18] [19] [20] [21]
Overfull \hbox (68.80008pt too wide) in alignment at lines 2001--2401
 [][][][] 
 []

[22] [23] [24] [25] [26] [27]
Overfull \hbox (68.80008pt too wide) in alignment at lines 2401--2801
 [][][][] 
 []

[28] [29] [30] [31] [32]
Overfull \hbox (68.80008pt too wide) in alignment at lines 2801--3201
 [][][][] 
 []

[33] [34] [35] [36]
Overfull \hbox (68.80008pt too wide) in alignment at lines 3201--3601
 [][][][] 
 []

[37] [38] [39] [40] [41] [42]
Overfull \hbox (68.80008pt too wide) in alignment at lines 3601--4001
 [][][][] 
 []

[43] [44] [45] [46] [47]
Overfull \hbox (68.80008pt too wide) in alignment at lines 4001--4401
 [][][][] 
 []

[48] [49] [50] [51] [52]
Overfull \hbox (68.80008pt too wide) in alignment at lines 4401--4631
 [][][][] 
 []

[53] [54] [55] [56] [57] [58] [59]) [60] (./simpleicons---copie.aux)
Package rerunfilecheck Info: File `simpleicons---copie.out' has not changed.
(rerunfilecheck)             Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
)

Here is how much of LuaTeX's memory you used:
 12831 strings out of 477457
 244179,662416 words of node,token memory allocated
 446 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 1 glyph, 5 attribute, 54 glue_spec,
 5 attribute_list, 1 write, 1 pdf_action nodes
   avail lists: 1:1,2:10690,3:124,4:6,5:570,6:38,7:25920,8:51,9:2978,10:5,11:496

 33478 multiletter control sequences out of 65536+600000
 51 fonts using 5096807 bytes
 72i,9n,80p,295b,438s stack positions out of 10000i,1000n,20000p,200000b,200000s
</usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmroman10-italic.ot
f></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmroman10-bold.ot
f></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/simpleicons/SimpleIc
ons.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmroman12-b
old.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmmono10-re
gular.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmroman7-
regular.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmroman
8-regular.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmrom
an12-regular.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lm
sans17-regular.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/
lmroman17-regular.otf></usr/local/texlive/2022/texmf-dist/fonts/opentype/public/
lm/lmroman10-regular.otf>
Output written on simpleicons---copie.pdf (60 pages, 1210302 bytes).

PDF statistics: 342 PDF objects out of 1000 (max. 8388607)
 244 compressed objects within 3 object streams
 64 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 100000000)

@ineshbose
Copy link
Owner

@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?

@mjavadhpour
Copy link
Author

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 (simpleicons 2022/08/26 7.8.0 Simple Icons 7.8.0 Logos):
Screen Shot 2022-08-28 at 10 28 11 PM

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.

@ineshbose
Copy link
Owner

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.

@mjavadhpour
Copy link
Author

Sure, thank you for your efforts.

@chreliot
Copy link

chreliot commented Sep 4, 2022

Similarly, when I either bring up the local copy of the documentation using texdoc simpleicons, or click on Package Documentation at https://www.ctan.org/pkg/simpleicons, no icons are visible. The PDFs look like this:

Screen Shot 2022-09-03 at 9 11 11 PM

@ineshbose ineshbose added bug Something isn't working help wanted Extra attention is needed labels Sep 8, 2022
@projetmbc
Copy link

projetmbc commented Mar 20, 2023

I can't see any glyph when opening the file SimpleIcons.otf.

@ineshbose
Copy link
Owner

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! 😄

@ineshbose
Copy link
Owner

It has worked with pdflatex in my use cases!

@projetmbc
Copy link

I just tried to compile with LuaTeX, and it works after ignoring two times the critical warning \pdfmapfile{+simpleicons.map}.

PS: you should focus in your doc the fact that a LuaLaTeX compilation must be used.

@projetmbc
Copy link

pdflatex not works for me...

@ineshbose
Copy link
Owner

The doc on CTAN gets compiled with pdflatex. 🙂
There is a lot to investigate why compilation is different in terms of compilers and glyphs so it's difficult to give a reason at the moment.

@projetmbc
Copy link

projetmbc commented Mar 20, 2023

Have you installed a "simpleicons" font on your computer?

@ineshbose
Copy link
Owner

I don't have the font installed on my system - just using the package files! Let's continue the discussion in #14

@colichri
Copy link

colichri commented May 3, 2023

Hey there!
I used the simpleicons package in a document I wrote and compiled on a Windows 11 PC, where it worked as intended.
Now today I resumed working on the document on my MacBook Pro and the Icons used weren't compiled correctly.

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
image

Have you seen the doucmentation PDF on CTAN?
There I can't see any icons either:
Package documentation PDF on CTAN

@mjavadhpour
Copy link
Author

Hey there!
I used the simpleicons package in a document I wrote and compiled on a Windows 11 PC, where it worked as intended.
Now today I resumed working on the document on my MacBook Pro and the Icons used weren't compiled correctly.

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
image

Have you seen the doucmentation PDF on CTAN?
There I can't see any icons either:
Package documentation 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.

@colichri
Copy link

colichri commented May 3, 2023

Hey there!
I used the simpleicons package in a document I wrote and compiled on a Windows 11 PC, where it worked as intended.
Now today I resumed working on the document on my MacBook Pro and the Icons used weren't compiled correctly.
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
image
Have you seen the doucmentation PDF on CTAN?
There I can't see any icons either:
Package documentation 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?

@mjavadhpour
Copy link
Author

Hey there!
I used the simpleicons package in a document I wrote and compiled on a Windows 11 PC, where it worked as intended.
Now today I resumed working on the document on my MacBook Pro and the Icons used weren't compiled correctly.
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
image
Have you seen the doucmentation PDF on CTAN?
There I can't see any icons either:
Package documentation 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.

@projetmbc
Copy link

projetmbc commented May 4, 2023

The last version works without any problem with LuaLaTeX on MacOs.

@hair-splitter
Copy link

I think this will help to solve the problem:
https://tex.stackexchange.com/questions/689446/why-is-adobe-acrobat-reader-not-compatible-with-the-simpleicons-package

@ineshbose
Copy link
Owner

Thank you very much, this is incredible and very helpful in debugging this (issue #15 also opened). Will get on this ASAP.

@projetmbc
Copy link

Playing with Brave browser and the PDF documentation of the package simpleicons, I have noticed that icons are visible in the tab small view, but not in the full view. Funny fact...

@ineshbose
Copy link
Owner

v9.3.0 should be available - can someone confirm if issue persists please?

@hair-splitter
Copy link

Unfortunately, I do not experience improvement.

@chreliot
Copy link

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)

@hair-splitter
Copy link

hair-splitter commented Jul 8, 2023

The SimpleIcons.pfb is still broken in v9.4.0, so the pdflatex compiler still doesn't work in Adobe Acrobat Reader.

@Rimole
Copy link

Rimole commented Jul 26, 2023

The SimpleIcons.pfb is still broken in v9.6.0, so the pdf created with pdflatex still does not show correctly in Adobe Acrobat Reader. Again converting SimpleIcons.otf via https://convertio.co into SimpleIcons.pfb and replacing the provided SimpleIcons.pfb by that newly created one fixes the issue. Additionally, issue #20 is still not fixed. Further simpleiconsglyphs-pdftex.tex, simpleiconsglyphs-xeluatex.tex, usimpleiconseight.fd, usimpleiconsfive.fd, usimpleiconsfour.fd, usimpleiconsnine.fd, usimpleiconsone.fd, usimpleiconsonezero.fd, usimpleiconsseven.fd, usimpleiconssix.fd, usimpleiconsthree.fd, usimpleiconstwo.fd all contain a lot of unnecessary white-space.

The named issues have been fixed in this patched version: simpleicons9.6.0patched.zip.

@ineshbose
Copy link
Owner

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.

@projetmbc
Copy link

When this bug is fixed, I think it will be useful to write a short article about what was causing the problem.

@Rimole
Copy link

Rimole commented Jul 26, 2023

@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 otftotfm version number and used parameters and hair-splitter posts another question at StackExchange? There are several answered questions about otftotfm there.

Thank you for your great work!

@ineshbose
Copy link
Owner

Regarding how otftotfm is being setup and used, the pipeline installs the default/latest version

- name: Install otftotfm
run: sudo apt-get install -y lcdf-typetools

and then is run like so:

return execSync(
[
`otftotfm ${"SimpleIcons.otf"}`,
`--literal-encoding=${file}`,
`--name=SimpleIcons--${filename}`,
].join(" "),
{ encoding: "utf-8" }
).replace(/SimpleIconsFiltered/g, "SimpleIcons");

@Rimole
Copy link

Rimole commented Jul 30, 2023

The issue has been posted at:
https://tex.stackexchange.com/questions/689446/compatibility-issue-between-the-simpleicons-package-otftotfm-and-adobe-acrobat
As first aid until otftotfm gets the conversion done, here the version 9.8.0 simpleicons.pfb-file from https://convertio.co/ and the resulting simpleicons.pdf for anyone who needs it and does not want to run the conversion theirself: SimpleIcons.zip
If anybody got otftotfm to convert it correctly: Please tell us how you did it!

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?

@Rimole
Copy link

Rimole commented Aug 6, 2023

Please test this way to create the pfb file locally:

  1. You need SimpleIcons.otf (which you already have).

  2. You need FontForge: https://fontforge.org/en-US/downloads/

  3. You need this script:

#!/usr/local/bin/fontforge
Open($1)
Generate($1:r + ".pfb")

saved as convert.pe in the same directory as SimpleIcons.otf.

  1. Depending on your operation system, you might need to say:

$ chmod +x convert.pe

  1. In that directory, you need to run this command:

fontforge -script convert.pe SimpleIcons.otf

  1. Magically a file SimpleIcons.pfb appears in that directory.

(Change names and locations as appropriate.)

@ineshbose
Copy link
Owner

Thanks for this @Rimole

Currently implementing this here - https://github.com/ineshbose/simple-icons-latex/tree/refactor/use-fontforge
It seems we're missing creation of TFM files.. looking into that.

@Rimole
Copy link

Rimole commented Aug 13, 2023

Simpleicons9.10.0.zip
containing just the .pfb created via fontforge and the .pdf created with it for viewing in Acrobat Reader.

"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...

@chreliot
Copy link

chreliot commented Aug 21, 2023

Hello @ineshbose I have not been following the technical details here. I would just note that the issue I raised at #11 (comment)
persists on my machine. That is, when I type texdoc simpleicons to bring up the PDF of the documentation for simpleicons, version August 18, 2023, there are no icons in the documentation. So, the package may be working, but at minimum the documentation isn't. Just hoping to be helpful without technical understanding of the issues. Thanks!

(adding: I see there are some very new commits, so perhaps it was fixed after August 18, 2023!)

@ineshbose ineshbose reopened this Aug 21, 2023
@ineshbose
Copy link
Owner

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 🙂

@chreliot
Copy link

Documentation icons now render. Icons in my own test file now also render. Great job!

@ineshbose
Copy link
Owner

Excellent to hear. @mjavadhpour @Rimole would you like to confirm please?

@mjavadhpour
Copy link
Author

Sure, let me check. @ineshbose

@mjavadhpour
Copy link
Author

@ineshbose It's works. POC: https://github.com/mjavadhpour/resm/blob/main/YOUR_NAME-CV.pdf

Thank you guys for your investigations.

@Rimole
Copy link

Rimole commented Aug 22, 2023

@ineshbose The new version finally arrived at "my" CTAN-mirror - and it works! Thank you, Inesh Bose! (I'm OK with closing this issue.)

@ineshbose
Copy link
Owner

Big thanks to @Rimole. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants