[Development] QTextDocument device scaling
Nils Jeisecke
jeisecke at saltation.de
Wed Sep 23 16:37:24 CEST 2015
Hi,
I'm currently working on a new feature to enhance QTextDocument's
table rendering with CSS style border formatting (individual settings
for left/right/top/bottom borders of table cells and border-collapse
mode).
While doing this I've stumbled over some inconsistencies regarding
scaling of table/frame format settings to the output device. Examples:
Format settings scaled to the device:
- QTextTableFormat::cellSpacing and cellPadding
- frame width
- table column widths
Format settings not scaled to the device:
- QTextFrameFormat:topMargin, bottomMargin, border
- frame height
Do I miss something here?
Nils
More information about the Development
mailing list