2014-08-19 20:00:47 +04:00
# fontconfig setup
2013-02-15 21:13:05 +04:00
use/fonts :
@$( call add_feature)
2020-09-18 20:02:58 +03:00
@$( call try,FONTS,fonts-ttf-google-croscore-arimo)
@$( call add,THE_PACKAGES,$$ ( FONTS) )
2013-02-15 21:13:05 +04:00
@$( call xport,FONT_FEATURES_ENABLE)
@$( call xport,FONT_FEATURES_DISABLE)
2016-02-10 17:32:29 +03:00
# standalone target to specify non-bitmap installer fonts
use/fonts/install2 :
2020-09-29 18:21:46 +03:00
@$( call try,INSTALL2_FONTS,fonts-ttf-google-croscore-arimo)
2020-10-26 10:39:59 +03:00
@$( call add,INSTALL2_PACKAGES,$$ ( INSTALL2_FONTS) )
2020-09-29 18:21:46 +03:00
use/fonts/system :
2020-09-16 19:52:41 +03:00
@$( call try,SYSTEM_FONTS,fonts-ttf-google-croscore-arimo)
2020-10-26 10:39:59 +03:00
@$( call add,SYSTEM_PACKAGES,$$ ( SYSTEM_FONTS) )
2016-02-10 17:32:29 +03:00
2013-02-15 21:13:05 +04:00
# 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)
2013-03-02 22:09:53 +04:00
2013-05-27 18:06:03 +04:00
# nothing configured to add_feature but let's not skip that for consistency
use/fonts/infinality : use /fonts
2013-03-02 22:09:53 +04:00
@$( call add,THE_PACKAGES,libfreetype-infinality fontconfig-infinality)
2014-08-19 20:00:47 +04:00
2017-12-11 23:48:20 +03:00
# #34142
use/fonts/chinese : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-bitmap-wqy)
2017-12-11 23:48:20 +03:00
2014-08-19 20:00:47 +04:00
# 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
2020-09-29 10:29:06 +03:00
use/fonts/otf/adobe : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-otf-adobe-source-code-pro)
@$( call add,FONTS,fonts-otf-adobe-source-sans-pro)
2014-08-19 20:00:47 +04:00
2020-09-29 10:29:06 +03:00
use/fonts/otf/mozilla : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-otf-mozilla-fira)
2014-08-19 20:00:47 +04:00
2020-09-29 10:29:06 +03:00
use/fonts/ttf/google : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-ttf-google-droid-sans)
@$( call add,FONTS,fonts-ttf-google-droid-sans-mono)
@$( call add,FONTS,fonts-ttf-google-droid-serif)
@$( call add,FONTS,fonts-ttf-google-croscore-arimo)
@$( call add,FONTS,fonts-ttf-google-croscore-cousine)
@$( call add,FONTS,fonts-ttf-google-croscore-tinos)
2014-08-19 20:00:47 +04:00
2014-10-29 16:09:27 +03:00
use/fonts/ttf/google/extra : use /fonts /ttf /google
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-ttf-google-crosextra-caladea)
@$( call add,FONTS,fonts-ttf-google-crosextra-carlito)
2014-10-29 16:09:27 +03:00
2020-09-29 10:29:06 +03:00
use/fonts/ttf/redhat : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-ttf-liberation)
2014-08-19 20:00:47 +04:00
2020-09-29 10:29:06 +03:00
use/fonts/ttf/ubuntu : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-ttf-ubuntu-font-family)
2019-01-24 15:34:17 +03:00
2020-09-29 10:29:06 +03:00
use/fonts/ttf/xo : use /fonts
2020-09-18 20:02:58 +03:00
@$( call add,FONTS,fonts-ttf-XO)
@$( call add,FONTS,fonts-ttf-PT)
@$( call add,FONTS,fonts-ttf-Cormorant)
@$( call add,FONTS,fonts-ttf-open-sans)