You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FontIcon in accordance with the resources set above can take effect, but SymbolIcon will not be able to use, SymbolIcon internal Use FontIcon not valid, whether there is a way to use SymbolIcon , SymbolIcon in many places to use , such as: CommandBar
The Uno platform is in an odd position for this. Microsoft does not provide access to the Segoe Symbols font, which is used all over the place in the default templates, but provides access to the open symbols font, but the font not providing the icons at the same place... Tough choice!
We made some changes in the Uno default templates, but if you're doing yours, you're bound to doing the same conditional XAML:
It's very puzzling that only "SymbolThemeFontFamily" is in effect. I use the same font configuration as the Winjs in Uno, and I confirm that he is already in effect in the UWP.
I was in xamarin.forms to make sure that these fonts were available, and I also have a doubt symbol why not use SEGMDL2 fonts
iOS adds fonts through info.plist files and uses them directly with font names
The UWP introduces fonts through the "fontfamily" Join font path and can be used at the same time through the font name
Android is used in a similar way to the UWP, but does not seem to be used by font names
Activity
jeromelaban commentedon Oct 2, 2018
The Uno platform is in an odd position for this. Microsoft does not provide access to the Segoe Symbols font, which is used all over the place in the default templates, but provides access to the open symbols font, but the font not providing the icons at the same place... Tough choice!
We made some changes in the Uno default templates, but if you're doing yours, you're bound to doing the same conditional XAML:
https://github.com/nventive/Uno/blob/d4240473a05eb71acbcb698ca9af7c47a5cdd4bd/src/Uno.UI/UI/Xaml/Style/Generic/Generic.xaml#L1762
HaoLife commentedon Dec 14, 2018
@jeromelaban hi. I try other icons to solve the problem when I find that Uno now custom fonts are not available.
Uno version 1.43.0-dev.465
I tried to use the following fonts:
It's very puzzling that only "SymbolThemeFontFamily" is in effect. I use the same font configuration as the Winjs in Uno, and I confirm that he is already in effect in the UWP.
I was in xamarin.forms to make sure that these fonts were available, and I also have a doubt symbol why not use SEGMDL2 fonts
https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.symbol
Defines constants that specify a glyph from the Segoe MDL2 Assets font to use as the content of a SymbolIcon. (Instructions from the document)
jeromelaban commentedon Dec 14, 2018
This is curious indeed. On which platform are you testing this on ?
HaoLife commentedon Dec 14, 2018
android
HaoLife commentedon Dec 26, 2018
This problem is the wrong way to use fonts
iOS adds fonts through info.plist files and uses them directly with font names
The UWP introduces fonts through the "fontfamily" Join font path and can be used at the same time through the font name
Android is used in a similar way to the UWP, but does not seem to be used by font names
Add style without compact mode unoplatform#225
Merge pull request unoplatform#225 from unoplatform/dev/juca/no-compact