Closed RiddlerKnight closed 5 years ago
I try to put them as unicode form like this
<GridLayout rows="auto,auto">
<ns-heading-bar row="0"></ns-heading-bar>
<GridLayout row="1">
<StackLayout>
<Label text="  " class="PageSubject"></Label>
</StackLayout>
</GridLayout>
</GridLayout>
.PageSubject{
font-family: FontAwesome;
font-size: 60;
}
This is the result. https://www.imgtrue.com/image/2019-01-11-22-24-26.U8tczO
I solve this issue. It is my fault. The problem is Android relies on file name and iOS is on the font family name.
I have set my project following these steps
fonts
folder in path "/myproject/src/app/fonts" and put "fontawesome-webfont.ttf" inside this folderfont-awesome.css
that I downloaded from official website and put it in this path "/myproject/src/app/css"app.module.ts
then, I have injected "_fontIconService:TNSFontIconService" inside app.component.ts and add "TNSFontIconModule" into child module.
I separated heading-bar as heading-bar component and put this code.
I have re-compiled this project and it shown like this. https://www.imgtrue.com/image/2019-01-11-19-12-07.U8O3ic
I do try to check filename and all code, so it dose't work