[TIMOB-18704] Windows: Support custom fonts
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-03-17T00:42:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2015-03-13T17:01:42.000+0000 |
Updated | 2017-03-16T22:30:44.000+0000 |
Description
the corporate directory uses a custom font packaged with the app. We need to be able to support loading this custom font as per http://docs.appcelerator.com/titanium/3.0/#!/guide/Custom_Fonts and https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.fontfamily.aspx
See https://msdn.microsoft.com/en-us/library/windows/apps/cc189010%28v=vs.105%29.aspx#silverlight_fonts for the list of supported fonts on Windows phone. Not sure if we take an approach of looking for fonts in the expected irectory and then using a FontSource to load them all up, or if we match font names against this set of supported ones, and if not in the list we then use the URI form of specifying a FontFamily under set_font() calls.
Closing ticket as fixed.