From ba6223c4258239e4a164007c4b4c75eab4e0715e Mon Sep 17 00:00:00 2001 From: Seigo Nonaka Date: Tue, 25 May 2021 14:04:56 -0700 Subject: Put back static Roboto font for old libraries This RobotoStatic-Regular.ttf is the modified Roboto-Regular which has PostScript name of "RobotoStatic-Regular". Bug: 189235998 Test: Manually done Change-Id: I3387d750c248c90f5bbd11e40fdd2e9fa59a6641 --- Android.bp | 6 ++++++ RobotoStatic-Regular.ttf | Bin 0 -> 305656 bytes fonts.mk | 1 + 3 files changed, 7 insertions(+) create mode 100644 RobotoStatic-Regular.ttf diff --git a/Android.bp b/Android.bp index db054ef..ac3180e 100644 --- a/Android.bp +++ b/Android.bp @@ -45,3 +45,9 @@ prebuilt_font { // These symlinks are for backward compatibility. symlinks: ["DroidSans.ttf", "DroidSans-Bold.ttf"], } + +// This static version of fonts are for backward compatibility. +prebuilt_font { + name: "RobotoStatic-Regular.ttf", + src: "RobotoStatic-Regular.ttf", +} diff --git a/RobotoStatic-Regular.ttf b/RobotoStatic-Regular.ttf new file mode 100644 index 0000000..b624812 Binary files /dev/null and b/RobotoStatic-Regular.ttf differ diff --git a/fonts.mk b/fonts.mk index ec1aa48..a1f8478 100644 --- a/fonts.mk +++ b/fonts.mk @@ -13,4 +13,5 @@ # limitations under the License. PRODUCT_PACKAGES := \ + RobotoStatic-Regular.ttf \ Roboto-Regular.ttf -- cgit v1.2.3