The pdf you sent me (r50.pdf) lists 9 fonts as it should. I've no idea what's
inside the 3469.pdf.
Paulo
----- Original Message -----
From: Juan Antonio de la Puente
To: itext-questions@lists.sourceforge.net
Cc: Paulo Soares
Sent: Saturday, March 20, 2010 11:13 AM
Subject: Re: [iText-questions] BaseFonts.getDocumentFonts crashes
Thanks, Paulo. Now it behaves like my modified version, i.e,. it lists only
some of the fonts:
$ listfonts 3469.pdf
QTRGMG+Arial-BoldMT
IAJVTI+ArialMT
Where the full list should be much longer:
> QTRGMG+Arial-BoldMT
> GFNNIT+CMTT8
> JEFAMC+CMTI8
> MPZVKG+CMR6
> FNBQTC+CMTI10
> RPBMZT+CMBX10
> XQSMYX+CMMI8
> VLZLUJ+CMMI12
> RJYCLB+CMR10
> VBWGVW+CMBX12
> VPWRDP+CMR7
> SDVCAT+CMSY7
> LBQTEY+CMR8
> IAJVTI+ArialMT
> GFAWRG+CMSY10
> AZDNJY+CMSS10
> RSOCLK+CMSSI8
> OJXOVL+CMSSBX10
> TMCDBM+CMSY8
> NQQKKG+CMSS8
> DQLGMD+Helvetica-Oblique
> FDVTQC+Helvetica-Bold
> ZLWAXE+Helvetica
> VBMYEH+Helvetica
> XIWTIM+CMTT10
>
The same happens with other files,
Best wishes,
-- Juan
> Fixed in the SVN.
>
> Paulo
> ----- Original Message -----
> From: Juan Antonio de la Puente
> To: itext-questions@lists.sourceforge.net
> Cc: Paulo Soares
> Sent: Friday, March 19, 2010 11:43 AM
> Subject: Re: [iText-questions] BaseFonts.getDocumentFonts crashes
>
>
> Hi,
>
> The attached file fails with both the itext version of
> BaseFont.getDocumentFonts and the modified version by me (include in the
test
> program, also attached). With the itext version the only result I get is
>
> listfonts 3469.pdf
> null
>
> and with the modified version I get
>
> $ listfonts 3469.pdf
> QTRGMG+Arial-BoldMT
> IAJVTI+ArialMT
>
> which only includes the TrueType fonts in the file. The full list,
obtained
> with a program based on a previous version of getDocumentFonts, should be:
>
> QTRGMG+Arial-BoldMT
> GFNNIT+CMTT8
> JEFAMC+CMTI8
> MPZVKG+CMR6
> FNBQTC+CMTI10
> RPBMZT+CMBX10
> XQSMYX+CMMI8
> VLZLUJ+CMMI12
> RJYCLB+CMR10
> VBWGVW+CMBX12
> VPWRDP+CMR7
> SDVCAT+CMSY7
> LBQTEY+CMR8
> IAJVTI+ArialMT
> GFAWRG+CMSY10
> AZDNJY+CMSS10
> RSOCLK+CMSSI8
> OJXOVL+CMSSBX10
> TMCDBM+CMSY8
> NQQKKG+CMSS8
> DQLGMD+Helvetica-Oblique
> FDVTQC+Helvetica-Bold
> ZLWAXE+Helvetica
> VBMYEH+Helvetica
> XIWTIM+CMTT10
>
> It looks like the font dictionaries are not properly read. Any ideas?
>
> -- Juan
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/