Hello,
we do a mobile project in Delphi 10.2 (Tokyo) and use your TMSFMXRichEditor and TMSFMXRichEditorRTFIO components. When I try to load a RTF-File the color of the text is wrong.
The text should look like this
but if I load the file TMSFMXRichEditorRTFIO1.load(System.IOUtils.TPath.Combine( System.IOUtils.tpath.GetHomePath+ System.IOUtils.TPath.DirectorySeparatorChar + 'Documents', 'Adresse.rtf'));
it looks like this:
This is the rtf-file:
{\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0{\fonttbl{\f0\fnil Arial;}{\f1\fnil verdana;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red255\green153\blue0;}
\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f1\fs20 Das \plain \f1\fs20\cf17 ist\plain \f1\fs20 \plain \f1\b\fs20 ein\plain \f1\fs20 Testeintrag\par}
TMS Version of the components: v3.5.2.0
Is this a bug?
Nice greetings from Austria
Gernot
Thanks for reporting. We could trace & solve this issue in RTF parsing. The next update will have this addressed.