- 06 1月, 2015 2 次提交
-
-
由 Narayan Kamath 提交于
* commit '79298c34': Remove hardcoded ICU include paths.
-
由 Narayan Kamath 提交于
* commit '5870d4f0': Remove hardcoded ICU include paths.
-
- 05 1月, 2015 1 次提交
-
-
由 Narayan Kamath 提交于
ICU exports them using LOCAL_EXPORT_C_INCLUDE_DIRS. bug: 18581021 Change-Id: Ia57b3b4d231966203274b0e7e7b850beb1bd11c0
-
- 05 12月, 2014 3 次提交
-
-
由 Andreas Gampe 提交于
* commit '919fbb99': Minikin: Remove unused variables, fix init order
-
由 Andreas Gampe 提交于
* commit 'cb20a2f0': Minikin: Remove unused variables, fix init order
-
由 Raph Levien 提交于
* commit '58b25145': Move coverage bitmap from FontCollection to FontFamily
-
- 04 12月, 2014 3 次提交
-
-
由 Raph Levien 提交于
* commit '13f1aae0': Move coverage bitmap from FontCollection to FontFamily
-
由 Andreas Gampe 提交于
For build-system CFLAGS clean-up, fix unused variables. Reorder initializer list to initialize in the order of member declarations. Change-Id: I64358b2dcf0e39d0f4e18fdc3473de867f84fcba
-
由 Raph Levien 提交于
This will significantly reduce memory usage and also speed the creation of new font families. In particular, the coverage bitmaps for the fonts in the fallback stack will be computed once in the Zygote, rather than separately in each app process. Bug: 17756900 Change-Id: I66f5706bddd4658d78fe5b709f7251ca9d2ff4f8
-
- 13 11月, 2014 2 次提交
-
-
由 Dan Albert 提交于
* commit 'dc81fbad': Move frameworks/minikin over to libc++.
-
由 Dan Albert 提交于
* commit '69d4fba2': Move frameworks/minikin over to libc++.
-
- 12 11月, 2014 1 次提交
-
-
由 Dan Albert 提交于
Bug: 15193147 Change-Id: I5e15c95415c39515340e2663acd5fd26666db720
-
- 31 10月, 2014 1 次提交
-
-
由 Raph Levien 提交于
* commit '253320d2': Move coverage bitmap from FontCollection to FontFamily
-
- 30 10月, 2014 1 次提交
-
-
由 Raph Levien 提交于
This will significantly reduce memory usage and also speed the creation of new font families. In particular, the coverage bitmaps for the fonts in the fallback stack will be computed once in the Zygote, rather than separately in each app process. Bug: 17756900 Change-Id: I66f5706bddd4658d78fe5b709f7251ca9d2ff4f8
-
- 24 10月, 2014 2 次提交
-
-
由 Raph Levien 提交于
* commit '5f11abd3': Silently ignore invalid rangeOffset values
-
由 Raph Levien 提交于
Some fonts contain a cmap segment for char 0xffff that contains an invalid rangeOffset. This was rejected by the existing code, which means the font is considered to have empty Unicode coverage. This patch just discards the invalid segment (consistent with OpenType Sanitizer), making the custom font display. Bug: 18106256 Change-Id: Icc8616a3030f80e62db906332be64d434ae72ea2
-
- 24 9月, 2014 1 次提交
-
-
由 Raph Levien 提交于
* commit 'd5804e39': Fine-tune fake-bolding condition
-
- 23 9月, 2014 1 次提交
-
-
由 Raph Levien 提交于
The old logic for fake bolding results in no fake bolding for a bold span on a light weight (300) because the target weight (600 in this case) didn't meet the condition. This patch fine-tunes the threshold to enable fake bolding for this. Bug: 17587185 Change-Id: I04abd00a74240cbed79c417f81486aa2158b2806
-
- 04 9月, 2014 2 次提交
-
-
由 Raph Levien 提交于
* commit '6740536e': Snap advance widths to integers
-
由 Raph Levien 提交于
Fractional advance widths were causing subtle problems with text positioning when the same text was drawn with different spans in the hwui renderer. Quantizing the coordinates on layout (as opposed to waiting until the renderer draws the glyphs) solves the problem. This patch also fixes a discrepancy between x position and advance widths when letterspacing. Bug: 17347779 Change-Id: Ia705944047408c2839d5ad078eefd6bbec446872
-
- 28 8月, 2014 1 次提交
-
-
由 Raph Levien 提交于
* commit '997c799e': Try Unicode decomposition for selecting fallback font
-
- 27 8月, 2014 1 次提交
-
-
由 Raph Levien 提交于
This patch finds an appropriate fallback font in the case where no font directly maps the requested character, but a font does exist for the character's canonical decomposition. This yields correct rendering of compatibility characters such as U+FA70. Bug: 15816880 Bug: 16856221 Change-Id: Idff8ed6b942fec992a0815a32028b95af091d0ee
-
- 23 8月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
* commit '56c7fb8c': Allocate font vector on stack
-
- 22 8月, 2014 5 次提交
-
-
由 Behdad Esfahbod 提交于
This reduces another allocation (last one?) we were doing when fulfilling shaping requests from the cache. Bug: 17111260 Change-Id: Ieb8ae1ccfcaacedb257e1e9263777f10623aaf98
-
由 Behdad Esfahbod 提交于
* commit '6da7796c': Fix Layout initialization in the skipCache path
-
由 Behdad Esfahbod 提交于
C++ local var initialization always tricks me. Previously, Layout didn't have a constructor, which meant that defining it on the stack left mAdvance uninitialized. This was not an issue when we were doing "new Layout()", since that invokes zero-initialization, but was an issue for the skipCache path that was allocating layout on stack by just "Layout l" instead of "Layout l = Layout()". To avoid surprises, add a constructors that clears everything. Also adds reset() method to reset the layout for reuse. Change-Id: I3e02f00da9dd7d360abe13f63c310f6882292d0a
-
由 Behdad Esfahbod 提交于
* commit '288c9159': Speed up cache lookup
-
由 Behdad Esfahbod 提交于
Avoid copying the string for cache lookup. Bug: 17111260 Change-Id: Ic220bfc991fc6b3dada197304aabdf72a8941bd7
-
- 09 8月, 2014 2 次提交
-
-
由 Behdad Esfahbod 提交于
* commit 'f952161b': Choose same font for Emoji keycap and its base character
-
由 Behdad Esfahbod 提交于
The U+20E3 COMBINING KEYCAP is used in our fonts to generate an emoji rendering of ASCII numbers and letters through GSUB. For that to work we need to choose the same (Emoji) font for the character coming *before* the COMBINING KEYCAP character. This is a special-case of a broader need to choose fonts per grapheme cluster as opposed to per character, but for now, special-case U+20E3. Bug: 7557244 Change-Id: I958e5a01068df8495bbb9bc3b9ed871cea1838b6
-
- 31 7月, 2014 2 次提交
-
-
由 Behdad Esfahbod 提交于
* commit '5986f604': Support fontFeatureSettings
-
由 Behdad Esfahbod 提交于
Bug: 15246510 Change-Id: I544915d29b2be4fb9f82f1989188a3a918c50fbc
-
- 30 7月, 2014 6 次提交
-
-
由 Behdad Esfahbod 提交于
* commit '9802b0dc': Fix examples build
-
由 Behdad Esfahbod 提交于
* commit 'd50c99df': Remove CSS string doLayout entrypoint and supporting code
-
由 Behdad Esfahbod 提交于
* commit '83d5a3c5': Initialize MinikinPaint members
-
由 Behdad Esfahbod 提交于
Was broken after recent CSS removal. Change-Id: I160fbc73286b21336d6f3943ff92d7d150dff74b
-
由 Behdad Esfahbod 提交于
We are stack-allocating MinikinPaint objects in Minikin clients, and without a constructor adding new members to the struct cannot be done without updating all clients (only one right now!). Change-Id: I4170f16498bb6b07cb795495011aca58087ed0bd
-
由 Behdad Esfahbod 提交于
New API removes CSS string and directly takes needed objects. Bug: 16651112 Change-Id: Ie5f7c2ab05be6cbd77cae0a5fd6bb453771ada59
-
- 28 7月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 30 7月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
All usage is ported to the new doLayout() API now. Bug: 16651112 Change-Id: I2c959138a69853b5e30098889d771fe5f4cfaa66
-