…unsafe_unretained to be compatible with ios4 and ios5; fix key of CTParagraphStyleRef by remove address info
…; 2)set target to 5.0.
…ing images that were cached.
…ble in Chinese locale. This would cause the bold chinese font to be used for glyphs in a non-bold font if you choose Chinese locale. Fixes #104
The merging of the href would cause the images to be merged as well. Now the creation of the link GUIDs happens when the link property of a HTML element is set and will be transferred to all child elements. This way a href that consists of text, image, text still gets the same link GUID.
…ceBefore property Three things are changed: 1, In _correctLineOrigins previousLine == nil is allowed to trigger paragraphSpaceBefore test. 2, isLineFirstInParagraph is added to check if the target line is the first line in some paragraph.
this should fix a compiler warning see http://developer.apple.com/legacy/mac/library/#documentation/DeveloperTools/gcc-3.3/gcc/compatibility_005falias.html #147
This would fail for some custom fonts which don't have the slant value properly set. So we actually inspect the traits instead of the matching font.