Discussion:
Bug#866114: texlive-fonts-extra: Icon errors when installed alongside fonts-font-awesome
(too old to reply)
Connor Glosser
2017-06-27 12:50:02 UTC
Permalink
Package: texlive-fonts-extra
Version: 2016.20170123-5
Severity: normal

Dear Maintainer,

I use fontawesome to set workspace "icons" in my i3 window manager
config. If I only have the fonts-font-awesome package installed,
everything looks fine. However, when I install TeX, the fontawesome
glyphs no longer render properly in i3 (Loading Image...
-- should contain the firefox logo, the terminal icon, and a dot,
respectively).

-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource.

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

*** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
List of ls-R files

-rw-r--r-- 1 root root 2857 Jun 27 08:14 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jan 16 21:45 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Mar 4 01:53 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Mar 4 01:53 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
-rw-r--r-- 1 root root 475 Jun 27 08:11 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Mar 4 01:53 /usr/share/texmf/web2c/fmtutil.cnf -> /var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Mar 4 01:53 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 5041 Jun 27 08:13 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jan 16 21:45 mktex.cnf
-rw-r--r-- 1 root root 475 Jun 27 08:11 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages texlive-fonts-extra depends on:
ii fonts-cabin 1.5-2
ii fonts-comfortaa 2.003-1
ii fonts-croscore 20161116-1
ii fonts-crosextra-caladea 20130214-1
ii fonts-crosextra-carlito 20130920-1
ii fonts-dejavu-core 2.37-1
ii fonts-dejavu-extra 2.37-1
ii fonts-ebgaramond 0.016-1
ii fonts-ebgaramond-extra 0.016-1
ii fonts-font-awesome 4.7.0~dfsg-1
ii fonts-freefont-otf 20120503-6
ii fonts-freefont-ttf 20120503-6
ii fonts-gfs-artemisia 1.1-5
ii fonts-gfs-complutum 1.1-6
ii fonts-gfs-didot 1.1-6
ii fonts-gfs-neohellenic 1.1-6
ii fonts-gfs-olga 1.1-5
ii fonts-gfs-solomos 1.1-5
ii fonts-junicode 0.7.8-2
ii fonts-lato 2.0-1
ii fonts-linuxlibertine 5.3.0-2
ii fonts-lobstertwo 2.0-2
ii fonts-noto-hinted 20161116-1
ii fonts-oflb-asana-math 000.907-6
ii fonts-roboto-hinted 2:0~20160106-2
ii fonts-sil-gentium 20081126:1.03-1
ii fonts-sil-gentium-basic 1.1-7
ii fonts-sil-gentiumplus 5.000-1
ii fonts-sil-gentiumplus-compact 5.000-2
ii fonts-stix 1.1.1-4
ii tex-common 6.06
ii texlive-base 2016.20170123-5
ii ttf-adf-accanthis 0.20090423-2
ii ttf-adf-gillius 0.20090423-2
ii ttf-adf-universalis 0.20090423-2

Versions of packages texlive-fonts-extra recommends:
ii texlive-fonts-extra-doc 2016.20170123-5
ii texlive-latex-extra 2016.20170123-5

Versions of packages texlive-fonts-extra suggests:
ii cm-super 0.3.4-9

Versions of packages tex-common depends on:
ii dpkg 1.18.24
ii ucf 3.0036

Versions of packages tex-common suggests:
pn debhelper <none>

Versions of packages texlive-fonts-extra is related to:
ii tex-common 6.06
ii texlive-binaries 2016.20160513.41080.dfsg-2

-- no debconf information
Norbert Preining
2017-06-27 14:20:03 UTC
Permalink
tags 866114 + moreinfo
thanks

Hi Connor,
Post by Connor Glosser
I use fontawesome to set workspace "icons" in my i3 window manager
config. If I only have the fonts-font-awesome package installed,
everything looks fine. However, when I install TeX, the fontawesome
glyphs no longer render properly in i3 (http://i.imgur.com/Js3Nfv1.png
-- should contain the firefox logo, the terminal icon, and a dot,
respectively).
Hmmm, I am not sure whether this is a problem of texlive-fonts-extra.
This package depends on
fonts-font-awesome
and links the .otf file into the texmf tree, so nothing changes here.

In addition, it installs the type1 font version
/usr/share/texlive/texmf-dist/fonts/type1/public/fontawesome/FontAwesome.pfb
but this directory is not activated for X fonts. And even if it is,
fontconfig should find the otf font, too, and deliver it.

Do you have personal fontconfig configuration files that add specific
directories to the fontconfig search path?

In any case, can you use
fc-list | grep -i awesome
In my case I get:
/usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
/usr/share/fonts/woff/font-awesome/fontawesome-webfont.woff: FontAwesome:style=Regular
/usr/share/fonts/truetype/font-awesome/fontawesome-webfont.ttf: FontAwesome:style=Regular
nothing that is touched at all by the TeX packages.

All the best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Connor Glosser
2017-06-28 13:20:02 UTC
Permalink
Hi Norbert -

Thanks for the help (and info!) After a little more investigating, I think
you're right -- this isn't a texlive-fonts-extra problem. I had assumed it
was because that's the only thing I know of in the TeX system that uses
font awesome, and the glyphs broke after I added texlive-full on a fresh
Stretch system that already had the i3 and fonts-font-awesome packages
installed (I can remove texlive-full and things work again). Running

$ sudo dpkg --remove --force-depends texlive-fonts-extra

to specifically remove the fonts-extra problem doesn't fix things which
seems to indicate the problem is with another part of texlive-full. Do you
know of anything else I can check to iron out what might be causing the
problem? Running

$ fc-list | grep -i awesome

gives me the same output as you.

Thanks!
~Connor
Post by Norbert Preining
tags 866114 + moreinfo
thanks
Hi Connor,
Post by Connor Glosser
I use fontawesome to set workspace "icons" in my i3 window manager
config. If I only have the fonts-font-awesome package installed,
everything looks fine. However, when I install TeX, the fontawesome
glyphs no longer render properly in i3 (http://i.imgur.com/Js3Nfv1.png
-- should contain the firefox logo, the terminal icon, and a dot,
respectively).
Hmmm, I am not sure whether this is a problem of texlive-fonts-extra.
This package depends on
fonts-font-awesome
and links the .otf file into the texmf tree, so nothing changes here.
In addition, it installs the type1 font version
/usr/share/texlive/texmf-dist/fonts/type1/public/
fontawesome/FontAwesome.pfb
but this directory is not activated for X fonts. And even if it is,
fontconfig should find the otf font, too, and deliver it.
Do you have personal fontconfig configuration files that add specific
directories to the fontconfig search path?
In any case, can you use
fc-list | grep -i awesome
/usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
FontAwesome:style=Regular
FontAwesome:style=Regular
nothing that is touched at all by the TeX packages.
All the best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Norbert Preining
2017-06-28 14:30:01 UTC
Permalink
Hi Connor,
Post by Connor Glosser
to specifically remove the fonts-extra problem doesn't fix things which
seems to indicate the problem is with another part of texlive-full. Do you
No, probably not texlive-full, but with some fonts being installed.
Post by Connor Glosser
know of anything else I can check to iron out what might be causing the
problem? Running
$ fc-list | grep -i awesome
gives me the same output as you.
And what about uninstalling all of texlive-full, and also all depending
packages, and see what happens then?

I have no idea, but TeX Live does not interfer in this area, it adds
*some* fonts to the fontconfig path, but not all of it, and awesome
is not included.

All the best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Connor Glosser
2017-06-28 15:50:03 UTC
Permalink
Removing texlive-full fixes the problem. I will try to identify the
specific dependency that causes the issue when I get home tonight.
Post by Norbert Preining
Hi Connor,
Post by Connor Glosser
to specifically remove the fonts-extra problem doesn't fix things which
seems to indicate the problem is with another part of texlive-full. Do
you
No, probably not texlive-full, but with some fonts being installed.
Post by Connor Glosser
know of anything else I can check to iron out what might be causing the
problem? Running
$ fc-list | grep -i awesome
gives me the same output as you.
And what about uninstalling all of texlive-full, and also all depending
packages, and see what happens then?
I have no idea, but TeX Live does not interfer in this area, it adds
*some* fonts to the fontconfig path, but not all of it, and awesome
is not included.
All the best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Connor Glosser
2017-06-30 14:30:01 UTC
Permalink
Interestingly enough, it seems like different packages cause issues with
different characters. In particular, I've been able to determine that
fonts-sil-gentiumplus-compact "breaks" the fa-firefox glyph and
latex-cjk-korean (as a dependency of latex-cjk-all) does the same for
fa-terminal.
Post by Connor Glosser
Removing texlive-full fixes the problem. I will try to identify the
specific dependency that causes the issue when I get home tonight.
Post by Norbert Preining
Hi Connor,
Post by Connor Glosser
to specifically remove the fonts-extra problem doesn't fix things which
seems to indicate the problem is with another part of texlive-full. Do
you
No, probably not texlive-full, but with some fonts being installed.
Post by Connor Glosser
know of anything else I can check to iron out what might be causing the
problem? Running
$ fc-list | grep -i awesome
gives me the same output as you.
And what about uninstalling all of texlive-full, and also all depending
packages, and see what happens then?
I have no idea, but TeX Live does not interfer in this area, it adds
*some* fonts to the fontconfig path, but not all of it, and awesome
is not included.
All the best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Norbert Preining
2017-07-01 00:40:01 UTC
Permalink
Hi Connor,
Post by Connor Glosser
fonts-sil-gentiumplus-compact "breaks" the fa-firefox glyph and
Strange ..
Post by Connor Glosser
latex-cjk-korean (as a dependency of latex-cjk-all) does the same for
Impossible, look at the list of files in latex-cjk-korean:
/usr/share/texmf/tex/latex/CJK/*
/usr/share/doc/latex-cjk-common/examples/KS.tex
These files *cannot* have an influence on fonts.

My theory is that you have a file system corruption, I can't think of anything
else that could mess up things like this.

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Connor Glosser
2017-07-01 02:10:02 UTC
Permalink
Huh, interesting. Just to make sure I'm not completely crazy, I rolled out
a completely fresh Debian 9 linode instance and installed everything there
without touching any of my current configs. The same packages definitely
caused the same problems (the weird rendering renders exactly the same
way). I can't say for certain it's a font problem, but when I uninstall
those packages the problem goes away.
Post by Norbert Preining
Hi Connor,
Post by Connor Glosser
fonts-sil-gentiumplus-compact "breaks" the fa-firefox glyph and
Strange ..
Post by Connor Glosser
latex-cjk-korean (as a dependency of latex-cjk-all) does the same for
/usr/share/texmf/tex/latex/CJK/*
/usr/share/doc/latex-cjk-common/examples/KS.tex
These files *cannot* have an influence on fonts.
My theory is that you have a file system corruption, I can't think of anything
else that could mess up things like this.
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Loading...