• Home
  • History
  • Annotate
  • only in /external/skia/src/ports/
History log of /external/skia/src/ports/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
643e66b71286d7b1f6fdb9c64f45b185d0700398 14-Oct-2011 Derek Sollenberger <djsollen@google.com> Fix serialization crash for saved pages in the browser.

The uint packing optimization was producing incorrect results in
this case. Since it only saves us approx 1 byte per font there is
no need to try to keep it around.

bug: 5461283
Change-Id: Ic2b0154d433fa620e588b048c32064358aa94bc4
kFontHost_android.cpp
40646971fb336f93951a6fc616f83c00e4de7add 12-Oct-2011 Derek Sollenberger <djsollen@google.com> Fix font issue for some sites using offline reading mode.

Custom fonts (e.g. WebFonts) were not properly serialized and
resulted in unexpected behavior when a picture was saved for
offline reading. This CL serializes the custom font so that we
can use it later when playing the picture back.

bug: 5388379
Change-Id: Ic29e9bf10ac70c46a45f3902ea93558b235fd2dd
kFontHost_android.cpp
9c0ebce1a8c21bbbe49d9f935685b82b5eb5047f 06-Jul-2011 Chet Haase <chet@google.com> Read font info from system config files

This change adds new files in /system/etc: system_fonts.xml and
fallback_fonts.xml. The change also allows a third file to be added
by vendors in /vendor/etc/fallback_fonts.xml. These files, loaded at
boot time, mimic the logic that used to be in code, but which is
now configurable through editing these files, making the system more
flexible and easy to work with for us and vendors as future fonts
are added to the system.

Change-Id: Iac0af4924ca0454c6dde4d53058b1425200ed4b7
ontHostConfiguration_android.cpp
ontHostConfiguration_android.h
kFontHost_android.cpp
b65301aa53c9076da7b381c3f5ac3373f0cfa351 12-Jul-2011 Derek Sollenberger <djsollen@google.com> Add support for multiple styles in the fallback fonts.

bug: 4390209
Change-Id: I74774b43b3f0c903fb96911e156d9911cf55bb68
kFontHost_android.cpp
eb4843787eb5afdc08871f38de631736d8f3a9f3 11-Jul-2011 Russell Brenner <russellbrenner@google.com> Revert "Allow multiple styles for fallback fonts"

