Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | D | 22-Nov-2023 | 477 | 10 | 7 | |
Roboto-Regular.ttf | D | 22-Nov-2023 | 112.3 KiB | |||
build_font.py | D | 23-Nov-2023 | 7.1 KiB | 228 | 159 | |
build_font_single.py | D | 23-Nov-2023 | 7.2 KiB | 222 | 149 | |
test.py | D | 22-Nov-2023 | 1.3 KiB | 46 | 35 |
README
1 This tool is used to rename the PS name encoded inside the ttf font that we ship 2 with the SDK. There is bug in Java that returns incorrect results for 3 java.awt.Font#layoutGlyphVector() if two fonts with same name but differnt 4 versions are loaded. As a workaround, we rename all the fonts that we ship with 5 the SDK by appending the font version to its name. 6 7 8 The build_font.py copies all files from input_dir to output_dir while renaming 9 the font files (*.ttf) in the process. 10