Qt4.6: QTextDocument <HR> tag prints only very thin, almost invisible hair lines
Posted
by hurikhan77
on Stack Overflow
See other posts from Stack Overflow
or by hurikhan77
Published on 2010-06-14T10:32:45Z
Indexed on
2010/06/14
11:12 UTC
Read the original article
Hit count: 283
When printing a QTextDocument
with doc->print()
I almost cannot see the horizontal rules inserted by <hr>
. When printing to PDF these are clearly visible. But when printed to a printer these lines are very very thin lines, almost invisible on the paper.
How do I fix this? I currently helped myself by inserting an <img>
with a black pixel but this is very cumbersome as I have to exactly figure out the proper pixel width by trial and error.
© Stack Overflow or respective owner