config.mk 2.03 KB
Newer Older
1
# fontconfig setup
Michael Shigorin's avatar
Michael Shigorin committed
2 3 4 5 6
use/fonts:
	@$(call add_feature)
	@$(call xport,FONT_FEATURES_ENABLE)
	@$(call xport,FONT_FEATURES_DISABLE)

7 8 9 10
# standalone target to specify non-bitmap installer fonts
use/fonts/install2:
	@$(call add,SYSTEM_PACKAGES,fonts-ttf-google-croscore-arimo)

Michael Shigorin's avatar
Michael Shigorin committed
11 12 13 14 15 16
# just stating that kernels and font habits are pretty individual
use/fonts/zerg: use/fonts
	@$(call set,FONT_FEATURES_ENABLE,antialias lcdfilter-default \
		hinting style-full sub-pixel-rgb)
	@$(call set,FONT_FEATURES_DISABLE,no-antialias lcdfilter-none \
		unhinted no-sub-pixel)
17

18 19
# nothing configured to add_feature but let's not skip that for consistency
use/fonts/infinality: use/fonts
20
	@$(call add,THE_PACKAGES,libfreetype-infinality fontconfig-infinality)
21

22 23 24 25
# #34142
use/fonts/chinese: use/fonts
	@$(call add,THE_PACKAGES,fonts-bitmap-wqy)

26 27 28 29 30 31 32 33 34 35 36 37
# a few typical font collections
# NB: dejavu is ugly thus missing
# NB: not depending on use/fonts intentionally,
#     the scripts are unneeded to add packages
use/fonts/otf/adobe:
	@$(call add,THE_PACKAGES,fonts-otf-adobe-source-code-pro)
	@$(call add,THE_PACKAGES,fonts-otf-adobe-source-sans-pro)

use/fonts/otf/mozilla:
	@$(call add,THE_PACKAGES,fonts-otf-mozilla-fira)

use/fonts/ttf/google:
38 39 40
	@$(call add,THE_PACKAGES,fonts-ttf-google-droid-sans)
	@$(call add,THE_PACKAGES,fonts-ttf-google-droid-sans-mono)
	@$(call add,THE_PACKAGES,fonts-ttf-google-droid-serif)
41 42 43 44
	@$(call add,THE_PACKAGES,fonts-ttf-google-croscore-arimo)
	@$(call add,THE_PACKAGES,fonts-ttf-google-croscore-cousine)
	@$(call add,THE_PACKAGES,fonts-ttf-google-croscore-tinos)

45 46 47 48
use/fonts/ttf/google/extra: use/fonts/ttf/google
	@$(call add,THE_PACKAGES,fonts-ttf-google-crosextra-caladea)
	@$(call add,THE_PACKAGES,fonts-ttf-google-crosextra-carlito)

49 50 51 52 53
use/fonts/ttf/redhat:
	@$(call add,THE_PACKAGES,fonts-ttf-liberation)

use/fonts/ttf/ubuntu:
	@$(call add,THE_PACKAGES,fonts-ttf-ubuntu-font-family)
54 55 56 57 58 59

use/fonts/ttf/xo:
	@$(call add,THE_PACKAGES,fonts-ttf-XO)
	@$(call add,THE_PACKAGES,fonts-ttf-PT)
	@$(call add,THE_PACKAGES,fonts-ttf-Cormorant)
	@$(call add,THE_PACKAGES,fonts-ttf-open-sans)