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();
///
/// Get access to font collection
///
public static TrueTypeCollection FontCollection
{
get { return FFontCollection; }
}
///
/// 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.
///
[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();
}
}
}