Roderick Johnstone | 13 Jan 2012 12:10
Picon
Picon
Favicon

dvips font issue with embedded graphics file

Hi

I have an issue with fonts in some graphics files embedded by dvips that
are not displaying correctly in the postscript written by dvips. The
issue is fixed using dvips -j0.

Not sure if this is a dvips bug or a problem with my graphics file. I
could provide a simple test case if anyone could help.

Thanks

Roderick Johnstone

Reinhard Kotucha | 13 Jan 2012 19:16
Picon

Re: dvips font issue with embedded graphics file

On 2012-01-13 at 11:10:36 +0000, Roderick Johnstone wrote:

 > Hi
 > 
 > I have an issue with fonts in some graphics files embedded by dvips
 > that are not displaying correctly in the postscript written by
 > dvips. The issue is fixed using dvips -j0.
 > 
 > Not sure if this is a dvips bug or a problem with my graphics
 > file. I could provide a simple test case if anyone could help.

Yes, a simple test case would be helpful.

Regards,
  Reinhard

--

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha@...
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------

Pierre MacKay | 13 Jan 2012 21:25
Picon

Re: dvips font issue with embedded graphics file

On 01/13/2012 03:10 AM, Roderick Johnstone wrote:
> Hi
>
> I have an issue with fonts in some graphics files embedded by dvips that
> are not displaying correctly in the postscript written by dvips. The
> issue is fixed using dvips -j0.
>
> Not sure if this is a dvips bug or a problem with my graphics file. I
> could provide a simple test case if anyone could help.
>
> Thanks
>
> Roderick Johnstone
>
>
If the fonts are contained in the graphics file, DVIPS cannot reach in 
to manage and revise any subsetting done by the graphics program.  There 
is no guarantee that DVIPS would even have access to those fonts, but in 
your instance it clearly did.  So DVIPS did its own subsetting, and the 
arbitrary list of subset references did not happen to be the same as the 
one embedded in the graphic.  When you use -j0, you turn off subsetting 
altogether and embed the entire font in the PS file.  That leaves only 
the subset already supplied for the graphics file, and there is no 
confusion.  For many years I had to do that with the Monotype Superfont 
for Times Roman, because its subsetting conflicted with another Times 
Roman font in the same document.

Pierre MacKay

(Continue reading)

Reinhard Kotucha | 14 Jan 2012 01:27
Picon

Re: dvips font issue with embedded graphics file

On 2012-01-13 at 12:25:16 -0800, Pierre MacKay wrote:

 > On 01/13/2012 03:10 AM, Roderick Johnstone wrote:
 > > Hi
 > >
 > > I have an issue with fonts in some graphics files embedded by dvips that
 > > are not displaying correctly in the postscript written by dvips. The
 > > issue is fixed using dvips -j0.
 > >
 > > Not sure if this is a dvips bug or a problem with my graphics file. I
 > > could provide a simple test case if anyone could help.
 > >
 > > Thanks
 > >
 > > Roderick Johnstone
 > >
 > >
 > If the fonts are contained in the graphics file, DVIPS cannot reach in 
 > to manage and revise any subsetting done by the graphics program.

Does dvips make any attempt to subset fonts in external graphics files
at all unless they contain something described in section 5.1.6. of
the dvips manual?

Regards,
  Reinhard

--

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
(Continue reading)

Tom Rokicki | 14 Jan 2012 01:31
Picon

Re: dvips font issue with embedded graphics file

I do not believe it does.

On Fri, Jan 13, 2012 at 4:27 PM, Reinhard Kotucha
<reinhard.kotucha@...> wrote:
> On 2012-01-13 at 12:25:16 -0800, Pierre MacKay wrote:
>
>  > On 01/13/2012 03:10 AM, Roderick Johnstone wrote:
>  > > Hi
>  > >
>  > > I have an issue with fonts in some graphics files embedded by dvips that
>  > > are not displaying correctly in the postscript written by dvips. The
>  > > issue is fixed using dvips -j0.
>  > >
>  > > Not sure if this is a dvips bug or a problem with my graphics file. I
>  > > could provide a simple test case if anyone could help.
>  > >
>  > > Thanks
>  > >
>  > > Roderick Johnstone
>  > >
>  > >
>  > If the fonts are contained in the graphics file, DVIPS cannot reach in
>  > to manage and revise any subsetting done by the graphics program.
>
> Does dvips make any attempt to subset fonts in external graphics files
> at all unless they contain something described in section 5.1.6. of
> the dvips manual?
>
> Regards,
>  Reinhard
(Continue reading)

Pierre MacKay | 14 Jan 2012 01:43
Picon

Re: dvips font issue with embedded graphics file

