richedit: Enforce the maximum font size

Dylan Smith dylan.ah.smith at
Fri Jul 11 19:05:57 CDT 2008

Trying to set the font size to a value larger than 1638
in points (yHeightCharPtsMost) using EM_SETCHARFORMAT will cause it to be
set to actually set to the maximum.

This can be tested in Wine's wordpad by trying to set the font size to a
large value, then changing the selection to have the font size on the
toolbar get updated.
 dlls/riched20/style.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Enforce-the-maximum-font-size.diff.txt

More information about the wine-patches mailing list