ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Error: Illegal entry in bfrange block in ToUnicode CMap
@ 2008-04-14 13:16 luigi scarso
  2008-04-14 13:52 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2008-04-14 13:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I have a catalog.pdf

Title:          catalog
Subject:
Keywords:
Author:
Creator:        ConTeXt - 2008.04.11 00:07
Producer:       luaTeX-0.25.2
CreationDate:   Mon Apr 14 14:58:34 2008
ModDate:        20080414
Tagged:         no
Pages:          158
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
File size:      70685151 bytes
Optimized:      no
PDF version:    1.5

 with this fonts

name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
MDCNZX+LMSans10-Bold                 CID Type 0C  yes yes yes     13  0
IGGGUK+LMSans8-Regular               CID Type 0C  yes yes yes     14  0
GZMKLC+UnicodeSymbols                CID TrueType yes yes yes     94  0
PTHJMN+LMTypewriter10-Regular        CID Type 0C  yes yes yes    855  0
WRYWGB+LMMathItalic8-Italic          Type 1       yes yes no     957  0

After "distilling" with
$>  gs -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor
-dProcessColorModel=/DeviceCMYK -sDEVICE=pdfwrite -sOutputFile=a.pdf
catalog.pdf -c quit

I have
$> pdffonts a.pdf

Producer:       GPL Ghostscript 8.62
CreationDate:   Mon Apr 14 15:06:11 2008
ModDate:        Mon Apr 14 15:06:11 2008
Tagged:         no
Pages:          158
Encrypted:      no
Page size:      595.28 x 841.89 pts (A4)
File size:      24409214 bytes
Optimized:      no
PDF version:    1.4

name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
YPEQNS+LMSans8-Regular-Identity-H    CID Type 0C  yes yes yes     27  0
YXQHXP+LMSans10-Bold-Identity-H      CID Type 0C  yes yes yes     24  0
BCGFHD+UnicodeSymbols-Identity-H     CID TrueType yes yes yes    139  0
VOBVYK+LMTypewriter10-Regular-Identity-H CID Type 0C  yes yes yes   1144  0
IAAFVL+LMMathItalic8-Italic          Type 1C      yes yes no    1286  0

and many ( 4516 lines )
Error: Illegal entry in bfrange block in ToUnicode CMap

What is this ?
Maybe a xpdf bug ?
(xpdf version 3.01)


Note that gs has no problems with both files .



My setup :
This is LuaTeX, Version snapshot-0.25.2-2008041413
ConTeXt  ver: 2008.04.11 00:07 MKIV  fmt: 2008.4.14  int: english/english

-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Illegal entry in bfrange block in ToUnicode CMap
  2008-04-14 13:16 Error: Illegal entry in bfrange block in ToUnicode CMap luigi scarso
@ 2008-04-14 13:52 ` Taco Hoekwater
  2008-04-14 13:56   ` luigi scarso
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2008-04-14 13:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users



luigi scarso wrote:
> 
> and many ( 4516 lines )
> Error: Illegal entry in bfrange block in ToUnicode CMap

Is the error in the original pdf or in the redistilled one?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Illegal entry in bfrange block in ToUnicode CMap
  2008-04-14 13:52 ` Taco Hoekwater
@ 2008-04-14 13:56   ` luigi scarso
  2008-04-14 14:04     ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2008-04-14 13:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>  Is the error in the original pdf or in the redistilled one?
in the redistilled one
-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Illegal entry in bfrange block in ToUnicode CMap
  2008-04-14 13:56   ` luigi scarso
@ 2008-04-14 14:04     ` Taco Hoekwater
  2008-04-14 14:47       ` luigi scarso
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2008-04-14 14:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users



luigi scarso wrote:
>>  Is the error in the original pdf or in the redistilled one?
> in the redistilled one

Then it's easy: it is a ghostscript bug.

Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Illegal entry in bfrange block in ToUnicode CMap
  2008-04-14 14:04     ` Taco Hoekwater
@ 2008-04-14 14:47       ` luigi scarso
  2008-04-14 15:00         ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2008-04-14 14:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>  Then it's easy: it is a ghostscript bug.
or maybe a xpdf bug,
given that ghostscript has no problem to show it.

BTW, what does this error mean ?

-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Illegal entry in bfrange block in ToUnicode CMap
  2008-04-14 14:47       ` luigi scarso
@ 2008-04-14 15:00         ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2008-04-14 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users



luigi scarso wrote:
>>  Then it's easy: it is a ghostscript bug.
> or maybe a xpdf bug,
> given that ghostscript has no problem to show it.
> 
> BTW, what does this error mean ?

ToUnicode CMaps vectors in PDF are used to aid in searches,
and they have a pretty strict "official" format. Your pdf file
is apparently breaking one of the constraints.

I am fairly certain of that, because some of the constraints
are a cumbersome and seemingly arbitrary so it is likely that
both gs and AR just ignore them. If you want to be really sure,
you can send me the file, and I can have a precise look.

Best wishes,
Taco




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-14 15:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14 13:16 Error: Illegal entry in bfrange block in ToUnicode CMap luigi scarso
2008-04-14 13:52 ` Taco Hoekwater
2008-04-14 13:56   ` luigi scarso
2008-04-14 14:04     ` Taco Hoekwater
2008-04-14 14:47       ` luigi scarso
2008-04-14 15:00         ` Taco Hoekwater

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 NNTP newsgroup(s).