From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Amy Templeton <amy.g.templeton@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: doc-view: Document quality and find-file
Date: Mon, 17 Sep 2007 17:57:19 +0200 [thread overview]
Message-ID: <4A631059-13B3-4D56-BAB7-058B1B85FE00@Web.DE> (raw)
In-Reply-To: <87ejgxjp85.fsf@gmail.com>
Am 17.09.2007 um 17:17 schrieb Amy Templeton:
> (1) Is there any way to increase the image quality? The letters of
> the PDF
> files seem to end up somewhat butchered, making some hard to
> read.
The xpdf suite also contains the programmes pdfinfo and pdffonts. The
latter can be useful to determine whether the PDF file has real fonts
(vector based fonts in PostScript or TrueType format [OpenType is
some wrapper around PostScript or TrueType]) or just bitmaps from
TeX. The "real fonts" are clear names while the TeX fonts seem to
come from some cryptographic engine ...
One option could be to correct the default resolution with which
Ghostscript is converting the vector fonts in a PDF document to
bitmaps ("-r100"). Maybe your screen has coarser or finer resolution,
so you might update the value.
(defcustom doc-view-ghostscript-options
'("-dNOPAUSE" "-sDEVICE=png16m" "-dTextAlphaBits=4"
"-dBATCH" "-dGraphicsAlphaBits=4" "-dQUIET"
"-r100")
"A list of options to give to ghostview."
:type '(sexp)
:group 'doc-view)
Another cause could be that -dGraphicsAlphaBits=4" can make lines
that should join end before the joint. Setting the numerical value of
4 to 1 can correct this behaviour.
Another option might be to substitute the default output format
"png16m" (best suited for 24 bit RGB displays) with any of "pnggray"
for greyscale, "png256" for 8-bit colour, "png16" for 4-bit colour,
or "pngmono" for black-and-white. They all won't show the same amount
of anti-aliasing power!
--
Greetings
Pete
"One person with a belief is a social power equal to ninety-nine who
have only interests."
- John Stuart Mill
next prev parent reply other threads:[~2007-09-17 15:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 15:17 doc-view: Document quality and find-file Amy Templeton
2007-09-17 15:57 ` Peter Dyballa [this message]
2007-09-17 18:59 ` Amy Templeton
2007-09-17 21:49 ` Peter Dyballa
2007-09-17 22:15 ` Amy Templeton
2007-09-17 22:43 ` Peter Dyballa
2007-10-01 0:13 ` Amy Templeton
2007-09-17 16:44 ` Peter Dyballa
2007-09-17 18:43 ` Peter Dyballa
2007-09-17 19:02 ` Amy Templeton
2007-10-02 9:34 ` Tassilo Horn
2007-10-04 1:00 ` Xavier Maillard
2007-10-04 9:03 ` Peter Dyballa
[not found] ` <mailman.1692.1191488594.18990.help-gnu-emacs@gnu.org>
2007-10-04 13:25 ` Tassilo Horn
[not found] ` <mailman.1687.1191461538.18990.help-gnu-emacs@gnu.org>
2007-10-04 8:24 ` Tassilo Horn
2007-10-04 18:47 ` Amy Templeton
[not found] ` <mailman.1704.1191523562.18990.help-gnu-emacs@gnu.org>
2007-10-04 19:13 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A631059-13B3-4D56-BAB7-058B1B85FE00@Web.DE \
--to=peter_dyballa@web.de \
--cc=amy.g.templeton@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).