The font style parameters within the FontHelper class were changed from "Bold and Italic" and "Bold or Italic" to "Bold and Regular" and "Bold or Regular" respectively. This adjustment provides a more accurate representation of fonts supporting different styles.
Modified the FontHelper methods GetBoldAndItalicCapableFontFamilies and GetItalicOrBoldCapableFontFamilies in order to yield fonts that are capable of regular and bold styles, instead of just italic or bold. This change was made across multiple files where these methods are called. The adjustment allows for a greater range of fonts to be used, especially in instances where an italic style is not necessary or desired.
Updated the method names in FontHelper.cs and its references in multiple files for more accurate description of the returned object. Changed 'GetBoldAndItalicCapableFonts' and 'GetItalicOrBoldCapableFonts' to 'GetBoldAndItalicCapableFontFamilies' and 'GetItalicOrBoldCapableFontFamilies' respectively, as they are returning FontFamily objects not Font objects. This provides clearer understanding of the method's functionality to other developers.
This commit updates font fetching in many forms and logical parts of the app. Earlier, fonts were directly fetched using `FontFamily.Families`. However, this has been replaced with specific calls to methods of the `FontHelper` class. These methods like `GetAllSupportedFontFamilies()`, `GetItalicOrBoldCapableFonts()`, and `GetBoldAndItalicCapableFonts()` provide an easier and more clear selection of fonts based on specific needs. This makes the code more readable and manageable.