Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 17, 2012
  1. Updated Readme

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

    Add cache for defaultStyleSheet
  2. @tonycn

    add cache for defaultStyleSheet

    tonycn authored
Commits on Apr 10, 2012
  1. @tonycn
  2. Merge pull request #166 from tonycn/master

    Updated: use __unsafe_unretained and fix key from CTParagraphStyleRef
  3. @tonycn
  4. @tonycn

    Rollback 2 commits; Change block weak ref variable compile flag to __…

    tonycn authored
    …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

    Need __block for ios4 for block weak ref in DTAttributedTextContentView.m
  2. @tonycn
  3. Merge pull request #163 from tonycn/master

    Request a pull of a memory issue fix in DTAttributedTextContentView.m when using block
  4. Merge pull request #164 from OliverLetterer/master

    Introduces DTCompatibility.h
  5. @OliverLetterer
  6. @tonycn
Commits on Mar 31, 2012
  1. Workaround for iOS 4.3 bug

    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

    Fix iOS unit test file - its missing a header
  2. @dhoerl18
  3. @dhoerl18

    Fixed HTML rendering for products, web pages, and reviews. Fixed show…

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

    because it not properly deal with non-empty paragraph.
  2. Fixed unit tests

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

    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…

    …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

    Add support for kCTParagraphStyleSpecifierParagraphSpacingBefore property
  2. Fixed problem with images contained in a href.

    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. @JayZhao

    update baselineOriginToPositionLine:afterLine to support paragraphSpa…

    JayZhao authored
    …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.
  4. @JayZhao
Commits on Mar 23, 2012
  1. Merge pull request #151 from nolanw/patch-1

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

  3. @nolanw
Commits on Mar 21, 2012
  1. removed test code

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

    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.
Something went wrong with that request. Please try again.