support css file
only referencing css stylesheet if it is local file
warning message when css reference not used
use isFileURL instead
only truncate lines up to the end of the current paragraph, so that the paragraph below does not get rendered in the truncated line
Merge pull request #363 from rmaz/master

Line truncation terminated at paragraph boundaries
Merge pull request #360 from yifan/master

add support for css files reference in html
Static Framework was missing -ObjC linker flag
this might have caused categories from DTFoundation to not be included. Probably fixing #361
Right align RTL justified text, fixes #362
removed comments
added justification to arabic test
Changed Mac Unit Test to use Mac framework
Updated DTFoundation ref
removed disabled caching
Load available fonts into override table

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
Fixes -layoutSubviewsInRect: so DTDictationPlaceholderView is inserted for DTDictationPlaceholderTextAttachment even when the textDelegate property has not be set and/or when various delegate methods have not been implemented.
Merge pull request #370 from leehericks/dictation_placeholder_fix

Fixes so DTDictationPlaceholderView is always properly inserted
remove setting attachment of unknown original size to max image size

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.
request subview for attachment, even if frame size is zero

This way a lazily loaded image view gets a chance.
Refactored relayout after lazy image loading into DTAttributedTextView.

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