| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The underlying problem is that no SkScalerContext objects existed at the
time shapeFontRun is called immediately after a locale change from en to
ja (apparently the dumping of the cache caused all these to be
deallocated), so gFTLibrary was null (and the call tio ref_ft_face
assumes that it's initialized).
There's a pattern for calls which might not necessarily be called from a
scaler context (GetAdvancedTypefaceMetrics is one such), to explicitly
check for an uninitialized library, and create one for the length of the
call if so. This patch changes GetUnitsPerEm to follow this pattern.
Change-Id: I19a4b6fa49fad0aeacc04bf971101aacca6bc94f
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | | |
* commit 'dccf2260c8edda887454d40f61f06e72d5389139':
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ia62ca8b048a34639d11f7838b03c74420b3b3868
|
| |\ \ \ \ \
| | |_|_|/ /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Certain CJK glyphs become essentially unreadable when emboldened at
sizes used by common apps like News/Weather. Reducing embolden
strength slightly makes these glyphs much more readable without
sacrificing bold/normal weight differentiation.
Bug: 6712857
Change-Id: Iec1c478171e33751be1cddbaae6a8ec30bb6cbab
|
| |\ \ \ \ \
| | |/ / / /
| |/| / / /
| | |/ / /
| | | | | |
* commit '5ff3803b6d9b61efd86cea72a525cb46e7f8c26e':
Reduce embolden effect. DO NOT MERGE
|
| | |\ \ \
| | | |_|/
| | |/| |
| | | | |
| | | | | |
* commit '1d6fa961d4a4787bf9444e2c0e42591236cfcab2':
Reduce embolden effect. DO NOT MERGE
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The advance values computed by generateAdvance() were inconsistent with
those computed by generateMetrics, because the fMatrix22 was being
applied in the latter but not former case. Since fMatrix22.xx is 1.0
almost all the time (the exception is only when skew and scale are both
applied), failures were rare.
This patch is an alternative to ag/#/c/207887, in that they both fix the
problem, but in different ways. That patch made fMatrix22.xx equal to
1.0 in almost all cases, while this one gives correct advance values
for arbitrary fMatrix22 values.
Change-Id: Iedfa36e884e3e3e2f078a5d4edfc82004a54e895
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After this checkin, SkCreateTypefaceForScript refs each typeface
that it creates before it returns it. Additionally, all supported harfbuzz
codepoints are added to the unicode mapping array. This patch also fixes a test crash (see bug)
Bug:6756432
Change-Id: Ida3276b76e745b817f9e63be54945e411516dd03
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Textview"""
|
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 81957ccb58db76c172e195dc3e31eba85d3e4ac9
|
| |\ \ \ \ \
| | |/ / / / |
|
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 421654d4bf3ca50e2247a7389851d2e8f4812564
|
| |\ \ \ \ \
| | |/ / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fonts can be marked with elegant or compact in fallback_fonts.xml.
Webkit uses elegant fonts, Textview uses compact fonts (the default),
unmarked fonts are used by both.
Bug: 6649136
Change-Id: I6ab6173c2efc50eba8fcc488c89dfdd083fb9c06
|
| |\ \ \ \ \
| | |/ / / /
| |/| / / /
| | |/ / /
| | | | | |
* commit '456fc154cef79072c3ceeae231a91045e9cb0e01':
Cherrypick change to skia
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '8c1c7cfacd82a174c65fcbf839d7037e3692aee8':
Cherrypick change to skia
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I7514b6931a11a0a79ec3abd4068f72998fcdf99d
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | | |
* commit 'c27ee87c8da93b6d609be1be18eaa0f0c7d07e98':
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I10b0459ad51c4a2d7d62ad73d2a8fd3e51828f9c
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
fallback fonts.
* commit 'e8fff9d95ce9fa18d4114558f2b497ef62e240da':
DO NOT MERGE Skia solution to fake-bold fallback fonts.
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'ec1ad08b13b4034af0ae2e65da7803250a7eece3':
DO NOT MERGE Skia solution to fake-bold fallback fonts.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This version of the fake-bold-for-fallback-fonts fix addresses the
issue succinctly inside of Skia, with no need for Skia's clients to
be aware of the issue. Attempts to draw a bold parent font flag the
embolden flag in the associated SkScalerContext while leaving the
SkPaint's fake bold flag unmodified.
This depends upon change Icdd13f6b, which arranges for FreeType's
FontHost to ignore redundant embolden requests.
Bug: 6629786
Change-Id: I4132a232896f72f632caefd79add2f00c36a578a
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Change the webp_parse_header to read appropriate header bytes (required
for Alpha & lossless bit-stream);
Replaced call WebPGetInfo with WebPGetFeatures to get hasAlpha
information;
Replaced hard-coded setIsOpaque(true) with setIsOpaque(!hasAlpha);
Refactored code for setting decoder config;
Change-Id: I8208233d1aaa0a213a35dd996a72e43f78901c89
|
| |\ \ \ \ \ \ \ \
| | | |/ / / / / /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '1316efa2d9a5d356c8890d34867776d944cc643c':
Cherrypick change to skia
|
| | |\ \ \ \ \ \ \
| | | | |_|_|/ / /
| | | |/| | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '9b1d07582a57f0bf58a60f0b8e8f81a5d1c6b867':
Cherrypick change to skia
|
| | | |\ \ \ \ \ \ |
|
| | | |/ / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Change-Id: I9845f8d042fb89fe0f4876f0021b9ec486ac3ef5
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
changes. Bug: 6609231 Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a"
|
| | | |_|/ / / / /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Bug: 6609231
Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a
|
| |\ \ \ \ \ \ \ \
| | | |/ / / / / /
| | |/| | | | | |
| | | | | | | | | |
* commit '95e19b22cfcaae45000a91dfdf89801ddaf5252a':
|
| | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: If3c616f2b23e6af3a3db542593af52d08a70b7ee
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| | | | / / / / / /
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
not already bold.
* commit '1b0ebcb6e80bf4e66580808d02fe5da5b4a72ea5':
Use FreeType's "embolden", but only if face is not already bold.
|
| | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit 'bd64a4dd0d45eb7ea09dd46e2e5f3291655dbc5e':
Use FreeType's "embolden", but only if face is not already bold.
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| | | | | | | | | |
| | | | | | | | | | |
* commit 'a1c8d491e40f972967b4ab89f63625a570fbf8fb':
|
| | |\ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Change-Id: I487813624accf824b997001a2d88930b916f1a7b
|
| |\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
masksuperblitter with those." into jb-dev
* commit 'dbc2ccff2fb99af1051f0ce73e3c34ebcd69db5f':
detect all masks, and don't use masksuperblitter with those.
|
| | |\ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
those." into jb-dev
* commit 'f37732cf5b2f45e434ef1374224b870f1a0f2ca6':
detect all masks, and don't use masksuperblitter with those.
|
| |\ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | | |
* commit '9aae69c63423b9dc235516c60ee00bf4a322073c':
|
| | |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Change-Id: Ieef3e00a660125acc348dd5c4392ffa4b6fba2c3
|
| | | |\ \ \ \ \ \ \ \ \ \ |
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / / / /
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
* commit '04eca90fd31a83c3838694804c8bab6e76450977':
|
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | | |/ / / / / / / / / / /
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Change-Id: Ib508cbb004388631b20650d575b2829b481fb989
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / / / /
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
* commit 'd4c1944784ee70f45b83560dbfe1760a4db2b5b8':
|
| | | | | | | | | | | | | | | |
| | | \ \ \ \ \ \ \ \ \ \ \ | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | |/ / / / / / / / / /
| | | | |/| | | | | | | | | |
| | | | | | | | | | | | | | | |
Change-Id: Ica7c000a9aa45215dbefec538d8221d9d8134236
|
| | | | |\ \ \ \ \ \ \ \ \ \ \
| | | |/ / / / / / / / / / / / |
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / / / / /
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
* commit 'bffb617b0b60a0313bbb737e3e9c7fc4380de19a':
Add support for reusing bitmap in webp format.
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
* commit '943e1fde4c6ecf0eb8998cd86012caa341a02ccf':
Add support for reusing bitmap in webp format.
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
decoding.
* commit 'c9ef81a14905cd38a6bae1004f62d51a2c3ebd43':
Nvidia's patch for reusing bitmap in image region decoding.
|