You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Anagnostou, Fotini" <f....@i-docs.com> on 2011/04/28 15:27:00 UTC
Find font referenced in pdf
Hello all!
We are using Apache FOP 1.0 to produce pdf files.
>From time to time the customer complains that they cannot print them.
In order to find out why this happens we send them to the printing company to investigate the issue.
The answer was that they noticed a font reference to /F1 in the content stream.
Here is a part of the content stream:
q
1 0 0 -1 0 841.889 cm
q
0 g
BT
/F1 0 Tf
1 0 0 -1 0 0 Tm ET
0 0 28.346001 5.669 re f
Q
q
1 0 0 1 586.771 -7.483 cm
q
q
8.503 0 0 -2.742 0 10.266 cm /Im2 Do
Q
Q
Q
Q
We do not understand how this font is referenced.
We cannot find this font listed anywhere and the file is binary encoded so we cannot find it there either..
Is there a way to find which pdf files have a reference to this font so that we have a way to reproduce it?
Do you know any tool that shows the fonts that are referenced in a pdf?
Regards,
Fotini Anagnostou
Usinf FOP 1.0
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Find font referenced in pdf
Posted by Chris Bowditch <bo...@hotmail.com>.
On 28/04/2011 14:27, Anagnostou, Fotini wrote:
> Hello all!
Hi,
> We are using Apache FOP 1.0 to produce pdf files.
>
> We do not understand how this font is referenced.
> We cannot find this font listed anywhere and the file is binary encoded so we cannot find it there either..
/F1 is the internal Font reference created by FOP. You won't find that
in any external files, e.g. fop.xconf.
> Is there a way to find which pdf files have a reference to this font so that we have a way to reproduce it?
> Do you know any tool that shows the fonts that are referenced in a pdf?
Use a PDF Disassembler tool to analyze the PDF structure. In the past I
have used the PDFDebugger class that comes with PDF Box to view the
contents of the PDF. From there you will be able to find out the real
font name for F1.
Thanks,
Chris
> Regards,
>
> Fotini Anagnostou
> Usinf FOP 1.0
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org