I cannot figure out how to pass a custom TTF file to use as the default font for all text in SfRichTextEditor. The TTF file already works in Xamarin Forms in various pages in my project, but SfRichTextEditor refuses to use it.
To reproduce this issue, I used this SF sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Font_Family-1369712876
I inserted the "DefaultFontFamily" XAML directive in MainPage.xaml as shown in the attached image, and nothing happens. This is using one of the fonts included with the sample and it still does not work!
Can anyone tell me the correct syntax for using these custom TTF fonts in SfRichTextEditor?
Thank you, it would be greatly appreciated, it seems I'm missing something simple. Might be worth adding an example of this to the documentation for SfRichTextEditor, which otherwise works very well! The documentation for SfRichTextEditor only states:
"
The DefaultFont property accepts fonts as Embedded source, System Font Name, or Base64 TTF string."
But it doesn't actually show you the syntax to use when specifying an embedded resource. I also tried system fonts and it didn't seem to work either.