blob: 4dfe1d4be940d63486328a60be511f9d263f51b2 [file] [log] [blame]
Input:
hello <b style="background-color:blue; color:white;">world</b> <a href="https://webkit.org/">WebKit</a>.<br>
<span style="background-color:yellow;">this is a <u><i>t</i>est</u> of <em>attributed</em> string.</span>
Output:
NSParagraphStyle:
Alignment 4
LineSpacing: 0
ParagraphSpacing: 0
ParagraphSpacingBefore: 0
HeadIndent: 0
TailIndent: 0
FirstLineHeadIndent: 0
LineHeight: 0/0
LineHeightMultiple: 0
LineBreakMode: 0
Tabs: ()
DefaultTabInterval: 36
Blocks: (null)
Lists: (null)
BaseWritingDirection: 0
HyphenationFactor: 0
TighteningFactor: 0.05
HeaderLevel: 0
[hello ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[world]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSColor: #ffffff (NSDeviceRGBColorSpace)
NSFont: Times-Bold 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 1 1 1 1
NSStrokeWidth: 0
[ ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[WebKit]
NSColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSLink: https://webkit.org/
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0.933333 1
NSStrokeWidth: 0
NSUnderline: true
[.\n]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[this is a ]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[t]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Italic 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
NSUnderline: true
[est]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
NSUnderline: true
[ of ]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[attributed]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Italic 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[ string.]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0
[ ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
NSStrokeWidth: 0