我正在使用我的Pivot标头(UWP-Project)并想要添加自定义标志符号: 来自here:
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" RenderTransformOrigin="0.5,0.5">
现在我想使用自定义(或其他字形),例如来自Fontawesome。
这里的步骤:
FontFamily="Segoe.."
更改为FontFamily="../Resources/#FontAwesome"
Glyph=""
但是我没有使用Glyph而只是一个空矩形。我做错了什么?在UWP项目中可能不可能吗? This solution here did not help me.
答案 0 :(得分:4)
将FontFamily =“Segoe ..”更改为FontFamily =“../ Resources / #FontAwesome”
这是第二部分错误的地方。你需要的是FontFamily="ms-appx:///Path/To/Font/Font.ttf#FontName"
- 你只有“#FontName”部分。