I am using WPTools V4.22, WPTools 4.22 RTF Engine, and WPForm V2.3. I am having a problem using Rich Text in my designs.
I call the aRTFTEXT action from the WPA unit to create these rich text objects. The editor works fine rendering the text correctly while in edit mode. However, when the object refreshes after the inplace editor closes, the text in the object becomes almost unreadable. If I go back into edit mode on an rtf object, the text rerenders correctly while in edit mode. I've tried many fonts to see if it was font related, but the problem persists regardless of font selected. I have narrowed the cause of the display error to the form editor AutoZoom setting. If the AutoZoom is NOT set to wpfAutoZoomOff, the text will render poorly.
I realize that if the autoZoom causes significant reduction of the font size, "greeking" of the text image will result. However, I am dealing with a page size that is 8.5 x 3.6 inches which causes approximately a font size reduction to 70% of the actual size at 800x600 resolution, which should not be unrenderable. The fact that calling the inplace editor cleans up the text perfectly even when AutoZoom is NOT set to wpfAutoZoom proves that the text can be rendered correctly at that resolution and page size.
I have been able to reproduce this error using the "reporter" demo program.
Is there some way to get rtf text objects to refresh using the same procedure that the inplace editor does upon entering edit mode? This would solve the problem.
Thanks in advance for your help.
- Steve Kowal