Fonts & Character Sets ⇒ Fonts not smooth
Fonts not smooth
I just turn from miktex+windows+winedit to texlive+archlinux+kile. The problem is, the pdf generated by texlive on linux is not as good as by miktex on windows. The font is not so black and smooth.
Is there any way to increase the dpi or something? or is it a common problem of texlive/linux?
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Fonts not smooth
Here are the lines of code that I now use in all of my latex documents, with comments as I understand their use
Code: Select all
\usepackage[T1]{fontenc} % Ensure correct font encoding.
%\usepackage{pslatex} % Uses postscript fonts rather than bitmaps (higer quality final pdf).
\usepackage{mathptmx} % -
\usepackage[scaled=.90]{helvet} % |- Better than using pslatex (something about scaling).
\usepackage{courier} % -Code: Select all
latex file.tex
dvips -Ppdf file.dvi -o
ps2pdf file.ps- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Fonts not smooth
Code: Select all
\usepackage[T1]{fontenc}
\usepackage{lmodern}Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Fonts not smooth
I just found out that, the output by dvips -Ppdf contains some warnings and errors, such as
Code: Select all
.....
mktexpk: `mf-nowin -progname=mf \mode:=dpdfezzz; mag:=0+5920/(2*4000); nonstopmode; input cmr10' failed to make cmr10.5920pk. dvips: Font cmr10 at 5920 not found; scaling 600 instead.
</usr/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk>
kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 0+5920/(2*4000) --dpi 5920 cmsy10
mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode.
mktexpk: Running mf-nowin -progname=mf \mode:=dpdfezzz; mag:=0+5920/(2*4000); nonstopmode; input cmsy10
This is METAFONT, Version 2.718281 (TeX Live 2009/Arch Linux)
! Enormous number has been reduced.
Sorry for starting this thread. Your suggestions give me a lot of hints. Thank you.