Skip to content
Commits on Mar 27, 2012
  1. @odrobnik

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

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

    Merge pull request #153 from bloodmagic/master

    odrobnik committed Mar 26, 2012
    Add support for kCTParagraphStyleSpecifierParagraphSpacingBefore property
  2. @odrobnik

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

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

    Fixed warning, closes #150

    odrobnik committed Mar 23, 2012
  3. @nolanw
Commits on Mar 21, 2012
  1. @odrobnik
  2. @odrobnik
  3. @odrobnik

    removed test code

    odrobnik committed Mar 21, 2012
  4. @odrobnik
Commits on Mar 20, 2012
  1. @odrobnik

    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.
Commits on Mar 18, 2012
  1. @odrobnik
  2. @odrobnik
  3. @odrobnik

    fixed NL before HR

    odrobnik committed Mar 18, 2012
  4. @odrobnik

    Fixed HR in DIV

    odrobnik committed Mar 18, 2012
  5. @odrobnik

    removed comments

    odrobnik committed Mar 18, 2012
  6. @odrobnik

    Added default styles for HR

    odrobnik committed Mar 18, 2012
Commits on Mar 15, 2012
  1. @odrobnik
  2. @odrobnik
  3. @odrobnik

    error

    odrobnik committed Mar 15, 2012
  4. @odrobnik

    Fix linesVisibleInRect.

    odrobnik committed Mar 15, 2012
    Before this fix there was an issue with the loop ending too soon for the right side tiles on Retain iPad. The first short line would abort the loop. Fixes #145
Commits on Mar 14, 2012
  1. @odrobnik

    Fixed content view tile size for Retina iPad

    odrobnik committed Mar 14, 2012
    The previous method would set a fixed tile size of 1024x1024. This value is cropped by the clip rect of the tiled layer to the actual size but without multiplying it by scale. This caused the partial drawing method in layout frame to break down on Retina iPad.
    
    The new calculation gets the larger dimension and multiplies it with the screen scale to always get tiles that cover the entire width of the display regardless of orientation.
    
    Fixes #145
Commits on Mar 12, 2012
  1. @odrobnik
  2. @odrobnik

    markdown

    odrobnik committed Mar 12, 2012
  3. @odrobnik

    indenting

    odrobnik committed Mar 12, 2012
  4. @odrobnik
  5. @odrobnik

    Only add leading between lines if no absolute line-height set.

    odrobnik committed Mar 12, 2012
    Some first line tricks trying to get closer to how CoreText does it.
    Code reindented.
Commits on Mar 8, 2012
  1. @odrobnik
  2. @odrobnik
  3. @odrobnik
  4. @odrobnik

    Removed need to have a copy of the attributed substring in each line.…

    odrobnik committed Mar 8, 2012
    … increases layouting speed. Moved canonical method to determine baseline of a line following another line into layout frame.
  5. @odrobnik
Something went wrong with that request. Please try again.