NathanWalker / nativescript-ngx-fonticon

Use custom font icon collections seamlessly with NativeScript + Angular.
MIT License
75 stars 39 forks source link

Fixes needed to make it work. #1

Closed NathanaelA closed 8 years ago

NathanaelA commented 8 years ago

Fix fonticon.service.ts so that it actually creates the icon from the code. Fix app.css so that it has the proper reference to the font on Android.

Please note you can actually move the String.fromCharCode code up into the cleanValue; the ONLY reason I didn't was I assume you still wanted to see the debug console log with the value as a unicode number. If you move that code up then you will get squares since console doesn't know how to display that character in the default font in the console.

NathanWalker commented 8 years ago

Excellent. Thank you!