blob: 2d35c81c3c52015d14ebfc72c730575419f08251 [file] [log] [blame]
Input:
<i>italic</i>
<span style="font-style: oblique">oblique</span>
<span style="font-variant: small-caps">small-caps</span>
<span style="font-effect: outline">outline</span>
<span style="font-effect: emboss">emboss</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: (
)
Lists: (
)
BaseWritingDirection: 0
HyphenationFactor: 0
TighteningForTruncation: YES
HeaderLevel: 0
[italic]
NSFont: Times-Italic 16.00 pt.
NSKern: 0pt
NSStrokeColor: #000000 (sRGB)
NSStrokeWidth: 0
[ ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: #000000 (sRGB)
NSStrokeWidth: 0
[oblique]
NSFont: Times-Italic 16.00 pt.
NSKern: 0pt
NSStrokeColor: #000000 (sRGB)
NSStrokeWidth: 0
[ ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: #000000 (sRGB)
NSStrokeWidth: 0
[small-caps]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: #000000 (sRGB)
NSStrokeWidth: 0
[ outline emboss ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: #000000 (sRGB)
NSStrokeWidth: 0