From 7c71ab86d1f7e387fc3df63b48df07231f111862 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kotext/DESIGN | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kotext/DESIGN') diff --git a/lib/kotext/DESIGN b/lib/kotext/DESIGN index dcb08ca7..4fd1e479 100644 --- a/lib/kotext/DESIGN +++ b/lib/kotext/DESIGN @@ -87,11 +87,11 @@ However font metrics are calculated from the 100%-zoom-level font (e.g. 12pt for and _then_ multiplied by 20, instead of loading a 240pt font for that as we did before. This is implemented by KoTextFormat::charWidth(). -On screen, at 100%, a tqlayoutUnitToFontSize(240,false)=(240/20)*1.0=20.0pt font size will be used. +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. When printing... TODO, double-check whether Qt does pt->pixel conversion correctly -(aptqparently it didn't, in Qt 2). +(apparently it didn't, in Qt 2). 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. -- cgit v1.2.1