Skip to content
Commits on Apr 2, 2013
  1. @odrobnik

    Added synchronized getter for child nodes

    odrobnik committed
    related to #335
  2. @odrobnik

    Refactored relayout after lazy image loading into DTAttributedTextView.

    odrobnik committed
    Without an extra setNeedsLayout an lazy image would not show up since we switched to a tiled layer for the content view and inside scrollviews the scroll view is responsible for the lay outing of just the visible custom subviews.
    
    This reduces the code to put into lazyImageView:didChangeImageSize:. I also change the sizing behavior for zero size attachments. They still request a subview now.
    
    Fixes #368
  3. @odrobnik

    request subview for attachment, even if frame size is zero

    odrobnik committed
    This way a lazily loaded image view gets a chance.
  4. @odrobnik

    remove setting attachment of unknown original size to max image size

    odrobnik committed
    This was originally set to {1,1}, later maxImageSize. By not being Zero a custom subview for an image would get a chance to be loaded lazily, e.g. with DTLazyImageView. This behavior was changed since now a subview is also requested for a subview with size zero.
  5. @leehericks

    Fixes -layoutSubviewsInRect: so DTDictationPlaceholderView is inserte…

    leehericks committed
    …d for DTDictationPlaceholderTextAttachment even when the textDelegate property has not be set and/or when various delegate methods have not been implemented.
Commits on Mar 30, 2013
  1. @odrobnik

    Load available fonts into override table

    odrobnik committed
    Now the +initialize of DTCoreTextFontDescriptor gets a list of all available fonts and registers them in the override table. This way fonts can be found even if they are not registered in the override plist, in fact the override plist can be reduced or omitted.
    
    This fixes a problem on iOS 5 where some fonts could not be matched if their family name contained a space.
    
    Fixes #365
  2. @odrobnik

    removed disabled caching

    odrobnik committed
Commits on Mar 29, 2013
  1. @odrobnik

    Updated DTFoundation ref

    odrobnik committed
  2. @odrobnik
  3. @odrobnik

    removed comments

    odrobnik committed
  4. @odrobnik
  5. @odrobnik

    Merge pull request #360 from yifan/master

    odrobnik committed
    add support for css files reference in html
Commits on Mar 27, 2013
  1. only truncate lines up to the end of the current paragraph, so that t…

    Richard Mazorodze committed
    …he paragraph below does not get rendered in the truncated line
  2. @yifan

    use isFileURL instead

    yifan committed
Commits on Mar 26, 2013
  1. @yifan
Commits on Mar 25, 2013
  1. @yifan
  2. @yifan

    support css file

    yifan committed
Commits on Mar 24, 2013
  1. @odrobnik

    added test case comment

    odrobnik committed
  2. @odrobnik

    Ignore !important CSS tag

    odrobnik committed
    fixes #358
  3. @odrobnik

    Added unit test for #358

    odrobnik committed
Commits on Mar 23, 2013
  1. @odrobnik
  2. @odrobnik

    Added unit test for #342

    odrobnik committed
Commits on Mar 21, 2013
  1. @odrobnik

    implemented setting a hyperlink active color

    odrobnik committed
    Either specify a color in the parsing options with DTDefaultLinkHighlightColor (text or color) or specify a:active in stylesheet.
  2. @odrobnik

    [BREAKING] removed custom string drawing from DTLinkButton

    odrobnik committed
    Warning: this breaks the previous implementation approach to set attributedString and highlightedAttributedString properties. New new method is to set two different images for normal and highlighted, see DemoTextViewController implementation.
  3. @odrobnik

    Added contentImageWithBounds:options: method

    odrobnik committed
    This can be used to get an image for normal and highlighted hyperlink buttons.
  4. @odrobnik
  5. @odrobnik
Commits on Mar 20, 2013
  1. @odrobnik

    Improved underline and strike-out drawing.

    odrobnik committed
    Modified to avoid anti-aliasing by rounding pixels taking the context scale into account.
    
    related to #351
Commits on Mar 16, 2013
  1. @odrobnik
  2. @odrobnik
  3. @odrobnik
Commits on Mar 15, 2013
  1. @odrobnik
  2. @odrobnik

    Optimize Shadow drawing

    odrobnik committed
    - Related to #345
    - for text with no shadow only the glyph run is drawn
    - for text with 1 shadow this is set and the glyph run is drawn
    - for text with more than 1 shadow an area is clipped, 100 pixel wider in all directions
      - then the text position is moved outside that area and the shadow gets an additional offset in the other direction
      - this way only the shadow is drawn
      - except for the very last shadow, there the text position is moved back and the glyph run is drawn together with the last shadow
  3. @rdougan

    Remove CGContextBeginTransparencyLayer for shadows. Instead, give tex…

    rdougan committed
    …t an offset and then remove that same offset from the shadow, making it visible and the text not.
  4. @rdougan
Something went wrong with that request. Please try again.