Cocoanetics/DTCoreText — Issue #132: frame layout broken due to commit 1f34f29f3fcfb8d9faad7c60a0a97544fe3d2415
Author: gshaviv
Created: 2012-02-23 07:09:32+00:00
State: open

Seems like commit 1f34f29f3fcfb8d9faad7c60a0a97544fe3d2415 broke visibleStringRange on a DTCoreTextLayoutFrame, and generally broke the layout in cases where the frame for the frame (i.e. the rect for the layout frame) is not big enough to hold the entire string. Seems like it lays out the entire string spilling from the rect instead of just laying out the string that fits. visibleStringRange now always returns the entire string range.