richedit: Corrected the conversion used for the initial font size.

Dylan Smith dylan.ah.smith at
Fri May 23 08:08:59 CDT 2008

The LOGFONT's lfHeight member is in logical units, and is being used to
set the yHeight member of CHARFORMAT2 which is supposed to be in twips.
Previously the wrong conversion was being made, from twips to points, so
this conversion was corrected to a logical units to twips conversion.
 dlls/riched20/para.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-richedit-Corrected-the-conversion-used-for-the-initi.diff
Type: text/x-diff
Size: 641 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list