all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Penton <djp@arqux.com>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: ps-print question
Date: Sun, 2 Jan 2011 16:20:54 -0500	[thread overview]
Message-ID: <47A0F9E5-9581-4484-99DA-71B1D2E54DF2@arqux.com> (raw)
In-Reply-To: <63E6A495-DFCF-4791-B39A-9B9893228275@Freenet.DE>

[-- Attachment #1: Type: text/plain, Size: 1919 bytes --]

Pete:

Thanks for sending me some sample postscript files.

More developments on my end:

The error generated by ps2pdf when converting a file using added Bitstream fonts as described in an earlier post is caused by the use of the -dSAFER option being passed to ghostscript by ps2pdf and related shell scripts. I made a copy of the script ps2pdfwr (which is ultimately invoked by ps2pdf on my system) and removed the gs command line option -dSAFER. I also removed the -q command line option so that I could get verbose output. My version of the ps2pdfwr script reported that it was loading the Bitstream Vera fonts when converting.

Using my altered version of ps2pdfwr, the conversion from postscript from pdf occurred without reporting any errors. However, the output is still wrong. In the output from ps-print, I am still getting a right single quote instead of a left single quote. As far as I can tell, it is otherwise in the correct Bitstream Vera fond. I suppose the only way to understand this is to dig around in the postscript file.

The left single quote should work. I converted the following postscript using my altered version of ps2pdfwr, and the left single quote come through fine:

/BitstreamVeraSansMono-Roman findfont
15 scalefont
setfont
72 200 moveto
(This is in `Bitstream Vera Sans Mono Roman) show

The problem must be somewhere in the setup postscript generated by ps-print. I am not that expert at postscript, so it will not be easy to figure out. However, in the ps-print generated file, here is the line that actually prints the text with a left single quote:

(This is in `Bitstream Vera Sans Mono Roman)

That is, it is identical to my simple example, but when converted to pdf the ps-print version shows a right single quote in front of the word Bitstream. That's why I think something in the setup part of the ps-print postscript must be causing this.

- Dave -

[-- Attachment #2: Type: text/html, Size: 2722 bytes --]

  reply	other threads:[~2011-01-02 21:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31  7:22 ps-print question David Penton
2010-12-31  7:33 ` David Penton
2010-12-31  9:22 ` Peter Dyballa
2010-12-31 14:02   ` David Penton
2010-12-31 14:44     ` Peter Dyballa
2011-01-01  2:07     ` David Penton
2011-01-01 20:55       ` Peter Dyballa
2011-01-02  0:43         ` Peter Dyballa
2011-01-02 21:20           ` David Penton [this message]
2011-01-03  0:22             ` Peter Dyballa
2011-01-03  2:19               ` David Penton
2011-01-03 13:15                 ` Peter Dyballa
2011-01-03 14:25                   ` David Penton
2011-01-03 18:02                     ` Peter Dyballa
2011-01-03 23:43                     ` Peter Dyballa
2011-01-05  0:20                     ` Peter Dyballa
2011-01-07  3:56                       ` David Penton
2011-01-07 10:28                         ` Peter Dyballa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A0F9E5-9581-4484-99DA-71B1D2E54DF2@arqux.com \
    --to=djp@arqux.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.