- 07 1月, 2016 2 次提交
-
-
由 Dan Austin 提交于
am: ebe37167 * commit 'ebe37167': Enable integer sanitization in libminikin.
-
由 Dan Austin 提交于
am: 9c13a3dc * commit '9c13a3dc': Enable integer sanitization in libminikin.
-
- 06 1月, 2016 4 次提交
-
-
由 Seigo Nonaka 提交于
-
由 Seigo Nonaka 提交于
The caller of FontFamily::hasVariationSelector needs to acquire the lock before calling it, but FontCollection::hasVariationSelector didn't acquire the lock. This caused a race condition. This CL fixes this race condition. Also, it turned out that assertMinikinLocked didn't assert even on eng or userdebug device. This CL enables assertion on eng and userdebug device since this assertion must be treated as bug. BUG: 26323806 Change-Id: I9c4b1e1f09c6793e387fbdb8bb654cc0a13c65d5
-
由 Dan Austin 提交于
Enable signed and unsigned integer sanitization in libminikin. Bug: 25884483 Change-Id: I53abf6affea8e2bb3a5abd381a9f19003a306b36
-
由 Roozbeh Pournader 提交于
-
- 05 1月, 2016 2 次提交
-
-
由 Seigo Nonaka 提交于
The emoji variant script "Zsye" is registered in ISO 15924. Bug: 26226285 Change-Id: Ibc2bc740d57c48f99b6f66b1ad7595bfa8c3cff4
-
由 Seigo Nonaka 提交于
This is 2nd attempt of I8df992a6851021903478972601a9a5c9424b100c. The main purpose of this CL is expanding FontLanguage to be able to save full script tag. Previously, FontLangauge kept only limited script tags. With this CL, FontLanguage keeps all script tags. This CL contains the following changes: - FontLanguage changes: -- Moved to private directory not to be instantiated outside of Minikin. -- Removed bool(), bits(), FontLanguage(uint32_t) methods which are no longer used. -- Change the FontLanguage internal data structure. -- Introduces script match logic. - FontLanguages changes: -- Moved to private directory not to be instantiated outside of Minikin. -- This is now std::vector<FontLanguage> - FontLanguageListCache changes: -- Now FontLanguageListCache::getId through FontStyle::registerLanguageList is the only way to instantiate the FontLanguage. -- Normalize input to be BCP47 compliant identifier by ICU. Bug: 26168983 Change-Id: I431b3f361a7635497c05b85e8ecbeb48d9aef63e
-
- 24 12月, 2015 1 次提交
-
-
由 Raph Levien 提交于
Suppress linebreaks in emoji ZWJ sequences - DO NOT MERGE am: 30fca219 -s ours am: 43772d6e -s ours am: 2cc5a220 -s ours * commit '2cc5a220':
-
- 22 12月, 2015 4 次提交
-
-
由 Bart Sears 提交于
-
由 Bart Sears 提交于
This reverts commit 5e995fb8. Change-Id: I761e0e41906742fbe3d3ac34170af3101e18042a
-
由 Seigo Nonaka 提交于
-
由 Seigo Nonaka 提交于
The main purpose of this CL is expanding FontLanguage to be able to save full script tag. Previously, FontLangauge kept only limited script tags. With this CL, FontLanguage keeps all script tags. This CL contains the following changes: - FontLanguage changes: -- Moved to private directory not to be instantiated outside of Minikin. -- Removed bool(), bits(), FontLanguage(uint32_t) methods which are no longer used. -- Change the FontLanguage internal data structure. -- Introduces script match logic. - FontLanguages changes: -- Moved to private directory not to be instantiated outside of Minikin. -- This is now std::vector<FontLanguage> - FontLanguageListCache changes: -- Now FontLanguageListCache::getId through FontStyle::registerLanguageList is the only way to instantiate the FontLanguage. -- Normalize input to be BCP47 compliant identifier by ICU. Bug: 26168983 Change-Id: I8df992a6851021903478972601a9a5c9424b100c
-
- 16 12月, 2015 1 次提交
-
-
由 Seigo Nonaka 提交于
Previous CL[1] adds module names into LOCAL_ADDITIONAL_DEPENDENCIES, but it was wrong. LOCAL_ADDITIONAL_DEPENDENCIES only accepts file path. However, BUILD_PREBUILT doesn't provide a file path of the installed font. So use custom tool and LOCAL_GENERATED_SOURCES instead. Confirmed no-op build doesn't built minikin_tests and continuous_native_tests.zip contains all necessary files. [1]: I7d83abc077bce4e38fd93c7d607bc7e1f7871e6b BUG: 26197092 Change-Id: I90e80036248ae72e0e0f9c6144a259f5f96ec9ce
-
- 15 12月, 2015 2 次提交
-
-
由 Dan Austin 提交于
am: b9f27a25 * commit 'b9f27a25': Refactored unsigned long negations
-
由 Dan Austin 提交于
am: 1bbe03d2 * commit '1bbe03d2': Refactored unsigned long negations
-
- 12 12月, 2015 1 次提交
-
-
由 Dan Austin 提交于
Replaced two instances of negating an unsigned long, which was resulting in aborts from unsigned integer sanitization with the equivalent logical not-add 1. Bug: 25884483 Change-Id: Ic7498e0af638dcd438ce69803021d3cdc3acd4f6
-
- 11 12月, 2015 1 次提交
-
-
由 Seigo Nonaka 提交于
Removing the extra score of 2 for the script matching from the font fallback score calculation. If the two langauges have different scripts, we should treat them as different languages. Change-Id: Ie0d6f27bd1086248895935a7bd01b5d404044ad0
-
- 10 12月, 2015 1 次提交
-
-
由 Seigo Nonaka 提交于
To work native tests with additional font related files, copy the files into /data/nativetest/minikin_tests/. This copy only happens when the minikin_tests is built. It is not an expected to copy the font files into the product image. Change-Id: I7d83abc077bce4e38fd93c7d607bc7e1f7871e6b
-
- 09 12月, 2015 9 次提交
-
-
由 Seigo Nonaka 提交于
FontLanguageListCache is an intentionally leaky singleton and its internal cache won't be purged. BUG: 25122318 Change-Id: I272097e979fe44b83fd86822235350e12eda8f51
-
由 Seigo Nonaka 提交于
-
由 Raph Levien 提交于
am: d5690857 * commit 'd5690857': Avoid integer overflows in parsing fonts
-
由 Raph Levien 提交于
am: ffadd191 * commit 'ffadd191': Avoid integer overflows in parsing fonts
-
由 Raph Levien 提交于
am: 998293f9 * commit '998293f9': Avoid integer overflows in parsing fonts
-
由 Raph Levien 提交于
am: 6299a6ba * commit '6299a6ba': Avoid integer overflows in parsing fonts
-
- 08 12月, 2015 2 次提交
-
-
由 Seigo Nonaka 提交于
If U+FE0E is appended to the emoji code point, the glyph should have a text presentation. On the other hand, if U+FE0F is appended to the emoji code point, the glyph should have an emoji presentation. Bug: 11256006 Change-Id: I5187d44500b13a138e7ffbcf2c72e2da06374c8c
-
由 Raph Levien 提交于
A malformed TTF can cause size calculations to overflow. This patch checks the maximum reasonable value so that the total size fits in 32 bits. It also adds some explicit casting to avoid possible technical undefined behavior when parsing sized unsigned values. Bug: 25645298 Change-Id: Id4716132041a6f4f1fbb73ec4e445391cf7d9616 (cherry picked from commit 183c9ec2)
-
- 01 12月, 2015 1 次提交
-
-
由 Raph Levien 提交于
A malformed TTF can cause size calculations to overflow. This patch checks the maximum reasonable value so that the total size fits in 32 bits. It also adds some explicit casting to avoid possible technical undefined behavior when parsing sized unsigned values. Bug: 25645298 Change-Id: Id4716132041a6f4f1fbb73ec4e445391cf7d9616
-
- 20 11月, 2015 2 次提交
-
-
由 Seigo Nonaka 提交于
-
由 Seigo Nonaka 提交于
-
- 19 11月, 2015 7 次提交
-
-
由 Seigo Nonaka 提交于
To optimize the font family search, mRanges is used for narrowing down the search range. However, mRanges is constructed from format 4 or format 12 entries. So, if the font supports a variation sequence but doesn't support the base character of the sequence, the font may not be listed in mRanges. The proper way to fix this issue is using format 14 subtable information for mRanges construction. However, this is not a trivial work since currently we rely on HarfBuzz for variation sequence lookup and it doesn't provide any API for retrieving coverage information. Thus, as the quick fix, iterate all font families in font fallback chain if the variation sequence is specified. Change-Id: I278da84be8fb8f553590e2e42ed450b7e4a34eca
-
由 Seigo Nonaka 提交于
To implement Paint.hasGlyph(), we need a new method to ask the FontCollection if it has a glyph for the code point and variation selector pair. Bug: 11256006 Change-Id: Ie4185c91bcaa4d01aee6beb97784b1f9d2a88f12
-
由 Raph Levien 提交于
Suppress linebreaks in emoji ZWJ sequences - DO NOT MERGE am: 30fca219 -s ours am: 43772d6e -s ours am: 13c1203c -s ours * commit '13c1203c': Suppress linebreaks in emoji ZWJ sequences - DO NOT MERGE
-
由 Raph Levien 提交于
Accept variation selector in emoji sequences - DO NOT MERGE am: 35e4ebec -s ours am: 562d243a -s ours am: 805f849a -s ours * commit '805f849a': Accept variation selector in emoji sequences - DO NOT MERGE
-
由 Raph Levien 提交于
am: 43772d6e -s ours * commit '43772d6e': Suppress linebreaks in emoji ZWJ sequences - DO NOT MERGE
-
由 Raph Levien 提交于
am: 43772d6e -s ours * commit '43772d6e': Suppress linebreaks in emoji ZWJ sequences - DO NOT MERGE
-
由 Raph Levien 提交于
am: 562d243a -s ours * commit '562d243a': Accept variation selector in emoji sequences - DO NOT MERGE
-