summaryrefslogtreecommitdiffstats
path: root/include/minikin/CmapCoverage.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve Paint.measureText and Paint.hasGlyph for variation sequences.Seigo Nonaka2016-02-171-1/+2
| | | | | | | | | | | | | | | | | | | | Before this patch, the font fallback chain iterated all installed font families if a variation selector was specified. This CL narrows down the range of iteration. To decide the font family for the variation sequence, we need to search for both the variation sequence and its base code point. The new range of the iteration is a union of them. With this change, the running time of Paint.hasGlyph for the variation sequence improves 50% and the running time of Paint.measureText for the variation sequence improves 40% for the large text case on Nexus 6 userdebug. Bug: 26784699 Bug: 11750374 Change-Id: Iced1349e3ca750821d8882c551551f65bb569794
* Initial commit of Minikin libraryRaph Levien2013-04-251-0/+31
This is the initial draft of Minikin, a library intended to perform text layout functions. This version does basic weight selection and font runs for scripts, and also has a simple renderer for drawing into bitmaps, but is lacking measurement, line breaking, and a number of other important features. It also lacks caching and other performance refinements. Change-Id: I789a2e47d11d71202dc84b4751b51a5e2cd9c451