This patch basically takes the concept of WebCoreTextRun and lifts it up into the actual API used by WebCore.
Created attachment 8234 [details] Patch.
Created attachment 8235 [details] Patch that fixes up FontWin as well.
Comment on attachment 8235 [details] Patch that fixes up FontWin as well. r=me
(In reply to comment #2) > Created an attachment (id=8235) [edit] UChar spacePeriod[2] = { '.', ' ' }; - int width = font.width(spacePeriod, 2); - p->drawText(marker.location(), " ."); - p->drawText(marker.location() + IntSize(width, 0), m_item); + TextRun spacePeriodRun(spacePeriod, 2); Looks like spacePeriod should be { ' ', '.' } (didn't matter before when it was only used for measuring). Can you check fast/lists in pixel mode?
Thanks mitz. I fixed it.
Fixed.