Thank you for your feedback. We will consider some improvements to the mentioned article. Here is some additional information on the matter.
1. In WPF you don't need to register a font, unless the font is not installed on the machine. The FontsRepository can access all fonts that are installed and register them for you.
2. If you want to use a font that is not installed on the machine, then you should register it. Every font can be described by 3 components: font family - the family of the font; font style - the font style (normal, italic, etc.); the font weight - the weight of the font (normal, bold, narrow, etc.). These components are the key that later is used to create an instance of this font. For example if you have arialitalic.ttf font file, that contains the italic version of the Arial font, and want to register it in your application, your code should look like this:
), FontStyles.Italic, FontWeights.Normal, File.ReadAllBytes(
And you can use it later in your application by calling the following method:
), FontStyles.Italic, FontWeights.Normal,
Hope this makes things clearer. If you have other questions do not hesitate to contact us.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.