Exemplo n.º 1
0
 public FontState(
     PdfFontInfo fontInfo,
     string fontFamily,
     string fontStyle,
     string fontWeight,
     int fontSize,
     int letterSpacing)
     : this(fontInfo, fontFamily, fontStyle, fontWeight, fontSize)
 {
     this.int_2 = letterSpacing;
 }
Exemplo n.º 2
0
 public FontState(
     PdfFontInfo fontInfo,
     string fontFamily,
     string fontStyle,
     string fontWeight,
     int fontSize)
 {
     this.pdfFontInfo_0 = fontInfo;
     this.string_1      = fontFamily;
     this.string_2      = fontStyle;
     this.string_3      = fontWeight;
     this.int_0         = fontSize;
     this.string_0      = fontInfo.FontLookup(fontFamily, fontStyle, fontWeight);
     this.ifontMetric_0 = fontInfo.GetMetricsFor(this.string_0);
     this.int_1         = 52;
     this.int_2         = 0;
 }
Exemplo n.º 3
0
 private bool method_0(string family, string style, string weight)
 {
     return(this.idictionary_1.ContainsKey(PdfFontInfo.CreateFontKey(family, style, weight)));
 }
Exemplo n.º 4
0
 public string FontLookup(string family, string style, string weight)
 {
     return(this.FontLookup(PdfFontInfo.CreateFontKey(family, style, weight)));
 }
Exemplo n.º 5
0
 public void AddFontProperties(string name, string family, string style, string weight)
 {
     this.idictionary_1.Add(PdfFontInfo.CreateFontKey(family, style, weight), name);
 }
Exemplo n.º 6
0
 public FontSetup(PdfFontInfo fontInfo, FontType proxyFontType)
 {
     this.pdfFontInfo_0 = fontInfo;
     this.method_1();
     this.method_0(proxyFontType);
 }