From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: a bit offtopic, fonts in exported PDF documents Date: Thu, 26 Aug 2010 13:02:21 -0500 Message-ID: References: <4C76A590.9050800@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1288022910==" Return-path: Received: from [140.186.70.92] (port=49290 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OogmO-0001ac-Nj for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 14:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OogmN-0001r4-4K for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 14:02:24 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:50138) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OogmM-0001qy-VC for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 14:02:23 -0400 Received: by gyf3 with SMTP id 3so1070215gyf.0 for ; Thu, 26 Aug 2010 11:02:21 -0700 (PDT) In-Reply-To: <4C76A590.9050800@ccbr.umn.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erik Iverson Cc: emacs-orgmode --===============1288022910== Content-Type: multipart/alternative; boundary=001636d34cc5baa1f4048ebdcc24 --001636d34cc5baa1f4048ebdcc24 Content-Type: text/plain; charset=ISO-8859-1 I know this is old, but check here? http://ubuntuforums.org/archive/index.php/t-557746.html They don't really "solve" the problem except by doing what you did -- remove the encoding lines. Perhaps you should try verifying your LaTeX fonts packages or check with your distro repository to see what exists? I'm on Arch and they some fantastic documentation. Here, for example, are the various texlive packages I can pick from: http://wiki.archlinux.org/index.php/TeX_Live#Group_texlive-most Not saying one of those would fix the problem, but I wonder if you could verify you have the fontsextra package? Just an idea? Or run 'pdflatex file.tex' from the command line to see if any errors come up when using pdflatex directly vs. through org? You might be able to see more of the inner details that way and if it's complaining? John On Thu, Aug 26, 2010 at 12:34 PM, Erik Iverson wrote: > Hello, > > I'm wondering if anyone can > > 1) reproduce what I'm seeing > 2) help in understanding what's going on. > > If I export an Org file to LaTeX, the resulting > .tex file contains the following in its header: > > \usepackage[T1]{fontenc} > \usepackage{t1enc} > > Long story short: > > The resulting .PDF file from pdflatex looks quite > bad in evince, and quite good in Acroread. By "quite bad", > I mean the fonts are practically illegible, very thin > and wiry. > > If I comment out *both* of those package requirements, > recompile the PDF, the resulting PDF looks great in all > viewers I can find. > > The Fonts specified in the Properties of the document > change when I use those packages versus not use them. > > However, the packages are the default for good reason I'm sure, > but C-c C-e d fires up Evince on my system, so the default > is not very pleasant. > > I realize this isn't org-mode question per se, but can > anyone else replicate this, and do you know what's happening? > It seems like a potential problem with Evince specifically, since > Acroread seems to handle the resulting PDF just fine. > > Finally, does anyone know why the t1enc package is required, the > only thing I read about it was the following: > > http://www.tex.ac.uk/cgi-bin/texfaq2html?label=t1enc > > Thanks! > Erik > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --001636d34cc5baa1f4048ebdcc24 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I know this is old, but check here?=A0http://ubuntuforums.org/archive/index.php/t-55= 7746.html

They don't really "solve" the problem except by d= oing what you did -- remove the encoding lines. Perhaps you should try veri= fying your LaTeX fonts packages or check with your distro repository to see= what exists? I'm on Arch and they some fantastic documentation. Here, = for example, are the various texlive packages I can pick from:=A0http://wi= ki.archlinux.org/index.php/TeX_Live#Group_texlive-most

Not saying one of those would fix the problem, but I wo= nder if you could verify you have the fontsextra package? Just an idea?

Or run 'pdflatex file.tex' from the command l= ine to see if any errors come up when using pdflatex directly vs. through o= rg? You might be able to see more of the inner details that way and if it&#= 39;s complaining?


John

On Thu, Aug 26, 2010 at 12:34 PM, Erik Iverson <eriki@ccbr.umn.edu&g= t; wrote:
Hello,

I'm wondering if anyone can

1) reproduce what I'm seeing
2) help in understanding what's going on.

If I export an Org file to LaTeX, the resulting
.tex file contains the following in its header:

\usepackage[T1]{fontenc}
\usepackage{t1enc}

Long story short:

The resulting .PDF file from pdflatex looks quite
bad in evince, and quite good in Acroread. By "quite bad",
I mean the fonts are practically illegible, very thin
and wiry.

If I comment out *both* of those package requirements,
recompile the PDF, the resulting PDF looks great in all
viewers I can find.

The Fonts specified in the Properties of the document
change when I use those packages versus not use them.

However, the packages are the default for good reason I'm sure,
but C-c C-e d fires up Evince on my system, so the default
is not very pleasant.

I realize this isn't org-mode question per se, but can
anyone else replicate this, and do you know what's happening?
It seems like a potential problem with Evince specifically, since
Acroread seems to handle the resulting PDF just fine.

Finally, does anyone know why the t1enc package is required, the
only thing I read about it was the following:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=3Dt1enc

Thanks!
Erik

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001636d34cc5baa1f4048ebdcc24-- --===============1288022910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1288022910==--