private void AddFontCssRule(StringBuilder sb, string selector, string fontName, decimal lineHeight) { sb.AppendLine(); sb.AppendLine(selector); sb.AppendLine("{"); sb.AppendLine(" font-family: '" + fontName + "';"); if (lineHeight > 0) sb.AppendLine(" line-height: " + lineHeight + ";"); sb.AppendLine("}"); }