Exemple #1
0
        /// <summary>
        ///     Class constructor.
        /// </summary>
        /// <param name="properties"></param>
        public Type2CIDFont(FontProperties properties) {
            this.properties = properties;
            this.baseFontName = properties.FaceName.Replace(" ", "-");
            this.usedGlyphs = new SortedList();

            ObtainFontMetrics();
        }
        /// <summary>
        ///     Class constructor.
        /// </summary>
        /// <param name="properties"></param>
        public Type2CIDFont(FontProperties properties)
        {
            this.properties   = properties;
            this.baseFontName = properties.FaceName.Replace(" ", "-");
            this.usedGlyphs   = new SortedList();

            ObtainFontMetrics();
        }
Exemple #3
0
 /// <summary>
 ///     Class constructor
 /// </summary>
 /// <param name="properties"></param>
 public TrueTypeFont(FontProperties properties) {
     this.properties = properties;
     ObtainFontMetrics();
 }
Exemple #4
0
 /// <summary>
 ///     Class constructor
 /// </summary>
 /// <param name="properties"></param>
 public TrueTypeFont(FontProperties properties)
 {
     this.properties = properties;
     ObtainFontMetrics();
 }
Exemple #5
0
 /// <summary>
 ///     Class constructor.
 /// </summary>
 /// <param name="properties"></param>
 /// <param name="fontType"></param>
 public ProxyFont(FontProperties properties, FontType fontType)
 {
     this.properties = properties;
     this.fontType   = fontType;
 }
Exemple #6
0
 /// <summary>
 ///     Class constructor.
 /// </summary>
 /// <param name="properties"></param>
 public Type2CIDSubsetFont(FontProperties properties)
     : base(properties)
 {
     InsertNotdefGlyphs();
     this.namePrefix = new Random().Next(0x100000, 0xFFFFFF).ToString("X").Substring(0, 6);
 }
Exemple #7
0
 /// <summary>
 ///     Class constructor.
 /// </summary>
 /// <param name="properties"></param>
 /// <param name="fontType"></param>
 public ProxyFont(FontProperties properties, FontType fontType) {
     this.properties = properties;
     this.fontType = fontType;
 }