History log of /frameworks/base/tools/layoutlib/rename_font/build_font.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d654b6f981dbef7c6a6a57c8725fc9f510dd7a09 06-Apr-2015 Deepanshu Gupta <deepanshu@google.com> Be lenient in accepting version strings.

Don't throw exceptions for malformed version strings in font files, and
try to rename the font as is.

Change-Id: Ib4f74e68593abb5b551fbcb049484efc925a3d6e
/frameworks/base/tools/layoutlib/rename_font/build_font.py
7ea293bc6a31c5b1bf3b2663376a39dc3a79b671 28-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Change font family name.

During the SDK build, rename the Font's Family name and not just the
PS Name. Updating the PS name doesn't work.

Change-Id: I997b5eec9f493ce97b95c33101ee426e773890c1
/frameworks/base/tools/layoutlib/rename_font/build_font.py
125714173b5ef296f8d50191edcfceedcb19dbde 10-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Remove lxml dependency.

The encoding for the .ttx file generated is now hard-coded to be utf-8.

Change-Id: I71c208327995651fcf44b6961510f84bafb05848
/frameworks/base/tools/layoutlib/rename_font/build_font.py
46eff27c32166f007132bfa5f4effc3c306b5f47 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Recurse into directories to find fonts. [DO NOT MERGE]

We now recurse into directories to find all fonts. This change is needed
to prevent having to list all fonts in external/google-fonts
individually.

As a side effect, we now only copy xml files over.

Change-Id: Ifdea3b8451878c2449ac7c5e17ef3d1b00d1b955
(cherry picked from commit c6364fd90de1600526d3431ce0740b6b856e48f0)
/frameworks/base/tools/layoutlib/rename_font/build_font.py
d23417ab5d1c623977d11b499c7f3bf2d5fb83b4 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Parallel processing of the fonts. [DO NOT MERGE]

Font renaming for the SDK is now done in parallel.

This now reduces the running time for this script from about 30 mins to
about 5 to 10 mins. More speedup is expected when fonttools is updated.

Change-Id: I2c405f6d3e637e3067c8a1653e3cae206c32c0c3
(cherry picked from commit c6364fd90de1600526d3431ce0740b6b856e48f0)
/frameworks/base/tools/layoutlib/rename_font/build_font.py
49a60d4d6d1a512f1c193b38b2e7c8153f1150d9 20-May-2014 Deepanshu Gupta <deepanshu@google.com> Add multiple dir support to build_font.py [DO NOT MERGE]

Change-Id: I705d3fbad688a0db309d3062463bf206442b2709
(cherry picked from commit 7e149f02c4e4403101e7e0e88af36cd4ab6f3554)
/frameworks/base/tools/layoutlib/rename_font/build_font.py
ad3f2883112102c5ca4f0ce5d8f9e9df62a62f57 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Add a script to rename fonts for SDK.

Create a script that will rename the PS name encoded in the font that is
to be shipped with the SDK.

Change-Id: I675a98db39fea4525e3673656af1764eb7e5bb96
/frameworks/base/tools/layoutlib/rename_font/build_font.py