I have done clean, identical, installs of PB 6.04, 6.02, and 6.01. The only one of the three that properly renders rtf on my machine is PB 6.01.
"My Machine" is a 2 year old HP running Win10, 32gb/1tb memory.
Here's something to try on your computer:
Code: Select all
Msg$ = "{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}" +
"{\*\generator Riched20 10.0.19041}\viewkind4\uc1 " +
"\pard\sa200\sl276\slmult1{\f0\fs22 " +
"{\b This is a test rtf} to demonstrate\line " +
"\i PureBasic 6.04 doesn't do rtf.\i0\line " +
"\b PureBasic 6.02, also doesn't.\b0\line " +
"\b\i But PureBasic 6.01 DOES.\i0\b0 }}"
If OpenWindow(#PB_Any, 0, 0, 250, 300, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Ed = EditorGadget(#PB_Any, 5, 5, 240, 250, #PB_Editor_ReadOnly)
SetGadgetText(Ed, Msg$)
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf
Thanks,
Bill