1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Roboto-Regular.ttf Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
build_font.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
build_font_single.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

This tool is used to rename the PS name encoded inside the ttf font that we ship
with the SDK. There is bug in Java that returns incorrect results for
java.awt.Font#layoutGlyphVector() if two fonts with same name but differnt
versions are loaded. As a workaround, we rename all the fonts that we ship with
the SDK by appending the font version to its name.


The build_font.py copies all files from input_dir to output_dir while renaming
the font files (*.ttf) in the process.