react-native-windows-samples
react-native-windows-samples copied to clipboard
Glyph documentation should describe packaging font file/fontUri requirement
The Glyph documentation mentions fontUri, it's marked as not required, but we also don't have instructions that if you specify a fontUri
, you have to package the font with your UWP app (and how to do that in VS).
You shouldn't have to use VS to do that. You should be able to use require('./myfonts/foo.ttf') and the packager and default configs should manage everything for you, as it does with images. -- Not sure if that works today.
We should also document how to do it using ms-appx:// urls when you have done it through VS.
in the case I was looking at, it was an ms-appx uri
Document only gives the context of "string". Yeah, that could give any detail and it'd be better.