Opened 2 years ago

Last modified 7 weeks ago

#13313 new bug

Print to file (PDF) not working...

Reported by: bruno Owned by: phoudoin
Priority: normal Milestone: Unscheduled
Component: Printing Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86-64

Description (last modified by diver)

using Haiku x86 hrev50955

StyleEdit... Trying to print text (noto sans.ttf) Options: PDF 1.3 using PDFWriter and print to file... No compression... print range: page 1 to 1 (default=2345667755) output: text with black background (sure! text not visible) sometimes text will be rendered and corrupt.

Attachments (5)

syslog (233.2 KB) - added by bruno 2 years ago.
print_addon_server-773-debug-18-02-2017-16-05-10.report (13.1 KB) - added by vidrep 2 years ago.
print_addon_server-773-debug-18-02-2017-16-05-40.report (14.0 KB) - added by vidrep 2 years ago.
printallpages.png (8.6 KB) - added by bruno 2 years ago.
errorlog.png (102.7 KB) - added by bruno 2 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 2 years ago by diver

Component: - GeneralPrinting
Description: modified (diff)
Owner: changed from nobody to phoudoin
Platform: x86All
Priority: blockernormal

comment:2 Changed 2 years ago by humdinger

As the ticket says "using Haiku x86 hrev50955", I assume it's a gcc5-only build? On gcc2hybrid hrev50953 at least, printing to PDF workd for me with StyledEdit, BePDF, Showimage and (badly) Terminal.

comment:3 Changed 2 years ago by bruno

it is a x86 gcc2 build.. I will attach the syslog...

Changed 2 years ago by bruno

Attachment: syslog added

comment:4 Changed 2 years ago by vidrep

I tried to replicate with slighly different result. Print to file from StyledEdit text document with PDF Writer causes the print_add-on_server to hang, one CPU core to peg at 100%, and no data in preview window. However, the PDF is created, and displays correctly when opened with BePDF. I attached the debugger to the print_add-on_server, and have attached reports for the debugged threads.

Last edited 2 years ago by vidrep (previous) (diff)

Changed 2 years ago by bruno

Attachment: printallpages.png added

Changed 2 years ago by bruno

Attachment: errorlog.png added

comment:5 Changed 2 years ago by bruno

Btw... ShowImage is printing without problems to file (PDF!)

comment:6 Changed 3 months ago by vidrep

This is a regression. Confirmed not working on hrev52716 x86_64.

comment:7 Changed 7 weeks ago by diver

Platform: Allx86-64

Just stumbled upon this bug and can confirm that printing to PDF works under 32 bit Haiku and doesn't under x86_64. Under 32 bit Haiku PDF Writer causes the print_add-on_server to hang, one CPU core to peg at 100% as reported above.

comment:8 Changed 7 weeks ago by diver

High CPU usage is being tracked in #9429.

Note: See TracTickets for help on using tickets.