Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Problem to using custome fonts in wpf

$
0
0

hello guys

I'm trying to use Material-Design-Iconic-Font font in my wpf app with this code:

<Label x:Name="label" Content="&#xf136;" FontFamily="./Fonts/#Material-Design-Iconic-Font" HorizontalAlignment="Left" Margin="435,112,0,0" VerticalAlignment="Top" FontSize="20" TextOptions.TextHintingMode="Animated"/>

in Visual Studio designer, label show X icon very well and there is no problem but when I run my app, its show me asquare!!!

what is the problem and how can I fix that?

tnx.


:)


Viewing all articles
Browse latest Browse all 18858

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>