The change being reverted somehow alters the reference counting of
SkTypeface instances, resulting in prematurely freed font data, which
is the underlying issue with the disappearing clock on the lockscreen
(http://b/5004404).

This reverts commit 792a256ab723bbc4b55ba00194fe2a9195cae8c0.

Bug: 5004404
Change-Id: I5c3b225f860ce2dcfc0751bded2d842b43a2d3c4
kFontHost_android.cpp
8af39c6fd2e903d2b0a2b1b91b295b847a3ec772 07-Jul-2011 Russell Brenner <russellbrenner@google.com> Add null-check in remove_from_family()

An invalid face is not expected here, but still should not be allowed
to crash.

Bug: 5002710
Change-Id: Ifd11e918f968d5eef67932e514ea6754819fb7a5
kFontHost_android.cpp
7b45a2a7180f3d12d3c01a7eb71aa40b37ef648a 07-Jul-2011 Russell Brenner <russellbrenner@google.com> Merge "Restored null-check in SkFontHost::NextLogicalFont"
04b5451c69f535017109bba8594ce7111c4da2a7 07-Jul-2011 Russell Brenner <russellbrenner@google.com> Restored null-check in SkFontHost::NextLogicalFont

This updated line was to have been included in CL 118811, but some
bad gerrit-fu caused it to go amiss.

Bug: 4390209
Change-Id: Ia7b8e2849cfae3cdfbebc09a91fe26f2355f1ebb
kFontHost_android.cpp
9b37d4117b767112e4dd706ebe23b4fe58f18d70 07-Jul-2011 Russell Brenner <russellbrenner@google.com> Add Droid Ethiopic to fallback list

Regular and Bold styles are now included in the fallback list.

Bug: 4902641
Change-Id: Ia88dedb136ab00dee3ae4e4cc5552e0d3a743f13
kFontHost_android.cpp
792a256ab723bbc4b55ba00194fe2a9195cae8c0 01-Jul-2011 Russell Brenner <russellbrenner@google.com> Allow multiple styles for fallback fonts

Fallback fonts are now recorded with their styles in the list of
available fonts (which is now a doubly-linked list). NextLogicalFont()
has a new parameter, providing the originally requested fontID, from
which we can determine the requested style, which we then pass to
find_best_face() to pick from the available styles.

SkFontHost::NextLogicalFont() no longer assumes that origFontID is
valid (see http://b/issue?id=4980240).

Bug: 4390209
Change-Id: I2e600f7eb75d207e95bae8cc9ed8379ade396058
kFontHost_android.cpp
cc8395159cea368f09a2fce36229c7bc93828c9a 01-Jul-2011 Russell Brenner <russellbrenner@google.com> Revert "Allow multiple styles for fallback fonts"

This reverts commit da49dc51598fa6f5ffae857f73bb8be12caf216e.

Bug: 4980240
Change-Id: Ib0470d458db12821a89ce019d395152d06296305
kFontHost_android.cpp
da49dc51598fa6f5ffae857f73bb8be12caf216e 31-May-2011 Russell Brenner <russellbrenner@google.com> Allow multiple styles for fallback fonts

Fallback fonts are now recorded with their styles in the list of
available fonts (which is now a doubly-linked list). NextLogicalFont()
has a new parameter, providing the originally requested fontID, from
which we can determine the requested style, which we then pass to
find_best_face() to pick from the available styles.

Bug: 4390209
Change-Id: I0c45fd7cefd00df3805bd75df77c519f6d922fe7
kFontHost_android.cpp
0199fa7423f89a129da2b22a488f2c18e2e4727f 23-Jun-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 1562)

Change-Id: Ief005abc9eb741ccf5efec3d1f29fe2dfc23103d
kFontHost_android.cpp
kFontHost_fontconfig.cpp
kFontHost_linux.cpp
kFontHost_mac_atsui.cpp
kFontHost_mac_coretext.cpp
kFontHost_none.cpp
kFontHost_simple.cpp
kFontHost_win.cpp
0b15698a8c76bb8abc1b555c1d91892669b4118f 06-Jun-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 1510)

This CL includes bug fixes and closely mirrors the version of
Skia used in Chrome M13, which is likely to be our baseline for
ICS.

The CL also adds source files for the SampleApp which will allow
us to execute basic skia tests. The SampleApp requires the
utils/views directory in order to run.

Finally, we have included the PDF backend for Skia in order to
experiment with using it to generate PDF files for certain
applications.

Note: The SampleApp and PDF code are not built as part of libskia.

Change-Id: I1895ccfbd8074e25f19148cc7bd1b4af571fb307
kFontHost_FreeType.cpp
kFontHost_linux.cpp
kFontHost_mac_coretext.cpp
kFontHost_win.cpp
35e2e62b55598210f6999fc2ea26ff8f41446ffe 16-May-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 1327)

Change-Id: I46f41274d07a3d7bac4728f8841c7f5e89dc9181
kDebug_stdio.cpp
kDebug_win.cpp
kFontHost_FreeType.cpp
kFontHost_mac_coretext.cpp
kFontHost_win.cpp
87b8e645865f9633f410c02252a0fd3feb18f09b 14-Apr-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 1116)

There is a companion change in external/webkit

Change-Id: I1c4110e7520bbef3f4e5f9551adb7ec79ac1e3ed
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_mac_atsui.cpp
kFontHost_mac_coretext.cpp
kFontHost_none.cpp
kFontHost_simple.cpp
kFontHost_win.cpp
orts_files.mk
137a4ca42423bbb6d683067ea544c9a48f18f06c 17-Mar-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 950)

This merge will allow us to now import the sample app
infrastructure in skia to do on device measurements.

Change-Id: Idcab6b1524f371521717cde61a6e98a12d897e6b
kFontHost_FreeType.cpp
kFontHost_simple.cpp
kFontHost_win.cpp
05b6b4d746867a9fb02e14edfe1bf3685abeb813 14-Mar-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 922)

Change-Id: I7ed57d10905d8bad6486a4d7410165eec1cc2b4f
kFontHost_FreeType.cpp
kFontHost_ascender.cpp
kFontHost_mac_atsui.cpp
kFontHost_mac_coretext.cpp
kFontHost_win.cpp
71531ca1f484da5837be8017a0c83e5bff701587 24-Feb-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 842)

