1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using FastReport.Fonts;
- using System;
- using System.Drawing;
- using System.Globalization;
- using System.IO;
- using System.Reflection;
- namespace FastReport.Utils
- {
- public static partial class Config
- {
- private static readonly TrueTypeCollection FFontCollection = new TrueTypeCollection();
- /// <summary>
- /// Get access to font collection
- /// </summary>
- public static TrueTypeCollection FontCollection
- {
- get { return FFontCollection; }
- }
- /// <summary>
- /// Additional check FamilyName in function FastReport.Utils.FromString(Type type, string value);
- /// By default option is set to FALSE value and engine works in classic mode.
- /// If option is set to TRUE value, then engine checks family name of report's font and trying to find correct font within PrivateFontCollection.
- /// </summary>
- [Obsolete("This check is not used anymore. Use FontManager.AddSubstituteFont to substitute non-existing fonts.")]
- public static bool CheckFontFamily { get; set; }
- private static void ProcessMainAssembly()
- {
- new AssemblyInitializer();
- #if !FRCORE
- new AssemblyInitializerDesignExt();
- #endif
- new AssemblyInitializerBaseExt();
- }
- }
- }
|