Switch branches/tags
Nothing to show
Commits on Dec 12, 2011
  1. Added the ability to use <font color="#AABBFF">text</font> style tags…

    AbovegroundDan committed Dec 12, 2011
    … to color text dynamically without having to set a markup style tag. Useful for dynamic text loaded through network. Uses UIColor+Hex category, which I did NOT write, but the snippet was found long ago, and don't recall where, else I would attribute it.
Commits on Dec 6, 2011
  1. Standardized .gitignore

    schwa committed Dec 6, 2011
Commits on Dec 1, 2011
  1. Added CGFont accessor.

    schwa committed Dec 1, 2011
Commits on Nov 21, 2011
  1. Fixed a bunch of small leaks.

    schwa committed Nov 21, 2011
Commits on Nov 2, 2011
Commits on Nov 1, 2011
Commits on Oct 31, 2011
  1. Small refactor of image attachments…

    schwa committed Oct 31, 2011
    Instead of CCoreTextRenderer handling the image attachment delegate, a new class CCoreTextAttachment exists to act as a bridge between CMarkupValueTransformer and image rendering. You now create an attachment object with the parameters you need (including a block that will render the attachment) and embed it in the NSAttributedString. When CCoreTextRenderer encounters this attachment it calls the attachment's renderer block.
    This means that CCoreTextRenderer no longer needs to "normalise" text and no longer needs to cache that information.
    More work upfront (where it belongs). Less at render time.
Commits on Oct 28, 2011
  1. Cast ranges.

    schwa committed Oct 28, 2011
  2. Made minimumSize public.

    schwa committed Oct 28, 2011
  3. Dramatically simplified tag definition. We rely on "non-normalized" a…

    schwa committed Oct 28, 2011
    …ttributes to deal with sets of attributes.
  4. Added a lot more test code.

    schwa committed Oct 28, 2011
  5. Removed unnecessary CFRanges…

    schwa committed Oct 28, 2011
  6. Now using constants everywhere.

    schwa committed Oct 28, 2011
  7. Attributed strings created by CMarkupValueTransformer are not un-norm…

    schwa committed Oct 28, 2011
    …alized. That is they may contain non-standard font style ("BOLD", "ITALIC") attributes that when combined with a base font can be used to to produce the standard attributes.
    This allows us to remove standardFont from CMarkupValueTransformer and use the font property in CCoreTextLabel.
  8. Setting default font & colour.

    schwa committed Oct 28, 2011
  9. Removed dead code & bogus log.

    schwa committed Oct 28, 2011
Commits on Oct 27, 2011
  1. use MIN/MAX on sizeThatFits:

    schwa committed Oct 27, 2011
    It seems frame setter will overflow the constraint size. I believe this is because of whitespace. We clamp it to the parameter because we don't care about whitespace.
  2. More useful on that off.

    schwa committed Oct 27, 2011
  3. Forgetting to reset renderer on edges changes.

    schwa committed Oct 27, 2011
    Was also forgetting to take edges into account when producing path.