You are not logged in.

brad_mssw

Beginner

  • "brad_mssw" is male
  • "brad_mssw" started this thread

Posts: 4

Location: Gainesville, FL

Occupation: Engineer

  • Send private message

1

Thursday, July 1st 2004, 6:55pm

QSimpleRichText alternatives for simple HTML rendering??

Currently, we're generating print-jobs using simple HTML. This works
fantasically with small print jobs like receipts, but when you get into
larger reports (not even too large, just a simple table with say 1000
rows), it takes many minutes to finish the QSimpleRichText initialization
(which I guess is what initially renders the job).

After the initial call, using the draw() function to output the job to
the printer is an acceptable speed. Is there something else I
should be using to process this HTML, specifically for printing?
Please note we support Unix/MacOSX/Windows so we'd prefer a native
Qt solution rather than depending on external libs.
Would it be possible to use QTextBrowser instead? As I think that renders
quite a bit faster, but doesn't appear to implement a draw() suitable
for sending to a QPainter.

Thanks!
-Brad