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 Gordon Flood <gx...@akc.org> on 2006/01/12 01:22:37 UTC
Re: PFM font embedding problems.
> I have experienced problems with this embedding inside the PDF document.
> When attempting to open the PDF in Adobe Acrobat Reader 5.0,
> this message pops up:
> "Unable to extract the embedded font 'StandardGroteskBSK-Regular'.
> Some characters may not display or print correctly."
> It then defaults to Helvetica. "Using Helvetica instead"
>
I had the same problem with FOP 0.20.5 standalone. I hand-edited the xml font
metrics file to match the pfb and afm files for BoundBox etc. to no effect.
Not to suggest that this is always the cause, but I was passing the -noedit
parameter to FOP. When I removed the -noedit parameter and made no other change,
the font embedded correctly. When I added -noedit back, the font again failed to
embed.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Borders with 0.5pt in size renders improperly (0.20.5)
Posted by mk...@exceldata.com.
Ok, thx
Is this a general AWT issue or something with FOP (the AWTRenderer)?
(which perhaps is solved in 0.91?)
/Mikael
Med venlig hilsen / Best regards / Mit freundlichen GrĂ¼ssen
Mikael Andersen - Systemkonsulent
Excel Data A/S - Merkurvej 801 - DK-7400 Herning - www.exceldata.com
Tel.: +45 7214 4100 - Fax: +45 7214 4199
Dir.: +45 7214 4145
E-mail: mka@exceldata.com
"J.Pietschmann" <j3...@yahoo.de>
12-01-2006 21:56
Please respond to
fop-users@xmlgraphics.apache.org
To
fop-users@xmlgraphics.apache.org
cc
Subject
Re: Borders with 0.5pt in size renders improperly (0.20.5)
mka@exceldata.com wrote:
> This works nicely with the PDF renderer (i.e. the PDF looks good -
borders
> are thinner and complete), but the AWTRenderer (used for preview +
print)
> doesn't render it properly.
...
> Is this a known limitation of the AWT rendering
Yes.
J.Pietschmann.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Borders with 0.5pt in size renders improperly (0.20.5)
Posted by "J.Pietschmann" <j3...@yahoo.de>.
mka@exceldata.com wrote:
> This works nicely with the PDF renderer (i.e. the PDF looks good - borders
> are thinner and complete), but the AWTRenderer (used for preview + print)
> doesn't render it properly.
...
> Is this a known limitation of the AWT rendering
Yes.
J.Pietschmann.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Borders with 0.5pt in size renders improperly (0.20.5)
Posted by mk...@exceldata.com.
Hello,
I'm currently using FOP 0.20.5 (haven't had time to try out 0.90 / 0.91
yet), to print tables. My FO consists of cells with the following
structure:
<table-cell border-left-width="0.5pt" border-right-width="0.5pt"
border-top-width="0.5pt" border-bottom-width="0.5pt"
border-before-style="solid" border-before-color="#000000"
border-after-style="solid" border-after-color="#000000"
border-start-style="solid" border-start-color="#000000"
border-end-style="solid" border-end-color="#000000"
padding-top="0.6515805553926605mm" padding-bottom="0.6515805553926605mm"
padding-left="0.6515805553926605mm" padding-right="0.6515805553926605mm"
font-size="6.517pt" color="#000000" background-color="#B2C7DB"
text-align="left" column-number="5">
<block>Johannes Mortensen</block>
</table-cell>
To "fit" a table to a single page, some pre-FOP code executes, which
determines FOP column-widths and font-size from an input table (in this
case Swing) and reduces column-widths and font-sizes proportionally to
make the table "fit-to-page". However when doing this the borders
(previously of size 1pt) becomes very dominating (i.e. too thick), so I
wanted to reduce the border-width to 0.5pt.
This works nicely with the PDF renderer (i.e. the PDF looks good - borders
are thinner and complete), but the AWTRenderer (used for preview + print)
doesn't render it properly. The top + left border is drawn "inside" the
cell (i.e. part of cell background is visible on the outside of the
border), and the left/right borders doesn't connect to the bottom border
(on some cells).
Is this a known limitation of the AWT rendering or can anyone give me a
hint as to what I'm doing wrong?
Med venlig hilsen / Best regards / Mit freundlichen GrĂ¼ssen
Mikael Andersen - Systemkonsulent
Excel Data A/S - Merkurvej 801 - DK-7400 Herning - www.exceldata.com
Tel.: +45 7214 4100 - Fax: +45 7214 4199
Dir.: +45 7214 4145
E-mail: mka@exceldata.com