GeneralWrong font with PDF

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
SoulReaper
Posts: 6
Joined: Fri Nov 07, 2008 5:56 pm

Wrong font with PDF

Post by SoulReaper »

I have bought a new laptop and it already has vista installed. My problem is i want the pdf to be like in pic 2 (from my old laptop with XP) but it always produces like pic 1. I don't know what to do. I try many things but the result is still the same.

I want the pdf like this.
i want the result to be like this
i want the result to be like this
2.jpg (33.83 KiB) Viewed 5466 times
But it produce this
wha is happening now
wha is happening now
1.jpg (58 KiB) Viewed 5466 times
I have not config anything to do with font except for

Code: Select all

\usepackage[T1]{fontenc}


my code look like this

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}


\usepackage{makeidx}

\usepackage{graphics}
\begin{document}
	HelloWorld
\end{document}

i use TeXnicCenter 1.7.50 miktex 2.7. and i use acrobat reader 8.1.2. ghostscrirt 8.63 i convert by LaTeX => PS(Dvips) => PDF(Ghostscript)

i check previous post concerning convert pdf and i cannot fix the problem. Maybe i do sth not right

Any one knows solution pls tell me. THX in advance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Wrong font with PDF

Post by localghost »

Check in the MiKTeX Package manager if the cm-super package is installed.


Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
SoulReaper
Posts: 6
Joined: Fri Nov 07, 2008 5:56 pm

Wrong font with PDF

Post by SoulReaper »

i installed the cm-super. And here's my modified code

Code: Select all

\documentclass{article}
\usepackage{type1ec}
 \fontencoding{T1}
 \fontfamily{cm-super}
 \fontshape{rm}
\usepackage{makeidx}

\usepackage{graphics}
\begin{document}
   HelloWorld
\end{document}
but the problem still persists. T-T
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Wrong font with PDF

Post by Stefan Kottwitz »

Hi,

Code: Select all

\usepackage[T1]{fontenc}
should be enough. cm-super fonts will be chosen automatically. Try without those lines:

Code: Select all

\usepackage{type1ec}
\fontencoding{T1}
\fontfamily{cm-super}
\fontshape{rm}
like in your first example.

Stefan
LaTeX.org admin
SoulReaper
Posts: 6
Joined: Fri Nov 07, 2008 5:56 pm

Wrong font with PDF

Post by SoulReaper »

i've tried this code.

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}

\usepackage{makeidx}

\usepackage{graphics}
\begin{document}
   HelloWorld
\end{document}
but nothing change. i use full miktex. DVI and PS look fine but only when i use latex => pdf or latex => ps > pdf it produce wrong font. maybe sth wrong with my arcrobat reader???
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Wrong font with PDF

Post by Stefan Kottwitz »

You could post that pdf document as attachment here, I would examine its fonts.
A very good alternative to the standard fonts is Latin Modern, it looks similar, provides high quality, Latin Modern is derived from the standard fonts. To use them just write

Code: Select all

\usepackage{lmodern}
Stefan
LaTeX.org admin
SoulReaper
Posts: 6
Joined: Fri Nov 07, 2008 5:56 pm

Wrong font with PDF

Post by SoulReaper »

Here it is. pdf that use :

Code: Select all

\documentclass{article}

\usepackage{type1ec}

\usepackage{lmodern}

\usepackage{makeidx}

\usepackage{graphics}

\begin{document}
   HelloWorld
\end{document}

thx for answer i'm very new to latex.
Attachments
LaTeX5.pdf
(4.37 KiB) Downloaded 354 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: Wrong font with PDF

Post by Stefan Kottwitz »

This pdf looks fine for me with the Adobe Reader. Does exactly this pdf have those quality problems too?

Stefan
LaTeX.org admin
SoulReaper
Posts: 6
Joined: Fri Nov 07, 2008 5:56 pm

Re: Wrong font with PDF

Post by SoulReaper »

it seem that the problem does not concern latex anymore but the problem is my arcrobat reader. anyway i found a solution. i produce postscript file first and i convert to pdf by using bullzip pdf printer. it looks fine. i will use another pdf viewer. Thx for every reply
Post Reply