[
https://issues.apache.org/jira/browse/PIVOT-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124984#comment-13124984
]
Sandro Martini commented on PIVOT-511:
--------------------------------------
Hi all,
after some tests, I'm sorry but even with the double pipeline enabled (default
as currently, and new only for print), using drawGlyphVector / drawString
doesn't solve, or better the label in never printed (tests in appletviewer) ...
but I have other ideas to try (like trying to write the print() method inside
LabelSkin, and see what happens).
Note that at the moment I haven't yet committed something, but if possible
today I'll commit at least the test case for the issue.
As suggested, inside paint() I tried verifying the graphic context, but it
seems it's never a PrintContext ... so is someone has other ideas I'll be happy
to apply.
Let's update soon.
> Labels doesn't appear in Print from Browser
> -------------------------------------------
>
> Key: PIVOT-511
> URL: https://issues.apache.org/jira/browse/PIVOT-511
> Project: Pivot
> Issue Type: Bug
> Components: wtk, wtk-terra
> Affects Versions: 1.5, 1.5.1, 2.0
> Reporter: Sandro Martini
> Assignee: Sandro Martini
> Priority: Minor
> Fix For: 2.0, 2.1
>
> Attachments: Java_Printing.pdf, Kitchen Sink _ Apache Pivot 1.4.pdf,
> Kitchen Sink _ Apache Pivot 1.5.pdf, Kitchen Sink _ Apache Pivot 2.0.pdf,
> Stock Tracker _ Apache Pivot 1.4.pdf, Stock Tracker _ Apache Pivot 1.5.pdf,
> Swing_Pivot Demo.pdf, Swing_Pivot Demo.png
>
>
> From a Browser, Printing a page, for some reason I have all Labels not in
> output (see attached pdf, but the same happens with a print to paper).
> With 1.4 it was not so good but labels were present, while in current 1.5
> pre-release it seems that all is present but not labels.
> This should be a great fix to have in the final 1.5
> This happens on Win XP and Windows 7, both from latest Firefox and IE 8, and
> on all Pivot Applets.
> Sandro
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira