summaryrefslogtreecommitdiffstats
path: root/sample/MinikinSkia.h
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2016-01-25 15:25:16 +0900
committerSeigo Nonaka <nona@google.com>2016-04-04 22:31:16 +0900
commitf3afe92def0fff022889fd036d68451223aac146 (patch)
tree3eca38dff1a9e6b658f494eede65f0056e770d8f /sample/MinikinSkia.h
parent16ed4ef07ed8fb2333447b48055633bf8d4f38e4 (diff)
downloadandroid_frameworks_minikin-f3afe92def0fff022889fd036d68451223aac146.tar.gz
android_frameworks_minikin-f3afe92def0fff022889fd036d68451223aac146.tar.bz2
android_frameworks_minikin-f3afe92def0fff022889fd036d68451223aac146.zip
Support multiple locales for font language settings.
Some fonts support multiple scripts, for example, some fonts for Korean supports not only "Kore" but also "Jamo". To select fonts based on their multiple languages, this CL introduces the following changes: - Compares all languages of the font family and use the maximum score for font selection. - Even if each language of the font family doesn't support the requested language, the font get score of 2 if the requested font is covered by all of the languages of the font family. For example, the font for "ko-Hang,ko-Hani" gets score of 2 for the requested language "ko-Kore". Bug: 26687969 Change-Id: I7f13b51464c9b01982bb573251d77052b9ddbd70
Diffstat (limited to 'sample/MinikinSkia.h')
0 files changed, 0 insertions, 0 deletions