Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

Problem with rendering the fonts

Open Renato-Garbim opened this issue 7 years ago • 12 comments

images_android xaml_code

As show in the images, some icons are rendering some are not, what could be the problem ? i did all according what was told in documentation..

Any help ?

Renato-Garbim avatar Sep 22 '17 16:09 Renato-Garbim

It seems that the missing icons are both added in FontAwesome 4.7. Which should be included in e89000ee79d39b0a4fee25b1c600ccd07d7b2b48.

What version are you using? (The latest stable is released before the commit above).

BertKooij avatar Sep 22 '17 16:09 BertKooij

Iam using the one the page is give is to download, just copied and pasted at nuget console

Renato-Garbim avatar Sep 22 '17 17:09 Renato-Garbim

That would be -Version 1.0.10. That would explain why the icons of FontAwesome 4.7 are not showing.

Since version 2.0 is not yet released in the stable form you can try installing version 2.0.0.29-beta: https://www.nuget.org/packages/Xam.Plugin.Iconize/2.0.0.29-beta

BertKooij avatar Sep 22 '17 17:09 BertKooij

For doing this i should uninstall the previous one ?

Renato-Garbim avatar Sep 22 '17 17:09 Renato-Garbim

I guess that it will simply update the existing installation. But it could never hurt to manually uninstall the current version and installing the 2.0.0.29-beta version.

Please refer to this page: https://docs.microsoft.com/en-us/nuget/create-packages/prerelease-packages for the NuGet specification.

BertKooij avatar Sep 22 '17 17:09 BertKooij

I notice by doing this update i will too update my xamarin.forms for a version that still is not stable .. so, i dont get the full colections of icons in a stable version of the xaml ?

Renato-Garbim avatar Sep 22 '17 18:09 Renato-Garbim

error_android_package

Getting this error now, something more i should update ?

Renato-Garbim avatar Sep 22 '17 20:09 Renato-Garbim

Seems to be related to #37, could you please check if Xam.FormsPlugin.Iconize (1.5.0.13-beta) is installed?

I'm using this setup: NuGet installed (In PCL, Android and iOS):

Xam.Plugin.Iconize (2.0.0.29-beta) Xam.Plugin.Iconize.FontAwesome

Please do not use Xam.FormsPlugin.Iconize, it seems to be a previous version of this package which is still available.

The FontAwesome update of 4.7 is included on 2nd November 2016. So should be included in version 1.5.0.8-beta and 1.5.0.13-beta. Although these versions can contain bugs that are solved in the later versions, you can still try how they perform on your project. These versions are depending on: Xamarin.Android.Support.v4 (>= 23.3.0)

https://www.nuget.org/packages/Xam.Plugin.Iconize

BertKooij avatar Sep 23 '17 09:09 BertKooij

Thanks bro, it worked :) But i still think the documentation part should cover some of this steps, and how to implement the fonts.. it would be a lot faster and easier.... well maybe someday.. But thank you very much!

Renato-Garbim avatar Sep 25 '17 12:09 Renato-Garbim

But how could i init the fonts on IOS ? since i remove the "FormsPlugin" i dont get the init as before in IOS AppDelegate.cs ..

I need to init or this new version do it in another way ?

Renato-Garbim avatar Sep 25 '17 12:09 Renato-Garbim

No need to use Plugin.Iconize.Iconize.Droid.IconControls.Init(Resource.Id.toolbar); and FormsPlugin.Iconize.iOS.IconControls.Init(); Just delete Xam.FormsPlugin.Iconize nuget package Then it worked.

armaganX avatar Nov 17 '17 12:11 armaganX

@Renato-Garbim did you solve your issue?

Hope the #130 has a solution for you.

aflorenzan avatar Apr 02 '19 04:04 aflorenzan