private void setDefaults(IPdfFont baseFont, Font toFont) { toFont.Color = baseFont.Color; toFont.Size = baseFont.Size; toFont.SetStyle((int)baseFont.Style); }