[Tex/LaTex] the latex fonts (linux)

fontsgnuplot

I am pretty sure this question was already asked but I cannot find it.
I am using ubuntu and would like to know where are the font files I am using when I compile a latex document?
I looked at them using my PDF reader (okular) but it does not tell me where the original file is and moreover, the name are strange, for example: WMZQAI+CMR12.
I would like to use these fonts in gnuplot without downloading anything and just use the ones that are on my computer.
Thanks

Best Answer

For LaTeX all of your fonts (*.pfb, *.map, ...) are in $TEXMF/fonts or $TEXMFLOCAL/fonts or in $TEXMFHOME/fonts. The style and fd (font definition) files are always under $TEXMF/tex/latex/

For Xe(La)TeX and Lua(La)TeX also in the systems font directories: /usr/share/fonts, /usr/local/share/fonts/ and ~/.fonts/. However, for Xe(La)TeX you have to modify the search path for fontconfig. Otherwise the fonts in the TeX-distribution are not found. Lua(La)TeX has its own font search handling.