Hey Guys,
I have a fairly anoying problem. I have installed the URW Garamond fonts and want to use them for my master thesis.
However when I compile the document they appear unsharp and fuzzy. I have read a lot of PDF's with the URW Garamond font, and they dont seem to have this problem at all.
Any ideas are more than welcome!
PS. The fonts seems to look alright when the PDF is printed on paper, but I need to deliver a PDF version as well.
Also a image attached from the PDF.
Fonts & Character Sets ⇒ URW Garamond bad quality in PDF
-
- Posts: 5
- Joined: Wed Aug 15, 2012 10:58 pm
URW Garamond bad quality in PDF
- Attachments
-
- urw-garamond.PNG (11.62 KiB) Viewed 5341 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
URW Garamond bad quality in PDF
You are probably getting Type 3 fonts instead of Type 1 fonts---please post a
minimal working example and we might be able to determine why.

-
- Posts: 5
- Joined: Wed Aug 15, 2012 10:58 pm
URW Garamond bad quality in PDF
Here is a mwe of all the packages I use
Code: Select all
\documentclass[pdftex,10pt,b5paper,twoside]{book}
% ---------- Loading packages ---------------
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[urw-garamond]{mathdesign}
\usepackage[inner=35mm,outer=25mm,tmargin=27mm,bmargin=30mm]{geometry}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage{booktabs}
\usepackage{microtype}
\usepackage[version=3,arrows=pgf]{mhchem}
\usepackage[tophrase=dash,repeatunits=false,trapambigrange=false]{siunitx}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{float}
\usepackage{hyperref}
\usepackage{latexsym}
\usepackage{wrapfig}
\usepackage{chngcntr}
\usepackage[version=3]{mhchem}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usepackage[]{caption}
\usepackage{subfig}
\usepackage{titlesec}
\usepackage[square, numbers]{natbib}
\usepackage{datatool}
\usepackage[breakall]{truncate}
% ---- Universal Settings for the Master Thesis ----
\captionsetup{labelfont=bf, margin=0px}
% ---- removing page numbering from blank pages ----
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\vspace*{\fill}
\begin{center}
This page intentionally contains only this sentence.
\end{center}
\vspace{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\begin{document}
\chapter{URW Garamond Example}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse a malesuada eros. Ut bibendum justo quis metus adipiscing tempor. Vivamus vitae nulla lorem. Mauris in lacus non turpis porttitor adipiscing vel ac augue. Etiam nec turpis eu quam tempor tincidunt. Integer viverra mauris sed mi euismod bibendum. Praesent lobortis est ut quam convallis placerat. Integer ut nunc in lorem ultricies pharetra ut et nulla. Duis eu orci non nibh placerat tempor ac sed ligula.
\end{document}
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
URW Garamond bad quality in PDF
It works for me (with no Type 3 fonts or graininess). I did have to comment out mhchem, datatool, and siunitx to get it to work. (Note also that you loaded mhchem TWICE....)
I have the following files in $TEXMF/fonts/type1/urw/garamond:
ugmm8a.pfb ugmmi8a.pfb ugmr8a.pfb ugmri8a.pfb
ugmm8a.pfm ugmmi8a.pfm ugmr8a.pfm ugmri8a.pfm
Is that where your fonts are installed?
I have the following files in $TEXMF/fonts/type1/urw/garamond:
ugmm8a.pfb ugmmi8a.pfb ugmr8a.pfb ugmri8a.pfb
ugmm8a.pfm ugmmi8a.pfm ugmr8a.pfm ugmri8a.pfm
Is that where your fonts are installed?
-
- Posts: 5
- Joined: Wed Aug 15, 2012 10:58 pm
Re: URW Garamond bad quality in PDF
Hello,
Yes I have installed all the files you mentioned in that folder, I have also done all of the steps in the readme file provided at CTAN for the font.
However it might be some problems with some of the other packages I use, as the datatool and siunitx package. I have tried to make a document only containing plain text and then it works (see attached).
Any ideas? It is not critical that I use the font, however it would make the thesis look a lot better imo.
Yes I have installed all the files you mentioned in that folder, I have also done all of the steps in the readme file provided at CTAN for the font.
However it might be some problems with some of the other packages I use, as the datatool and siunitx package. I have tried to make a document only containing plain text and then it works (see attached).
Any ideas? It is not critical that I use the font, however it would make the thesis look a lot better imo.
- Attachments
-
- garamond.pdf
- (33.13 KiB) Downloaded 388 times
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: URW Garamond bad quality in PDF
Have you confirmed that it's one of those two packages?
I can't use siunitx, since it requires LaTeX3 features that aren't available on my version. I had trouble getting datatool to work, too, but when I ignored the error that it made, I still didn't get grainy fonts.
I can't use siunitx, since it requires LaTeX3 features that aren't available on my version. I had trouble getting datatool to work, too, but when I ignored the error that it made, I still didn't get grainy fonts.