This merge picks up the fixed width font updates and improved
blur code from the Skia repository.

Change-Id: Iad2301a353c31da27ca214527cf4ed8f24641749
kFontHost_FreeType.cpp
kFontHost_android.cpp
kFontHost_linux.cpp
kFontHost_win.cpp
40528743dbb9ce7f39f093e0cdc47849ac8887cf 07-Jan-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 808)

This merge has companion changes in the following projects in order
to be compatible with changes to skia interfaces and practices:

1. /frameworks/base
2. /external/webkit

Change-Id: I54092971305579e81a8fdb27bbe04ec340792e3b
kDebug_brew.cpp
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_FreeType_Subpixel.cpp
kFontHost_android.cpp
kFontHost_ascender.cpp
kFontHost_fontconfig.cpp
kFontHost_gamma_none.cpp
kFontHost_linux.cpp
kFontHost_mac.cpp
kFontHost_mac_atsui.cpp
kFontHost_mac_coretext.cpp
kFontHost_none.cpp
kFontHost_simple.cpp
kFontHost_win.cpp
kHarfBuzzFont.cpp
kImageDecoder_CG.cpp
kImageRef_ashmem.cpp
kMemory_brew.cpp
kMemory_malloc.cpp
kOSFile_brew.cpp
kThread_win.cpp
kTime_win.cpp
ad711393f2afcb3cb8abcf8879dccfa91db8eec2 24-Sep-2010 satok <satok@google.com> am d178ac36: am 956f20ce: Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fonts

Merge commit 'd178ac36bda038176a99943e2b50a2f0ae3ecc5c'

* commit 'd178ac36bda038176a99943e2b50a2f0ae3ecc5c':
Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fonts
956f20cebc0d9c7a1c59dc18a556b7aaff22b39c 22-Sep-2010 satok <satok@google.com> Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fonts

Change-Id: I1eccbe49f88c155b4b5490e2783db9d3ef2371be
kFontHost_android.cpp
4e02f30f93ca861c99745986c5c92e0c685d5c76 24-May-2010 Patrick Scott <phanna@android.com> Add ashmem image ref flattening.

Bug: 2612735
Change-Id: Iecfc11512c1d234fbf312aab4192b6c38c6c14b6
kImageRef_ashmem.cpp
kImageRef_ashmem.h
4701b5d25c5617888ea754f373946c57534750cb 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ic7024b390883841714ac6fb5f6a11f87a9f707a6
2b910807112618cb20b689bc6ae20e0e211ed41c 26-Apr-2010 Peter Eliasson <peter.eliasson.x@sonyericsson.com> Added GetUnitsPerEM method to SkFontHost

GetUnitsPerEM can be used as convenience method to
find out the number of font units per EM square
without having to fetch the head table.

Change-Id: I6f09b86a13e020ff74156571782f4bc822b7c1f3
kFontHost_FreeType.cpp
ff1f66966879e612660387285b7ead9c040ff88f 10-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I064902aa9745342ccfe868331ccc000767e92fc0
19ca923e9120da2c5a2e66044a88022065d3c122 26-Apr-2010 Peter Eliasson <peter.eliasson.x@sonyericsson.com> Improved error handling when font loading fails.

Without this this patch, an application could trigger a platform crash
by calling:

Typeface typeface = Typeface.createFromFile("");
boolean isBold = typeface.isBold();

The crash occurs since the find_name_and_style function does not
return an error code.

