A family definition in fonts_customization.xml alone is inert -- it needs a switcher RRO (config_bodyFontFamily override) to actually be selectable as the active system font, same as every other font here.
29 lines
1.0 KiB
Makefile
29 lines
1.0 KiB
Makefile
#
|
|
# Fonts-only subset of AxionOS's vendor/addons, vendored into PawletOS.
|
|
# See README.md for scope and per-file license status.
|
|
#
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(call all-subdir-makefiles,$(LOCAL_PATH))
|
|
|
|
# System font-family switchers (Settings > Display > Font, RRO-based).
|
|
# Each ships as its own overlay so only one is ever active at a time.
|
|
PRODUCT_PACKAGES += \
|
|
FontRobotoFlexOverlay \
|
|
FontRobotoOverlay \
|
|
FontInterOverlay \
|
|
FontFucekOverlay \
|
|
FontExtFontOverlay \
|
|
FontRookeryOverlay \
|
|
FontArcticonsSansOverlay
|
|
|
|
# Family-name -> font-file mapping consumed by the above overlays
|
|
# (fonts_customization.xml, merged into the platform's own).
|
|
PRODUCT_PACKAGES += \
|
|
fonts_customization.xml
|
|
|
|
# Font binaries referenced by fonts_customization.xml above, including
|
|
# ArcticonsSans-Regular.otf (PawletOS's own font, Apache-2.0 -- just
|
|
# another family entry in fonts_customization.xml, same as the rest).
|
|
PRODUCT_COPY_FILES += \
|
|
$(call find-copy-subdir-files,*,vendor/addons/prebuilt/product/fonts,$(TARGET_COPY_OUT_PRODUCT)/fonts)
|