summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/rename_font
Commit message (Collapse)AuthorAgeFilesLines
* Be lenient in accepting version strings.Deepanshu Gupta2015-04-062-10/+16
| | | | | | | Don't throw exceptions for malformed version strings in font files, and try to rename the font as is. Change-Id: Ib4f74e68593abb5b551fbcb049484efc925a3d6e
* Improve error reporting when renaming fonts.Deepanshu Gupta2014-08-111-2/+3
| | | | | | Log a better error in case of invalid input. Change-Id: Ifb122c1cc624111769e650439aa24290155dbbc4
* Add font rename script to rename one font only.Deepanshu Gupta2014-08-071-44/+27
| | | | | | | | | This change adds a script that renames only font at a time. This helps in writing better Makefile rules and passes the job for parallelization to the make rather than doing it in python which doesn't support ctrl-c properly. Change-Id: Icd380e3cc5d744260d6a9f497aa65a1a6c829c2e
* Create a copy of the build_font.pyDeepanshu Gupta2014-08-071-0/+224
| | | | | | | The copy will be modified to support renaming only one font at a time. This is done in two steps to improve the diffs. Change-Id: I47283745c25882283f0464c17e603396a8c9141e
* Change font family name.Deepanshu Gupta2014-07-012-49/+120
| | | | | | | 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
* Remove lxml dependency.Deepanshu Gupta2014-06-102-4/+3
| | | | | | The encoding for the .ttx file generated is now hard-coded to be utf-8. Change-Id: I71c208327995651fcf44b6961510f84bafb05848
* Recurse into directories to find fonts. [DO NOT MERGE]Deepanshu Gupta2014-05-271-7/+11
| | | | | | | | | | | 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)
* Parallel processing of the fonts. [DO NOT MERGE]Deepanshu Gupta2014-05-271-37/+60
| | | | | | | | | | 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)
* Add multiple dir support to build_font.py [DO NOT MERGE]Deepanshu Gupta2014-05-271-44/+51
| | | | | Change-Id: I705d3fbad688a0db309d3062463bf206442b2709 (cherry picked from commit 7e149f02c4e4403101e7e0e88af36cd4ab6f3554)
* Add a script to rename fonts for SDK.Deepanshu Gupta2014-05-164-0/+174
Create a script that will rename the PS name encoded in the font that is to be shipped with the SDK. Change-Id: I675a98db39fea4525e3673656af1764eb7e5bb96