On 01/13/2012 04:27 PM, Reinhard Kotucha wrote:
> On 2012-01-13 at 12:25:16 -0800, Pierre MacKay wrote:
>
>   >  On 01/13/2012 03:10 AM, Roderick Johnstone wrote:
>   >  >  Hi
>   >  >
>   >  >  I have an issue with fonts in some graphics files embedded by dvips that
>   >  >  are not displaying correctly in the postscript written by dvips. The
>   >  >  issue is fixed using dvips -j0.
>   >  >
>   >  >  Not sure if this is a dvips bug or a problem with my graphics file. I
>   >  >  could provide a simple test case if anyone could help.
>   >  >
>   >  >  Thanks
>   >  >
>   >  >  Roderick Johnstone
>   >  >
>   >  >
>   >  If the fonts are contained in the graphics file, DVIPS cannot reach in
>   >  to manage and revise any subsetting done by the graphics program.
>
> Does dvips make any attempt to subset fonts in external graphics files
> at all unless they contain something described in section 5.1.6. of
> the dvips manual?
>
> Regards,
>    Reinhard
>
That was my point, I don't think it can do so or does do so, but the 
phenomenon mentioned by Roderick Johnstone matches the effect of 
(Continue reading)

Roderick Johnstone | 14 Jan 2012 10:45
Picon
Picon
Favicon

Re: dvips font issue with embedded graphics file

On 14/01/12 00:43, Pierre MacKay wrote:
> On 01/13/2012 04:27 PM, Reinhard Kotucha wrote:
>> On 2012-01-13 at 12:25:16 -0800, Pierre MacKay wrote:
>>
>>   >  On 01/13/2012 03:10 AM, Roderick Johnstone wrote:
>>   >  >  Hi
>>   >  >
>>   >  >  I have an issue with fonts in some graphics files embedded by
>> dvips that
>>   >  >  are not displaying correctly in the postscript written by
>> dvips. The
>>   >  >  issue is fixed using dvips -j0.
>>   >  >
>>   >  >  Not sure if this is a dvips bug or a problem with my graphics
>> file. I
>>   >  >  could provide a simple test case if anyone could help.
>>   >  >
>>   >  >  Thanks
>>   >  >
>>   >  >  Roderick Johnstone
>>   >  >
>>   >  >
>>   >  If the fonts are contained in the graphics file, DVIPS cannot
>> reach in
>>   >  to manage and revise any subsetting done by the graphics program.
>>
>> Does dvips make any attempt to subset fonts in external graphics files
>> at all unless they contain something described in section 5.1.6. of
>> the dvips manual?
>>
(Continue reading)

Norbert Preining | 14 Jan 2012 10:59
Picon
Favicon
Gravatar

Re: dvips font issue with embedded graphics file

On Sa, 14 Jan 2012, Roderick Johnstone wrote:
> Before we updated to Fedora 16 we were using the stock texlive-2007 in
> Fedora 14 and we did not see this problem.

Because AFAIR there the -j0 was the default ...
The problem is well known and not directly solvable without hacking
a lot of dvips.

So simply *edit* the config.ps file and change to use j0 always.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining <at> {jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
ABERCRAVE (vb.)
To strongly desire to swing from the pole on the rear footplate of a
bus.
			--- Douglas Adams, The Meaning of Liff

Roderick Johnstone | 14 Jan 2012 11:38
Picon
Picon
Favicon

Re: dvips font issue with embedded graphics file

On 14/01/12 09:59, Norbert Preining wrote:
> On Sa, 14 Jan 2012, Roderick Johnstone wrote:
>> Before we updated to Fedora 16 we were using the stock texlive-2007 in
>> Fedora 14 and we did not see this problem.
> 
> Because AFAIR there the -j0 was the default ...
> The problem is well known and not directly solvable without hacking
> a lot of dvips.
> 
> So simply *edit* the config.ps file and change to use j0 always.
> 
Thanks, thats what I've done.

I hadn't realized the default had changed.

Roderick

Robin Fairbairns | 14 Jan 2012 11:54
Picon
Picon
Favicon

Re: dvips font issue with embedded graphics file

Roderick Johnstone <rmj@...> wrote:

> I hadn't realized the default had changed.

remember that jindrich's stuff hasn't been "formally" released.

"j0" is an evil recognition of an evil effect of the old tex font
layouts.  the world would a better place if it weren't necessary.
there's a reasonable argument to say that users should be "required" to
understand it, and to use it only when necessary -- this is, in effect,
what jindrich has done.

i would hesitate to do such a thing ... but then i'm only indirectly
involved in putting distributions together.  (even though i've expunged
-j0 from my own processes.)

r


Gmane