From bf0ee91af7c7bc3c92583345366226cfe2c3ad0a Mon Sep 17 00:00:00 2001 From: mirabilos <thorsten.glaser@teckids.org> Date: Wed, 25 Oct 2017 10:49:07 +0200 Subject: [PATCH] Add fontconfig-config config * set hinting type Native instead of autohinter (actually the default, but that may change every so often) * disable blurring (subpixel hinting) by default * enable using bitmap fonts XXX TODO: do this in the chroot as well (if I figure out how; to be Nik-ised) --- site.yml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/site.yml b/site.yml index a906d39..9064af3 100644 --- a/site.yml +++ b/site.yml @@ -399,6 +399,27 @@ notify: - restart guacd - restart tomcat8 + - name: Improve font rendering + debconf: + name: fontconfig-config + question: "fontconfig/hinting_type" + value: Native + vtype: select + notify: reconfigure fontconfig-config + - name: Prevent blurry fonts + debconf: + name: fontconfig-config + question: "fontconfig/subpixel_rendering" + value: Never + vtype: select + notify: reconfigure fontconfig-config + - name: Do not prevent me from using all fonts installed in the system + debconf: + name: fontconfig-config + question: "fontconfig/enable_bitmaps" + value: true + vtype: boolean + notify: reconfigure fontconfig-config handlers: - name: restart xrdp service: name=xrdp state=restarted @@ -416,6 +437,27 @@ - name: Install Skolelinux desktop applications package: name={{ item }} state=present with_lines: cat "packages/skole-desktop" + - name: Improve font rendering + debconf: + name: fontconfig-config + question: "fontconfig/hinting_type" + value: Native + vtype: select + notify: reconfigure fontconfig-config + - name: Prevent blurry fonts + debconf: + name: fontconfig-config + question: "fontconfig/subpixel_rendering" + value: Never + vtype: select + notify: reconfigure fontconfig-config + - name: Do not prevent me from using all fonts installed in the system + debconf: + name: fontconfig-config + question: "fontconfig/enable_bitmaps" + value: true + vtype: boolean + notify: reconfigure fontconfig-config - name: Install LTSP software package: name={{ item }} state=present with_items: @@ -560,6 +602,27 @@ with_items: - { section: 'Security', option: 'TerminalServerUsers', value: 'members' } notify: restart xrdp + - name: Improve font rendering + debconf: + name: fontconfig-config + question: "fontconfig/hinting_type" + value: Native + vtype: select + notify: reconfigure fontconfig-config + - name: Prevent blurry fonts + debconf: + name: fontconfig-config + question: "fontconfig/subpixel_rendering" + value: Never + vtype: select + notify: reconfigure fontconfig-config + - name: Do not prevent me from using all fonts installed in the system + debconf: + name: fontconfig-config + question: "fontconfig/enable_bitmaps" + value: true + vtype: boolean + notify: reconfigure fontconfig-config handlers: - name: restart xrdp service: name=xrdp state=restarted @@ -593,6 +656,27 @@ with_items: - { section: 'Security', option: 'TerminalServerUsers', value: 'users' } notify: restart xrdp + - name: Improve font rendering + debconf: + name: fontconfig-config + question: "fontconfig/hinting_type" + value: Native + vtype: select + notify: reconfigure fontconfig-config + - name: Prevent blurry fonts + debconf: + name: fontconfig-config + question: "fontconfig/subpixel_rendering" + value: Never + vtype: select + notify: reconfigure fontconfig-config + - name: Do not prevent me from using all fonts installed in the system + debconf: + name: fontconfig-config + question: "fontconfig/enable_bitmaps" + value: true + vtype: boolean + notify: reconfigure fontconfig-config handlers: - name: restart xrdp service: name=xrdp state=restarted -- GitLab