Fix (PDF interpreter) : A more explanatory message when a CID font is missing.
"Leonardo" <[email protected]> Sat, 3 Jan 2009 18:07:44 +0300
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
------=_NextPart_000_0003_01C96DCE.2CEC3D20
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit
[Log message beg]
Fix (PDF interpreter) : A more explanatory message when a CID font is
missing.
DETAILS :
Bug 688770 "/undefinedresource in --findresource--".
The patch prints which CID font is missing,
and a better explanation about CID font substitution and
about the related exit with error.
EXPECTED DIFFERENCES :
None.
[Log message end]
------=_NextPart_000_0003_01C96DCE.2CEC3D20
Content-Type: text/plain; format=flowed; name="patch.txt"; reply-type=original
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="patch.txt"
Not committed yet.
[Log message beg]
Fix (PDF interpreter) : A more explanatory message when a CID font is =
missing.
DETAILS :
Bug 688770 "/undefinedresource in --findresource--".
The patch prints which CID font is missing,
and a better explanation about CID font substitution and
about the related exit with error. =20
EXPECTED DIFFERENCES :
None.
[Log message end]
=20
=20
=20
=20
*** F:\SVN-GS\gs\gs\Resource/Init\pdf_font.ps Tue Dec 9 11:02:30 2008
--- files\gs\Resource/Init\pdf_font.ps Sat Jan 3 17:53:32 2009
***************
*** 1330,1333 ****
--- 1330,1336 ----
exit
} if
+ QUIET not {
+ (Can't find CID font ") print dup =3Dstring cvs print (".) =3D =20
+ } if
pop
=20
***************
*** 1336,1345 ****
cvn
QUIET not {
! (Substituting CID font resource) print dup =3D=3Donly
( for ) print 1 index =3D=3Donly (.\n) print
} if
exch pop
! /CIDFont findresource
! exit
} loop
} bdef
--- 1339,1354 ----
cvn
QUIET not {
! (Substituting CID font resource ) print dup =3D=3Donly
( for ) print 1 index =3D=3Donly (.\n) print
} if
exch pop
! dup /CIDFont resourcestatus {
! pop pop /CIDFont findresource exit=20
! } if
! QUIET not {
! (The substitute CID font ") print dup =3Dstring cvs print=20
! (" is not provided either. Will exit with error.) =3D =20
! } if
! /findresource cvx /undefined signalerror
} loop
} bdef
=20
------=_NextPart_000_0003_01C96DCE.2CEC3D20
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
gs-code-review mailing list
[email protected]
http://www.ghostscript.com/mailman/listinfo/gs-code-review
------=_NextPart_000_0003_01C96DCE.2CEC3D20--