-
Notifications
You must be signed in to change notification settings - Fork 39
Issue integrating custom font (Font does not show) #27
Comments
Are you sure that |
Yes, it installed under the name 'ink-icons' regular. I just realized that if I do |
Can you try something?
|
I did all that, and the same thing happens. Switching |
ok, perhaps it's a problem with fontello then.. my icomoon font works just fine.. |
@Ericky14 I dont know if you fixed your problem or not but i just had a similar problem. Check if in the font's css file is ':: before' or ': before'. In my case originally was :: i changed it to single : and anythink works fine for me :) |
@kamil-borecki do you have a working prototype? |
Another thing to try is to make sure your font icon CSS code references use double quotes, not single. LIKE THIS: As this might conflict with the single quotes used in the text attribute, for example:
|
I successfully was able to integrate and use font-awesome with this plugin, but I'm having trouble integrating a custom font from fontello. The font won't show.
Steps I took:
I put the ttl file in the fonts/ folder.
Called
TNSFontIconModule.forRoot({ 'icon': './styles/ink-icons.css' });
Created this in app.css
And I used this element
<Label class="icon" [text]="'icon-download' | fonticon"></Label>
I even turned on debugger and the mapping is mapping something at least it seems, but the terminal does not show the right icons.

Is it something wrong with the ttl or css files? It works for browsers, so I'm not sure it could be that.
The text was updated successfully, but these errors were encountered: