Page 1 of 1

Crash on Print Preview (RichViewActions)

Posted: Mon Nov 13, 2006 8:38 am
by marcpleysier
When previewing this file
http://www.solune.com/interne/RV_preview_crash.rvf
in RichViewActions editor, the following error occurs :
"Débordement d'entier"
The error message is in French (my Delphi and Windows language), even if RV editor isn't localised.
The message translated in English might be
"Integer overflow"

Posted: Tue Nov 14, 2006 7:10 pm
by Sergey Tkachenko
Confirmed. It may happen when previewing text formatted with raster (not TrueType) font.
Fix: Open RVStyle.pas, find two calls of RVU_GetTextExtentExPoint, change the 3rd parameter from Width*2 to $FFFFFFF.