Permalink
Commits on Apr 17, 2012
  1. Updated Readme

    odrobnik committed Apr 17, 2012
Commits on Apr 11, 2012
  1. Merge pull request #167 from tonycn/master

    odrobnik committed Apr 11, 2012
    Add cache for defaultStyleSheet
  2. add cache for defaultStyleSheet

    tonycn committed Apr 11, 2012
Commits on Apr 10, 2012
  1. Merge pull request #166 from tonycn/master

    odrobnik committed Apr 10, 2012
    Updated: use __unsafe_unretained and fix key from CTParagraphStyleRef
  2. fix cache key issue by removing the memory address from CTParagraphSt…

    tonycn committed Apr 10, 2012
    …yleRef description
  3. Rollback 2 commits; Change block weak ref variable compile flag to __…

    tonycn committed Apr 10, 2012
    …unsafe_unretained to be compatible with ios4 and ios5; fix key of CTParagraphStyleRef by remove address info
Commits on Apr 9, 2012
  1. Merge pull request #165 from tonycn/master

    odrobnik committed Apr 9, 2012
    Need __block for ios4 for block weak ref in DTAttributedTextContentView.m
  2. Merge pull request #163 from tonycn/master

    odrobnik committed Apr 9, 2012
    Request a pull of a memory issue fix in DTAttributedTextContentView.m when using block
  3. Merge pull request #164 from OliverLetterer/master

    odrobnik committed Apr 9, 2012
    Introduces DTCompatibility.h
  4. 1) fix memory issue in DTAttributedTextContentView.m when using block…

    tonycn committed Apr 9, 2012
    …; 2)set target to 5.0.
Commits on Mar 31, 2012
  1. Workaround for iOS 4.3 bug

    odrobnik committed Mar 31, 2012
    Replacing the paragraph style attribute requires that we remove the previous attribute first or else CoreText does not release the previous CTParagraphStyleRef. Fixed in iOS 5.0.
    
    closes #160
Commits on Mar 30, 2012
  1. Merge pull request #159 from dhoerl/master

    odrobnik committed Mar 30, 2012
    Fix iOS unit test file - its missing a header
  2. Fixed HTML rendering for products, web pages, and reviews. Fixed show…

    dhoerl18 committed Mar 30, 2012
    …ing images that were cached.
Commits on Mar 29, 2012
  1. Redone fixing #156

    odrobnik committed Mar 29, 2012
    because it not properly deal with non-empty paragraph.
  2. Fixed unit tests

    odrobnik committed Mar 29, 2012
    Some header changes. Closes #157
Commits on Mar 27, 2012
  1. Updated linesContainedInRect

    odrobnik committed Mar 27, 2012
    fixes a problem with Retina iPad where a shorter line would previous cause the loop to exit too early
  2. Workaround for iOS 5.0 bug: incorrect entry in global font cascade ta…

    odrobnik committed Mar 27, 2012
    …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
Commits on Mar 26, 2012
  1. Merge pull request #153 from bloodmagic/master

    odrobnik committed Mar 26, 2012
    Add support for kCTParagraphStyleSpecifierParagraphSpacingBefore property
  2. Fixed problem with images contained in a href.

    odrobnik committed Mar 26, 2012
    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.
  3. update baselineOriginToPositionLine:afterLine to support paragraphSpa…

    Zhao Jian Yin committed Mar 26, 2012
    …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.
Commits on Mar 23, 2012
  1. Merge pull request #151 from nolanw/patch-1

    odrobnik committed Mar 23, 2012
    Actually make -parser:foundCDATA: optional. This was left over test code. Good catch!
  2. Fixed warning, closes #150

    odrobnik committed Mar 23, 2012
Commits on Mar 21, 2012
  1. removed test code

    odrobnik committed Mar 21, 2012
Commits on Mar 20, 2012
  1. made checking if font needs synthesized obliqueness more robust

    odrobnik committed Mar 20, 2012
    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.