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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using FontFamily on SfComboBox results in Font not found

Thread ID:





142910 Feb 25,2019 05:09 PM UTC Feb 26,2019 10:15 AM UTC Xamarin.Forms 1
Tags: SfComboBox
Asked On February 25, 2019 05:09 PM UTC

Adding a sfComboBox to any project where custom fonts are successfully set up and working, results in an error message and crash when applying any of the FontFamily properties. Applying the same font family name to say a SfButton works.


Unhandled Exception:

Java.Lang.RuntimeException: Font asset not found GeosansLight.ttf#GeosansLight

App.XAML, inside resource dictionary:

   <OnPlatform x:Key="GeosansLight"  x:TypeArguments="x:String" Android="GeosansLight.ttf#GeosansLight" iOS="GeosansLight">

Property of SfComboBox:

     FontFamily="{StaticResource GeosansLight}"

Vanaja  Annasamy [Syncfusion]
Replied On February 26, 2019 10:15 AM UTC

Hi Nick, 
Greetings from Syncfusion.

We have analyzed the reported issue. In our current implementation we don’t set the font name directly(fontname.ttf#fontname) for ComboBox in android. If you set the font name like fontname.ttf#fontname for the ComboBox means it gets font name not found exception. We have already logged a feature report for this requirement to set the font name as like in the Xamarin forms. It will be available in any of our upcoming release We suggest you to set font family as fontname.ttf  to resolve this issue

Vanaja R.A. 


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