LaTeX fonts warning

Hi I’m a Fedora newbie.
When I try to use pdflatex it produce a logfile with 204 warning about font.
This is some example:

pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmbi' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): invalid entry for `rtxptmbo': SlantFont/ExtendFont can be use
d only with embedded Type1 fonts


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmr' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmri' already exists, duplicates ignor
ed

I searched the web but before making the situation worse I would like to ask for your opinion.
Thanks

2 Likes

I also have this same question and i cannot find any proper answers on the internet and also here. need solution.

May be you could check Fix duplicate packages detected by dnf check to find duplicate packages and then remove it.

See if this is any helpful:

https://bbs.archlinux.org/viewtopic.php?pid=369832#p369832

It looks like there is a bug report for this one already:
https://bugzilla.redhat.com/show_bug.cgi?id=2020188

2 Likes

I try to check the instruction in that post but it don’t solve the problem. But thanks for the suggestion.

I ended up with the same warnings and this took me months to figure out. Its caused by a stale fonts directory, possibly left over from a previous version of Fedora or texlive. It seems similar to the bug report linked above but the problem occurs in a different directory. For me the following fix worked (performed on F37 beta).

$ cd /usr/share/texlive/texmf-var
$ sudo mv fonts fonts.bak
$ sudo dnf reinstall texlive-base

Note sure if the second line is totally necessary, but you’ll want to make sure that the fonts subdirectory is gone. The reinstall also seems to clear out fonts.bak after mv’ing it.

1 Like