diff options
author | Michele Calgaro <[email protected]> | 2024-03-09 18:58:02 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 21:16:45 +0900 |
commit | 7a7827396f90ad06945cd5a367f93d8ffd380e0f (patch) | |
tree | c812fa6c9a336fac31583724535fbcf8fd0e5ae0 /lib/kotext/DESIGN | |
parent | ea7a0b4d73337e0e30678300466e668179241348 (diff) | |
download | koffice-7a7827396f90ad06945cd5a367f93d8ffd380e0f.tar.gz koffice-7a7827396f90ad06945cd5a367f93d8ffd380e0f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kotext/DESIGN')
-rw-r--r-- | lib/kotext/DESIGN | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/kotext/DESIGN b/lib/kotext/DESIGN index 12bc2940..7ea038bf 100644 --- a/lib/kotext/DESIGN +++ b/lib/kotext/DESIGN @@ -88,10 +88,9 @@ and _then_ multiplied by 20, instead of loading a 240pt font for that as we did This is implemented by KoTextFormat::charWidth(). On screen, at 100%, a layoutUnitToFontSize(240,false)=(240/20)*1.0=20.0pt font size will be used. -This does NOT depend on the DPI settings. Qt takes care of pt->pixel conversion for fonts. +This does NOT depend on the DPI settings. TQt takes care of pt->pixel conversion for fonts. -When printing... TODO, double-check whether Qt does pt->pixel conversion correctly -(apparently it didn't, in Qt 2). +When printing... TODO, double-check whether TQt does pt->pixel conversion correctly QFont multiplies by 10 and stores into a 'short'... So for QFont the maximum font size is 3276, and in KOffice the maximum font size in points is around 163. |