Code: Select all
Material Icons:

favorite
Material Symbols:

favorite
Die BRUDE. Dass mit meiner TTF -Datei nichts falsch war, habe ich mit der folgenden HTML -Seite geprüft. < /p>
Code: Select all
@font-face {
font-family: "MaterialIcons";
src:url( "file:///C:/Users/username/Desktop/MaterialIcons-Regular.ttf");
}
@font-face {
font-family: "MaterialSymbols";
src:url( "file:///C:/Users/username/Desktop/MaterialSymbolsOutlined-Regular.ttf");
}
Material Icons
favorite[/b]
[b]
Material Symbols
favorite[/b]
, daher ist dies ein Problem. Ich habe die folgenden Attribute in meinem Textblock ausprobiert (und auch Untergruppen/Variationen davon).
Code: Select all
Typography.StandardLigatures="True"
Typography.DiscretionaryLigatures="True"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="ClearType"
Typography.HistoricalLigatures="True"
Typography.ContextualLigatures="True"
Typography.ContextualAlternates="True"