[gs-cvs] rev 8557 - tests/pdf
Leonardo
leonardo at artifex.com
Thu Feb 28 07:37:44 PST 2008
The log message of this patch contains
(or may be treated as containing)
a false information.
A presence of 'cmap' table is not required
neither by PDF spec nor by PLRM.
Thus if there is no other reason than one explained in the log message,
the PDF file to be considered as a correct one.
Leo.
----- Original Message -----
From: <alexcher at ghostscript.com>
To: <gs-cvs at ghostscript.com>
Sent: Thursday, February 28, 2008 6:29 PM
Subject: [gs-cvs] rev 8557 - tests/pdf
> Author: alexcher
> Date: 2008-02-28 07:29:39 -0800 (Thu, 28 Feb 2008)
> New Revision: 8557
>
> Added:
> tests/pdf/no_cmap.pdf
> Log:
> Add an invalid (but accepted by Acrobat Reader) pdf file that includes
> a TT font without a cmap table.
>
>
> Added: tests/pdf/no_cmap.pdf
> ===================================================================
> --- tests/pdf/no_cmap.pdf 2008-02-28 14:56:32 UTC (rev 8556)
> +++ tests/pdf/no_cmap.pdf 2008-02-28 15:29:39 UTC (rev 8557)
> @@ -0,0 +1,381 @@
> +%PDF-1.4
> +%
> +1 0 obj
> +<</Type /Catalog
> +/Pages 2 0 R
> +>>
> +endobj
> +2 0 obj
> +<</Type /Pages
> +/Kids [ 3 0 R
> +]
> +/Count 1
> +>>
> +endobj
> +3 0 obj
> +<</CropBox [ 0
> +0
> +792
> +1224
> +]
> +/Resources <</ProcSet [ /PDF
> +/Text
> +]
> +/Font <</TT432 4 0 R
> +>>
> +>>
> +/Parent 2 0 R
> +/Type /Page
> +/Contents 5 0 R
> +/Rotate 0
> +/MediaBox [ 0
> +0
> +612
> +792
> +]
> +>>
> +endobj
> +5 0 obj
> +<</Length 119
> +>>stream
> +%%%%%%%%%%%%%%
> +0 g
> +1 i
> +BT
> +/TT432 9 Tf
> +8 0 0 8 216 210 Tm
> +(CUF) Tj
> +ET
> +%%%%%%%%%%%%%
> +endstream
> +endobj
> +4 0 obj
> +<</LastChar 255
> +/FontDescriptor 6 0 R
> +/Subtype /TrueType
> +/Encoding /WinAnsiEncoding
> +/Type /Font
> +/Widths 7 0 R
> +/BaseFont /RLPFKK+VinetaBT-Regular
> +/FirstChar 0
> +>>
> +endobj
> +7 0 obj
> +[ 0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +0
> +601
> +601
> +458
> +482
> +349
> +770
> +915
> +1434
> +1038
> +182
> +569
> +569
> +633
> +834
> +458
> +518
> +458
> +543
> +915
> +915
> +915
> +915
> +915
> +915
> +915
> +915
> +915
> +915
> +482
> +482
> +834
> +834
> +834
> +864
> +1001
> +1205
> +1080
> +1022
> +1097
> +1022
> +1010
> +1178
> +1186
> +626
> +911
> +1138
> +941
> +1404
> +1188
> +1050
> +1073
> +1050
> +1138
> +927
> +1126
> +1172
> +1158
> +1516
> +1149
> +1155
> +999
> +569
> +543
> +569
> +1001
> +501
> +501
> +970
> +981
> +827
> +970
> +859
> +609
> +984
> +1029
> +590
> +509
> +1003
> +590
> +1449
> +1029
> +859
> +981
> +969
> +811
> +827
> +573
> +1017
> +951
> +1185
> +973
> +950
> +774
> +501
> +501
> +501
> +834
> +601
> +601
> +601
> +459
> +682
> +833
> +1001
> +672
> +672
> +501
> +2020
> +927
> +482
> +1348
> +601
> +999
> +601
> +601
> +459
> +459
> +833
> +833
> +591
> +501
> +1001
> +501
> +834
> +827
> +482
> +1309
> +601
> +774
> +1155
> +915
> +482
> +664
> +915
> +607
> +1155
> +501
> +723
> +501
> +834
> +679
> +812
> +834
> +518
> +834
> +501
> +330
> +834
> +604
> +604
> +501
> +643
> +501
> +458
> +501
> +604
> +602
> +812
> +1526
> +1526
> +1526
> +864
> +1205
> +1205
> +1205
> +1205
> +1205
> +1205
> +1467
> +1022
> +1022
> +1022
> +1022
> +1022
> +626
> +626
> +626
> +626
> +1097
> +1188
> +1050
> +1050
> +1050
> +1050
> +1050
> +834
> +1050
> +1172
> +1172
> +1172
> +1172
> +1155
> +1073
> +959
> +970
> +970
> +970
> +970
> +970
> +970
> +1227
> +827
> +859
> +859
> +859
> +859
> +590
> +590
> +590
> +590
> +859
> +1029
> +859
> +859
> +859
> +859
> +859
> +834
> +859
> +1017
> +1017
> +1017
> +1017
> +950
> +981
> +950
> +]
> +endobj
> +6 0 obj
> +<</FontBBox [ 0
> +-420
> +2145
> +930
> +]
> +/Flags 32
> +/Type /FontDescriptor
> +/StemV 0
> +/Descent -420
> +/FontFile2 8 0 R
> +/ItalicAngle 0
> +/Ascent 930
> +/CapHeight 580
> +/FontName /RLPFKK+VinetaBT-Regular
> +>>
> +endobj
> +8 0 obj
> +<</Length1 6880
> +/Length 6880
> +>>stream
> + 0OS/2bڼNcvt i! rfpgmapAglyf;Qheadg6hhea% $hmtx'C$ locan
>
> +maxp D
post<Cprep) ^YGGf Bits@
> q\Hۜ\=h55-L\
ۼ#w?=qm
'
=\;
#j{{#Hs;;d=oX\Pч夜1=w#=JJ^Jfs)bF3o)7f+H^1^^^^++/JJռJ1++++/;BL++B+bs;oP
> +ע/L?VB%NJJBBb
}J^fs)V}'3o){\
> +w@, %Id at QX Y!-,%Id at QX Y!-, P
> y PXY
%%# P
> y PXY
%-,KPX
> 8EDY!-,%E`D-,KSX%%EDY!!-,ED-ff*A!!/10!%!!fsr)7
> $A at P>(18%
> >
> +8
> 4>
> +(482.(B5
> 31;+A
1"13%;%+%B9999991229990!"$'3
> !!&&54632&&#"%! !25!!&&#"3267`"
> +p+3f'v(ZJn*/jh)Ra+d{/hz523!J
Ѐv43xȜ^}Zg_#%
^
> +. at W!
> +.,
%'#
)
> &*, $"*
> (,
($-
$/2222<21/222222<220!!!!#!5!#!!'5!!5!!!!!!3}Ӝ?l!/u\m'%X˛LL+p/3#
> ;^
> *-N at a7G
4*:AM'77G,%
+!?;2.=0#GO3.<;
:>>:<@$"1&!1;3/-@.+.$O22991<<<229990!!#"&''32$76655'3!3#&&5'%!5!#3265#5!!!"$'&&55
> T<syJ<I^cWӢ[E
ը͝y)1[Y\L3+G\h+Q>wqRgR1:QMQ'\+h^xGHqIJAxgDGJCV_<;@;@qq'fL'Po
> w=L`sLow)#HVP;PP\PdPP\P;PPNPTٲ!`R
> ##+7#+%% j9 {##H# %# 9# #d=#d3 #h7 # ^# B! # /#
> ;#BoVwH#
/!%N9##### #9###1{#1!#
> y/' # #+7+% #d=
> ^#HHHHHH
!!!!##9######!#!#!#!#^bNdPǮ3
#jj
> #d# ;##Z;1m3m3m- 'JqVLs\}=}sP # #d=
> +
> +w%-9-9 ;#==s m% m%^b)3'= #+%
> #+%+%#
#d=d=Rqd= ^# ^# ^##w%\
> +w
> +h71B/'# ;### =B 3 3 3?%
> j9N#h71+7
+7
/#H**************************************~~~~~~~~~~~~~~~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
> @ V
> +
>
> !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~periodcentered
> sfthyphenA656a654}3}2}1}0}/}.}-},}+}*})}(}'}&}%}$}#}"}!
> :
>
!
Y&Y@&
> K }
> +>
> k}G}:}K:Aۖ}}}}::GG˔a˔ˀ.a@.::,},}}}>%%%
GGAAAdAAY&Y@&}}}}}}}}}}}}}~}||wu%tKsSr}qoSnmkkjiShgkecbcDb_^]ZYWV%V%TSTSN::NM
> :MLJIHGF:AGF:ED:EDD:CBA@??>%=<d<;::;::9877}654321:0/.:-,+},+}*)*)'&%$#"}!
> 7! 7
:dd}:::
>
> +
> + :}}A
> +d+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
endstream
> +endobj
> +xref
> +0 9
> +0000000000 65535 f
> +0000000015 00000 n
> +0000000063 00000 n
> +0000000121 00000 n
> +0000000476 00000 n
> +0000000309 00000 n
> +0000001708 00000 n
> +0000000652 00000 n
> +0000001907 00000 n
> +trailer
> +<</Size 9
> +/ID [ (\352\224~?\346\tP\311\354\374\327_\240IK\020)
> +(\334\224\000\2253z\024\013\315\327\004\331\034}y\327)
> +]
> +/Root 1 0 R
> +>>
> +startxref
> +8850
> +%%EOF
>
>
> Property changes on: tests/pdf/no_cmap.pdf
> ___________________________________________________________________
> Name: svn:executable
> + *
>
> _______________________________________________
> gs-cvs mailing list
> gs-cvs at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-cvs
>
More information about the gs-cvs
mailing list