 			fontName = body.fontName
 		}
 		
+		fontSize = fontSize == 0.0 ? nil : fontSize
 		let font = UIFont.preferredFont(forTextStyle: textStyle)
 		let styleDescriptor = font.fontDescriptor
 		let styleSize = fontSize ?? styleDescriptor.fontAttributes[UIFontDescriptorSizeAttribute] as? CGFloat ?? CGFloat(14)


If that is not set, then the system default will be used.
*/
@objc public class BasicStyles : FontProperties {
	public var fontName : String? = UIFont.preferredFont(forTextStyle: UIFontTextStyle.body).fontName
	public var color = UIColor.black
	public var fontSize : CGFloat?
}

enum LineType : Int {
	case h1, h2, h3, h4, h5, h6, body
}

enum LineStyle : Int {
	case none

import UIKit


@objc public protocol FontProperties {
	var fontName : String? { get set }
	var color : UIColor { get set }
	var fontSize : CGFloat { get set }
}


