Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem? More findings

2007-01-20 Thread Michal Kvasnicka
Good evening.

I found some more puzzling things. I write them here fore anybody who
may be interested. :-)

I tried to typeset a document using two font families: TrueType Gentium
by SIL, and Adobe OpenType Myriad. First I converted Myriad to Type1
using fontforge, then I prepared metrics for all fonts with TeXFont
using ec-lm encoding. I found this:

(1) Any ConTeXt document produced by pdfetex 1.40.1 (even this one:
\setupoutput[pdf]
\starttext
\input tufte
\stoptext
makes my GhostScript (gs Ghostscript 8.15.3 under SuSE Linux 10.1) die
with this error:
    Warning:  An error occurred while reading an XREF table.
    The file has been damaged.  This may have been caused
    by a problem while converting or transfering the file.
    Ghostscript will attempt to recover the data.
   ERROR: /undefined in /BXlevel
etc. However, if I make a ps-file out of it using AdobeReader, I can
view/print it with my GhostScript.
The newest Ghostscript (Ghostscript 8.54 (2006-05-17)) doesn't write
this error message but the rest of problems (see below) is the same.

(2) When I typeset my document only with the Gentium font, or only with
the Myriad font, or with a combination of the Gentium and LatinModern,
or the Gentium and TrueType version of Myriad (made fontforge), the
outcome is the same as (1).

(3) If I try to combine TrueType Gentium and Type1 Myriad, my
GhostScript failes to view/print it properly: strange letters appear in
the text.

I've got no idea what's wrong. By the way, my input regime is now utf8.

Do you thing this is problem of ConTeXt, or pdfetex, or GhostScript?
Whom should I tell it?

Yours
Michal Kvasnicka

P.S. I apologize to all of you who are bothered by this topic.

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem? More findings

2007-01-20 Thread George N. White III
On 1/20/07, Michal Kvasnicka [EMAIL PROTECTED] wrote:
 Good evening.

 I found some more puzzling things. I write them here fore anybody who
 may be interested. :-)

 I tried to typeset a document using two font families: TrueType Gentium
 by SIL, and Adobe OpenType Myriad. First I converted Myriad to Type1
 using fontforge, then I prepared metrics for all fonts with TeXFont
 using ec-lm encoding. I found this:

 (1) Any ConTeXt document produced by pdfetex 1.40.1 (even this one:
 \setupoutput[pdf]
 \starttext
 \input tufte
 \stoptext
 makes my GhostScript (gs Ghostscript 8.15.3 under SuSE Linux 10.1) die
 with this error:
 Warning:  An error occurred while reading an XREF table.
 The file has been damaged.  This may have been caused
 by a problem while converting or transfering the file.
 Ghostscript will attempt to recover the data.
ERROR: /undefined in /BXlevel
 etc.

There was a gs bug (#688787 /undefined in /BXlevel) for this error,
but in that case the pdf file really was corrupt although the user
said it worked with Adobe Reader.

I tried your first test on Fedora Core 5 with TL2007 (test inst iso
from 20070115) which also has a gs-8.15 version, and don't get an
error.

[EMAIL PROTECTED] TL2007]$ cat cont-try.tex
\setupoutput[pdf]
\starttext
\input tufte
\stoptext
[EMAIL PROTECTED] TL2007]$ texmfstart texexec cont-try
[...]
This is pdfTeXk, Version 3.141592-1.40.1 (Web2C 7.5.6)
 \write18 enabled.
 %-line parsing enabled.
 (/mnt/hdb/opt/tex/texlive/2005/texmf/web2c/natural.tcx)
entering extended mode
(./cont-try.tex

ConTeXt  ver: 2006.08.08 21:51  fmt: 2007.1.14  int: english  mes: english
[...]

[EMAIL PROTECTED] TL2007]$ pdffonts cont-try.pdf
name type emb sub uni object ID
  --- --- --- -
ORKXYQ+LMRoman12-Regular Type 1   yes yes yes  5  0

[EMAIL PROTECTED] TL2007]$ pdfinfo cont-try.pdf
Title:  cont-try
Subject:
Keywords:
Author:
Creator:ConTeXt - 2006.08.08 21:51
Producer:   pdfTeX-1.40.1
CreationDate:   Sat Jan 20 15:29:21 2007
ModDate:20070120
Tagged: no
Pages:  1
Encrypted:  no
Page size:  595.276 x 841.89 pts (A4)
File size:  26205 bytes
Optimized:  no
PDF version:1.5

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context