Change-Id: Id1d2a43b47d956c5a52f01e7d4b8cbb12631d59a
kFontHost_FreeType.cpp
kFontHost_android.cpp
95c58e02fc5c7e165599773225d32901fd9ba4e3 02-Mar-2010 Mike Reed <reed@google.com> add arabic, hebrew, thai fonts to our fallback list
kFontHost_android.cpp
1c980e0d7772f05f570ae0227d91635f017c2227 09-Feb-2010 Mike Reed <reed@google.com> refresh from skia/trunk
kFontHost_FreeType.cpp
c49fcf5e8bc1c84bcb0a51fe615caa7e72dd7dcc 26-Jan-2010 Mike Reed <reed@google.com> refresh from skia/trunk
kFontHost_FreeType.cpp
kFontHost_gamma.cpp
87a2a317c4e99c547ecbfa81f40f7bd7f2932433 20-Jan-2010 Mike Reed <reed@google.com> refresh from skia/trunk
kOSFile_stdio.cpp
2cf237c941bf5964f654d0ccdd639a26468e1d71 08-Jan-2010 Mike Reed <reed@google.com> refresh from skia/trunk, adds paint bit for bitmapfonts
kFontHost_FreeType.cpp
091f227385b467090b5a7169a8e2faf19eca7105 04-Jan-2010 Mike Reed <reed@google.com> add inverse of textToGlyphs(), so we can extract the original text from the browser
display for copy/paste, given that webkit renders it using glyph codes (and we need
unichars).

hange 36311 in external/webkit is dependent on this.

Fixes http://b/2166748
kFontHost_FreeType.cpp
4c1d4eb4c9602adf6207d1dffcbfc793cffc43e8 16-Oct-2009 Mike Reed <reed@google.com> refresh from skia/trunk
kDebug_stdio.cpp
9d93915d4705b9f5c85b533012aca9b491b5a4ca 25-Aug-2009 Mike Reed <reed@google.com> enable runtime changes to gamma tables
kFontHost_gamma.cpp
9a5843c9b6ef01f25513bef72a91936f75cc4458 13-Aug-2009 Mike Reed <reed@google.com> special case no scale in the matrixprocs for tiled bitmaps
yields ~10% overall speedup
also, refresh misc fixes in freetype and antipath from trunk
kFontHost_FreeType.cpp
e3c6561496ef60345d830f1ab883afb1d1f251ef 31-Jul-2009 Mike Reed <reed@google.com> add GetFileName api to fonthost, to return (optionally) the file backing a given font
minor refresh on freetype and blitrow.h from skia/trunk
kFontHost_FreeType.cpp
kFontHost_android.cpp
af2616552738d653d5453915d3236e7154b868cd 24-Jul-2009 Mike Reed <reed@google.com> refresh from trunk
check-point for lcd text rendering
kFontHost_FreeType.cpp
a8c52de60de1d2471206b3c81e9243e2c76f2edb 29-Jun-2009 Mike Reed <reed@google.com> refresh from trunk: shape flattening, bzero
kFontHost_FreeType.cpp
9f0b433bdd1680cd1d371c19d7e0ffde8fb2c484 22-Jun-2009 Mike Reed <reed@google.com> pull from trunk
move (and extended) xfermode enum into SkXfermode.h
fix recursion bug in stroking
minor utility code changes for new unittests
kFontHost_FreeType.cpp
dab163f0b2658c2dba48839e72f81d3d8ee0ae8b 29-May-2009 Mike Reed <reed@google.com> refresh from skia/trunk
- add canvas entry-point for shapes
- add SDL support to GL port
- rowbytes computation fixes in bitmaps
kFontHost_tables.cpp
eba9f316916f3381d6a5dd5c1300fea6ec6da8dc 01-May-2009 Mike Reed <reed@google.com> refresh from skia/trunk

- catch overflow from mask size computation
- add kADD_Mode to porterduff (for webkit)
- support interlace images in png
kFontHost_FreeType.cpp
f95abb54afa5469c53d3ac899ecbce8a386471c1 13-Apr-2009 Mike Reed <reed@google.com> Pull latest changes from skia/trunk:

SkColorPriv.h - change alpha macro to favor keep opaque destinations opaque
SkFontHost.h - new apis for accessing font tables
SkPostConfig.h - more #ifdef protections around windows.h
SkFontHost_tables.cpp added
Various updates to unit tests
kFontHost_tables.cpp
049e2d4a53b95b3640d8ff158cd82729eecc6134 03-Apr-2009 Mike Reed <> AI 144454: pull from demetrius:
- use float wrappers for floorf() and pow()
- fix obsolete type reference uint16
- move android backend for SkDebugf into /ports file

Automated import of CL 144454
kDebug_android.cpp
kDebug_stdio.cpp
679464e412ba31c1b42b5cb9b8f1e6880d63f50e 25-Mar-2009 Mike Reed <> Automated import from //branches/master/...@141164,141164
kFontHost_android.cpp
2094e41fe6ba5ab33405f785d3a8d54791736a38 25-Mar-2009 Mike Reed <> Automated import from //branches/master/...@141140,141140
kFontHost_android.cpp
af527e02dce280c269d751322e9f60aac8cb97da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
kFontHost_android.cpp
5956d1c224aadf1d2712b46b32d3fc69a19915bd 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
kFontHost_FONTPATH.cpp
kFontHost_ascender.cpp
kFontHost_linux.cpp
kFontHost_mac.cpp
kFontHost_none.cpp
kFontHost_win.cpp
kImageDecoder_CG.cpp
4b86a58dcecc030f2220cb91f4744f8099e7dfe6 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
kFontHost_android.cpp
3298d565d8a70b84f28b455f6289293883c85494 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_android.cpp
kFontHost_linux.cpp
kFontHost_mac.cpp
kFontHost_none.cpp
kFontHost_win.cpp
0910916c0f7b951ee55c4b7c6358295b9bca0565 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_android.cpp
kFontHost_ascender.cpp
kFontHost_gamma.cpp
kFontHost_linux.cpp
kFontHost_mac.cpp
kFontHost_none.cpp
kFontHost_win.cpp
kGlobals_global.cpp
kImageDecoder_CG.cpp
kImageDecoder_empty.cpp
kImageRef_ashmem.cpp
kImageRef_ashmem.h
kOSEvent_android.cpp
kOSEvent_dummy.cpp
kOSFile_stdio.cpp
kThread_none.cpp
kThread_pthread.cpp
kThread_win.cpp
kTime_Unix.cpp
kXMLParser_empty.cpp
kXMLParser_expat.cpp
kXMLParser_tinyxml.cpp
kXMLPullParser_expat.cpp
k_predefined_gamma.h
6eb364108744656fcd23a96a478aa772cd4e85bc 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_android.cpp
kFontHost_ascender.cpp
kFontHost_gamma.cpp
kFontHost_linux.cpp
kFontHost_mac.cpp
kFontHost_none.cpp
kFontHost_win.cpp
kGlobals_global.cpp
kImageDecoder_CG.cpp
kImageDecoder_empty.cpp
kImageRef_ashmem.cpp
kImageRef_ashmem.h
kOSEvent_android.cpp
kOSEvent_dummy.cpp
kOSFile_stdio.cpp
kThread_none.cpp
kThread_pthread.cpp
kThread_win.cpp
kTime_Unix.cpp
kXMLParser_empty.cpp
kXMLParser_expat.cpp
kXMLParser_tinyxml.cpp
kXMLPullParser_expat.cpp
k_predefined_gamma.h
a89f6ab5ed3893035d5bf509e6ba6a985efe64e4 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
kFontHost_FreeType.cpp
8552a21d334cbc7971b109f27d05aea9d7690e92 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
kImageDecoder_CG.cpp
kImageDecoder_Factory.cpp
kImageEncoder_Factory.cpp
95b316d35f73630072e033e6d68d7000e652681f 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
kFontHost_mac.cpp
76692c34c7e2d69f4e43133e516c580f08caed99 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_linux.cpp
03202c9c3dfbf8c4feb0a1ee9b3680817e633f58 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
kFontHost_FONTPATH.cpp
kFontHost_FreeType.cpp
kFontHost_android.cpp
kFontHost_ascender.cpp
kFontHost_gamma.cpp
kFontHost_linux.cpp
kFontHost_mac.cpp
kFontHost_none.cpp
kFontHost_win.cpp
kGlobals_global.cpp
kImageDecoder_CG.cpp
kImageDecoder_Factory.cpp
kImageDecoder_empty.cpp
kImageEncoder_Factory.cpp
kImageRef_ashmem.cpp
kImageRef_ashmem.h
kOSEvent_android.cpp
kOSEvent_dummy.cpp
kOSFile_stdio.cpp
kThread_none.cpp
kThread_pthread.cpp
kThread_win.cpp
kTime_Unix.cpp
kXMLParser_empty.cpp
kXMLParser_expat.cpp
kXMLParser_tinyxml.cpp
kXMLPullParser_expat.cpp
k_predefined_gamma.h