…o image HTML
…wice the current font size (before: 5 times)
…default, enabled with the C Preprocessor flag DT_USE_THREAD_SAFE_INITIALIZATION.
…ace condition if layouting/drawing is potentially occuring with modifying the string
…s, try again after cleaning up any malformed UTF8 sequences.
…culation of glyph run frame lazy
The majority of this project uses single tabs for indentation, but there are a lot of places where spaces are used. It's not really that important which you use, but it is important that a project is internally consistent (for instance, besides the philosophical annoyance, some users may have tabs set to a size other than four spaces, which makes the inconsistency very jarring). As such, I have converted the entire project to use tabs. For anyone curious, you can set Xcode 4's indentation style for a specific project by selecting the project in the source pane on the left, and opening the File Inspector in the right pane, and choosing Tabs under Text Settings => Indent Using.
…tive layouting the image does not disappear at bottom too soon.
…ing the positions of lines and glyphs after building the lines