We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Control of fonts

Thread ID:

Created:

Updated:

Platform:

Replies:

150093 Dec 20,2019 04:44 AM UTC Dec 23,2019 12:58 PM UTC Xamarin.Forms 1
loading
Tags: SfRichTextEditor
Thaine Norris
Asked On December 20, 2019 02:36 PM UTC

Is an update to the SfRichTextEditor coming that will allow control of the fonts? Our Xamarin.Forms app has embedded fonts in it that we are able to use successfully within all the XAML elements of the app. It would be great to specify fonts for each of the styles in the editor, and also great to be able to specify our own styles.

Barring that, can you explain how it decides to choose the default font? On UWP, my project uses Times New Roman for the Paragraph style. On Android it varies by device. I have two Android 9 test devices, a Samsung tablet, and an e-Ink tablet device. Both use a sans serif font as expected on Android, but one of them is always bold, no matter the setting of the bold button in the toolbar.

Is the editor based on WebView? If so, then we may be able to adjust the default fonts it uses in our app.

The control you have made is really great, but its lack of customization makes me wish for something else.

Thank you!

Devaraj Sekar [Syncfusion]
Replied On December 23, 2019 12:58 PM UTC

Hi Thaine, 
 
Thank you for contacting Syncfusion support. 
 
S. No 
Query 
Answer 
1.        
Is an update to the SfRichTextEditor coming that will allow control of the fonts? Our Xamarin.Forms app has embedded fonts in it that we are able to use successfully within all the XAML elements of the app. It would be great to specify fonts for each of the styles in the editor, and also great to be able to specify our own styles. 
The mentioned support “Font style customization” is added to our feature list. The status of the feature can be tracked from the below mentioned link. 
 
 
We will let you know once the feature has implemented 
2.        
Barring that, can you explain how it decides to choose the default font? On UWP, my project uses Times New Roman for the Paragraph style. On Android it varies by device. I have two Android 9 test devices, a Samsung tablet, and an e-Ink tablet device. Both use a sans serif font as expected on Android, but one of them is always bold, no matter the setting of the bold button in the toolbar. 
 
 
The fonts used in RTE is default webview font. The default font will be applied based on the specific platforms. Since, it is a webview behavior. 
 
We were unable to reproduce the mentioned font issue from the provided device details. We have prepared a sample based on the details, which can be downloaded from the below link. 
 
 
If the issue persists in the provided sample, kindly provide us the testing device specification to reproduce the exact scenario which will be helpful for us to provide an appropriate solution at earliest. 
3.        
Is the editor based on WebView? If so, then we may be able to adjust the default fonts it uses in our app. 
Yes, “SfRichTextEditor” has been developed using Xamarin forms webview. 
 
Regards, 
Devaraj S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon