aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Fix bug 6888377: crash in GetUnitsPerEm on locale changeRaph Levien2012-07-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | am dccf2260: (-s ours) Reconcile with jb-mr0-release - do not mergeThe Android Open Source Project2012-07-310-0/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | * commit 'dccf2260c8edda887454d40f61f06e72d5389139':
| | * | | Reconcile with jb-mr0-release - do not mergeThe Android Open Source Project2012-07-310-0/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | Change-Id: Ia62ca8b048a34639d11f7838b03c74420b3b3868
| * | \ \ \ Merge "Reduce embolden effect." into jb-mr1-devVictoria Lease2012-07-311-1/+11
| |\ \ \ \ \ | | |_|_|/ / | |/| | | |
| | * | | | Reduce embolden effect.Victoria Lease2012-07-261-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | am 5ff3803b: (-s ours) am 1d6fa961: Reduce embolden effect. DO NOT MERGEVictoria Lease2012-07-270-0/+0
| |\ \ \ \ \ | | |/ / / / | |/| / / / | | |/ / / | | | | | * commit '5ff3803b6d9b61efd86cea72a525cb46e7f8c26e': Reduce embolden effect. DO NOT MERGE
| | * | | am 1d6fa961: Reduce embolden effect. DO NOT MERGEVictoria Lease2012-07-271-1/+11
| | |\ \ \ | | | |_|/ | | |/| | | | | | | | | | | | * commit '1d6fa961d4a4787bf9444e2c0e42591236cfcab2': Reduce embolden effect. DO NOT MERGE
| * | | | Accurately calculate advances in general case. Fixes bug 6833339.Raph Levien2012-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Cleanup ref counts for SkCreateTypefaceForScriptBilly Hewlett2012-07-091-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Merge "Revert "Revert "Use Elegant fonts for Webkit, Compact fonts for ↵Victoria Lease2012-06-219-169/+269
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Textview"""
| | * | | | Revert "Revert "Use Elegant fonts for Webkit, Compact fonts for Textview""Billy Hewlett2012-06-219-169/+269
| | | | | | | | | | | | | | | | | | This reverts commit 81957ccb58db76c172e195dc3e31eba85d3e4ac9
| * | | | | Merge "Revert "Use Elegant fonts for Webkit, Compact fonts for Textview""Billy Hewlett2012-06-219-269/+169
| |\ \ \ \ \ | | |/ / / /
| | * | | | Revert "Use Elegant fonts for Webkit, Compact fonts for Textview"Billy Hewlett2012-06-219-269/+169
| | | | | | | | | | | | | | | | | | This reverts commit 421654d4bf3ca50e2247a7389851d2e8f4812564
| * | | | | Merge "Use Elegant fonts for Webkit, Compact fonts for Textview"Victoria Lease2012-06-219-169/+269
| |\ \ \ \ \ | | |/ / / /
| | * | | | Use Elegant fonts for Webkit, Compact fonts for TextviewBilly Hewlett2012-06-209-169/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | am 456fc154: (-s ours) am 8c1c7cfa: Cherrypick change to skiaBilly Hewlett2012-06-210-0/+0
| |\ \ \ \ \ | | |/ / / / | |/| / / / | | |/ / / | | | | | * commit '456fc154cef79072c3ceeae231a91045e9cb0e01': Cherrypick change to skia
| | * | | am 8c1c7cfa: Cherrypick change to skiaBilly Hewlett2012-06-212-1/+9
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '8c1c7cfacd82a174c65fcbf839d7037e3692aee8': Cherrypick change to skia
| | | * | | Cherrypick change to skiaBilly Hewlett2012-06-202-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7514b6931a11a0a79ec3abd4068f72998fcdf99d
| * | | | | am c27ee87c: Reconcile with jb-releaseThe Android Open Source Project2012-06-190-0/+0
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | * commit 'c27ee87c8da93b6d609be1be18eaa0f0c7d07e98':
| | * | | | Reconcile with jb-releaseThe Android Open Source Project2012-06-190-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: I10b0459ad51c4a2d7d62ad73d2a8fd3e51828f9c
| * | \ \ \ \ am e8fff9d9: (-s ours) am ec1ad08b: DO NOT MERGE Skia solution to fake-bold ↵Victoria Lease2012-06-140-0/+0
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fallback fonts. * commit 'e8fff9d95ce9fa18d4114558f2b497ef62e240da': DO NOT MERGE Skia solution to fake-bold fallback fonts.
| | * | | | | am ec1ad08b: DO NOT MERGE Skia solution to fake-bold fallback fonts.Victoria Lease2012-06-131-3/+15
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ec1ad08b13b4034af0ae2e65da7803250a7eece3': DO NOT MERGE Skia solution to fake-bold fallback fonts.
| * | | | | | | Skia solution to fake-bold fallback fonts.Victoria Lease2012-06-131-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | Merge "Prepare Skia-Webp decoder for Alpha and lossless."Pascal Massimino2012-06-071-55/+45
| |\ \ \ \ \ \ \
| | * | | | | | | Prepare Skia-Webp decoder for Alpha and lossless.Vikas Arora2012-06-071-55/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | am 1316efa2: (-s ours) am 9b1d0758: Merge "Cherrypick change to skia"Jean-Baptiste Queru2012-06-070-0/+0
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | * commit '1316efa2d9a5d356c8890d34867776d944cc643c': Cherrypick change to skia
| | * | | | | | | am 9b1d0758: Merge "Cherrypick change to skia"Jean-Baptiste Queru2012-06-071-0/+34
| | |\ \ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | * commit '9b1d07582a57f0bf58a60f0b8e8f81a5d1c6b867': Cherrypick change to skia
| | | * | | | | | Merge "Cherrypick change to skia"Jean-Baptiste Queru2012-06-071-0/+34
| | | |\ \ \ \ \ \
| | | | * | | | | | Cherrypick change to skiaBilly Hewlett2012-06-071-0/+34
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9845f8d042fb89fe0f4876f0021b9ec486ac3ef5
| * | | | | | | | Merge "Fix hardcoded font path. Allow adding new font path thru Skia ↵Billy Hewlett2012-06-075-0/+208
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes. Bug: 6609231 Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a"
| | * | | | | | | | Fix hardcoded font path. Allow adding new font path thru Skia changes.Billy Hewlett2012-06-045-0/+208
| | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6609231 Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a
| * | | | | | | | am 95e19b22: Reconcile with jb-releaseThe Android Open Source Project2012-06-070-0/+0
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | | | | | | | | | * commit '95e19b22cfcaae45000a91dfdf89801ddaf5252a':
| | * | | | | | | Reconcile with jb-releaseThe Android Open Source Project2012-06-070-0/+0
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If3c616f2b23e6af3a3db542593af52d08a70b7ee
| * | \ \ \ \ \ \ \ am 1b0ebcb6: am bd64a4dd: Use FreeType\'s "embolden", but only if face is ↵Victoria Lease2012-06-052-7/+11
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | / / / / / / | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | not already bold. * commit '1b0ebcb6e80bf4e66580808d02fe5da5b4a72ea5': Use FreeType's "embolden", but only if face is not already bold.
| | * | | | | | | am bd64a4dd: Use FreeType\'s "embolden", but only if face is not already bold.Victoria Lease2012-06-052-7/+11
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bd64a4dd0d45eb7ea09dd46e2e5f3291655dbc5e': Use FreeType's "embolden", but only if face is not already bold.
| * | \ \ \ \ \ \ \ am a1c8d491: Reconcile with jb-releaseThe Android Open Source Project2012-05-300-0/+0
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | * commit 'a1c8d491e40f972967b4ab89f63625a570fbf8fb':
| | * | | | | | | | Reconcile with jb-releaseThe Android Open Source Project2012-05-300-0/+0
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I487813624accf824b997001a2d88930b916f1a7b
| * | \ \ \ \ \ \ \ \ am dbc2ccff: am f37732cf: Merge "detect all masks, and don\'t use ↵Derek Sollenberger2012-05-301-2/+4
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | masksuperblitter with those." into jb-dev * commit 'dbc2ccff2fb99af1051f0ce73e3c34ebcd69db5f': detect all masks, and don't use masksuperblitter with those.
| | * | | | | | | | | am f37732cf: Merge "detect all masks, and don\'t use masksuperblitter with ↵Derek Sollenberger2012-05-301-2/+4
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | those." into jb-dev * commit 'f37732cf5b2f45e434ef1374224b870f1a0f2ca6': detect all masks, and don't use masksuperblitter with those.
| * | \ \ \ \ \ \ \ \ \ am 9aae69c6: Reconcile with nakasi-factoryrom-releaseThe Android Open Source Project2012-05-240-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '9aae69c63423b9dc235516c60ee00bf4a322073c':
| | * | | | | | | | | | Reconcile with nakasi-factoryrom-releaseThe Android Open Source Project2012-05-240-0/+0
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ieef3e00a660125acc348dd5c4392ffa4b6fba2c3
| | | * \ \ \ \ \ \ \ \ \ merge in nakasi-factoryrom-release history after reset to jb-devThe Android Automerger2012-05-220-0/+0
| | | |\ \ \ \ \ \ \ \ \ \
| * | | \ \ \ \ \ \ \ \ \ \ am 04eca90f: Reconcile with jb-releaseThe Android Open Source Project2012-05-220-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '04eca90fd31a83c3838694804c8bab6e76450977':
| | * | | | | | | | | | | | Reconcile with jb-releaseThe Android Open Source Project2012-05-220-0/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib508cbb004388631b20650d575b2829b481fb989
| * | | | | | | | | | | | | am d4c19447: Reconcile with jb-release nakasi-factoryrom-releaseThe Android Open Source Project2012-05-210-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd4c1944784ee70f45b83560dbfe1760a4db2b5b8':
| | | | | | | | | | | | | |
| | | \ \ \ \ \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ \ \ \ \ Reconcile with jb-release nakasi-factoryrom-releaseThe Android Open Source Project2012-05-180-0/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ica7c000a9aa45215dbefec538d8221d9d8134236
| | | | * | | | | | | | | | | merge in nakasi-factoryrom-release history after reset to jb-devThe Android Automerger2012-05-180-0/+0
| | | | |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / /
| * | | | | | | | | | | | | | am bffb617b: am 943e1fde: Add support for reusing bitmap in webp format.Owen Lin2012-05-214-75/+140
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bffb617b0b60a0313bbb737e3e9c7fc4380de19a': Add support for reusing bitmap in webp format.
| | * | | | | | | | | | | | | am 943e1fde: Add support for reusing bitmap in webp format.Owen Lin2012-05-174-75/+140
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '943e1fde4c6ecf0eb8998cd86012caa341a02ccf': Add support for reusing bitmap in webp format.
| * | \ \ \ \ \ \ \ \ \ \ \ \ \ am c9ef81a1: am c85ca84d: Nvidia\'s patch for reusing bitmap in image region ↵Owen Lin2012-05-213-25/+82
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | decoding. * commit 'c9ef81a14905cd38a6bae1004f62d51a2c3ebd43': Nvidia's patch for reusing bitmap in image region decoding.