public virtual void SetResourceFont(string name, PDFFontDefinition definition) { this._familyName = name; this._cachedmetrics = definition.GetFontMetrics(this.Size); //var style = this.GetDrawingStyle(); //var sys = PDFFontFactory.GetSystemFont(this._familyName, this.GetDrawingStyle(), (float)this.Size.PointsValue); //int line = sys.FontFamily.GetLineSpacing(style); }