luberda-molinet / FFImageLoading

Image loading, caching & transforming library for Xamarin and Windows
MIT License
1.42k stars 377 forks source link

How to use an Iconic Font? #496

Closed gsaldana closed 7 years ago

gsaldana commented 7 years ago

Hi, I'm searching for something to improve my apps performance while loading lot of images, and this component sounds great, but I'm using an iconic font like font awesome and ionicons. So my question is: Is there any way to load that type of images with this control?

Thanks in advance for your comments.

EmmanVazz commented 7 years ago

Have you seen this https://github.com/jsmarcus/Xamarin.Plugins/tree/master/Iconize ? I don't think FF works unless you can extract the svg from these fonts.

daniel-luberda commented 7 years ago

@nazgul87 @EmmanVazz It's possible to use Iconic font with FFImageLoading as they provide it also as set of SVG files, you must include them in app bundle (just as normal image). More info here: https://github.com/luberda-molinet/FFImageLoading/wiki/SVG-support#xamarinforms

Please use the newest prerelease (some SVG fixes included)