예제 #1
0
 internal FontSubfamily(StyleClass style, WeightClass weight, WidthClass width)
 {
     Style  = style;
     Weight = weight;
     Width  = width;
 }
 public SingleTypefaceInfo(string path, DataFormat format, string family, FontRestrictions restrictions, WeightClass weight, WidthClass width, FontSelection selection, long offset)
 {
     this.Source       = path;
     this.SourceFormat = format;
     this.FamilyName   = family;
     this.Restrictions = restrictions;
     this.FontWeight   = weight;
     this.FontWidth    = width;
     this.Selections   = selection;
     this.OffsetInFile = offset;
     _thisRef          = new IFontInfo[] { this };
 }