[PATCH v2 4/4] dwrite/layout: Limit text window passed to MapCharacters() to the range of characters to map.