Custom fonts not working with SfAvatarView in iOS

Hi Synfusion team,


I am using SfAvatarView, in CollectionView, and adding Fontawesome ​in avatarview with ContentType set to custom.

The same code is working fine in android. But in iOS it shows '?' in that.


I have tried the same font with normal Label and it is working in fine in iOS.

Tried SfAvatarView without CollectionView and it is still not working,


See the screenshot below.


Sample Code:


<avatarview:SfAvatarView
                Grid.Row="2"
                AvatarName="{x:Static fontawesome:FontAwesomeIcons.CommentAlt}"
                BorderWidth="0"
                ContentType="Initials"
                FontFamily="FontAwesomeProRegular"
                FontSize="Large" />


Thanks,

Milan


6 Replies

ML Milan Lakhani February 25, 2022 07:40 PM UTC

Also adding one point, Initials are also not centered in view in iOS.

 



SS Suganya Sethuraman Syncfusion Team February 28, 2022 03:15 PM UTC

Hi Milan,

Currently, we are validating this, and we will update the details on March 2, 2022.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team March 3, 2022 01:29 PM UTC

Hi Milan,

Query: “Custom fonts not working with SfAvatarView in iOS” and “Initials are also not centered in view in iOS”

We have analyzed the reported issues and we were able to reproduce the same. We have fixed the reported issue. Please have the custom assembly from the below link.

Custom Assembly:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/AvatorAssembly918982722

Assembly Version: 19.4.0.54

Note: Please refer the below link to apply the custom assembly
 
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget

Currently, we have patch support only for the main and service pack release version, not for the weekly NuGet release. So only provided an assembly with 19.4.0.54 version.

This fix will be included in our upcoming weekly release which is expected to roll out on March 15, 2022. Could you please check this fix with your application and let us know, whether the issue is resolved or not.

Regards,
Suganya Sethuraman.
 



ML Milan Lakhani March 9, 2022 11:33 AM UTC

Hi Suganya,


Checked the updated package and it is working fine, thanks.


If you can please update whenever change is included in release.


Thanks,

Milan



SS Suganya Sethuraman Syncfusion Team March 10, 2022 06:50 AM UTC

Hi Milan,

Thanks for the update.

We are glad that your issue is resolved. As we said earlier, we will include this issue “Custom fonts not working with SfAvatarView in iOS” and “Initials are also not centered in view in iOS” fix in our upcoming weekly release which is expected to roll out on March 15, 2022. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team March 16, 2022 08:53 AM UTC

Hi Milan,

Thanks for your patience.

Query: “Custom fonts not working with SfAvatarView in iOS” and “Initials are also not centered in view in iOS”

We have included the fix in our latest Weekly NuGet release v19.4.0.56 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon