History log of /external/skia/src/ports/SkFontHost_android.cpp
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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_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
/external/skia/src/ports/SkFontHost_android.cpp
0199fa7423f89a129da2b22a488f2c18e2e4727f 23-Jun-2011 Derek Sollenberger <djsollen@google.com> Skia Merge (revision 1562)

Change-Id: Ief005abc9eb741ccf5efec3d1f29fe2dfc23103d
/external/skia/src/ports/SkFontHost_android.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
/external/skia/src/ports/SkFontHost_android.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
/external/skia/src/ports/SkFontHost_android.cpp
956f20cebc0d9c7a1c59dc18a556b7aaff22b39c 22-Sep-2010 satok <satok@google.com> Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fonts

Change-Id: I1eccbe49f88c155b4b5490e2783db9d3ef2371be
/external/skia/src/ports/SkFontHost_android.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
/external/skia/src/ports/SkFontHost_android.cpp
95c58e02fc5c7e165599773225d32901fd9ba4e3 02-Mar-2010 Mike Reed <reed@google.com> add arabic, hebrew, thai fonts to our fallback list
/external/skia/src/ports/SkFontHost_android.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
/external/skia/src/ports/SkFontHost_android.cpp
679464e412ba31c1b42b5cb9b8f1e6880d63f50e 25-Mar-2009 Mike Reed <> Automated import from //branches/master/...@141164,141164
/external/skia/src/ports/SkFontHost_android.cpp
2094e41fe6ba5ab33405f785d3a8d54791736a38 25-Mar-2009 Mike Reed <> Automated import from //branches/master/...@141140,141140
/external/skia/src/ports/SkFontHost_android.cpp
af527e02dce280c269d751322e9f60aac8cb97da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/external/skia/src/ports/SkFontHost_android.cpp
4b86a58dcecc030f2220cb91f4744f8099e7dfe6 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/external/skia/src/ports/SkFontHost_android.cpp
3298d565d8a70b84f28b455f6289293883c85494 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/external/skia/src/ports/SkFontHost_android.cpp
0910916c0f7b951ee55c4b7c6358295b9bca0565 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/skia/src/ports/SkFontHost_android.cpp
6eb364108744656fcd23a96a478aa772cd4e85bc 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/skia/src/ports/SkFontHost_android.cpp
03202c9c3dfbf8c4feb0a1ee9b3680817e633f58 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/external/skia/src/ports/SkFontHost_android.cpp