If (when in the debugger) I change the FontFamily to "Segoe UI Semibold Italic" then it works. FromArgb(,įrom using the debugger, I know that the Italic property is being properly set, but the font isn't coming through as Semibold Italic it's just coming through as Semibold. TextContent.Foreground = new SolidColorBrush( TextContent.TextDecorations = new TextDecorationCollection() TextContent.FontStyle = ( ? FontStyles.Italic : FontStyles.Normal) TextContent.FontWeight = ( ? FontWeights.Bold : FontWeights.Normal) TextContent.FontFamily = ()įfc.ConvertFromString() Here's my conversion code: // Font familyįontFamil圜onverter ffc = new FontFamil圜onverter() What's not working though, is when I select Segoe UI Semibold Italic or some other in-between font. The fonts specifically in question are just examples, as I'm sure others have the same issue, Segoe UI just happens to be my default font. However, I'm hoping there's a way to be able to get things to work. So, I know there are multiple thread on how to do the conversion between the aforementioned systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |