Skip to content
Snippets Groups Projects
Commit bf0ee91a authored by mirabilos's avatar mirabilos
Browse files

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)
parent e468e972
No related tags found
1 merge request!5Add fontconfig-config config
......@@ -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
  • @tglaser Please remove the last two copies. ticdesk and desktop are in the rdp-servers group, so you do not need to set the options in their separate stanzas again.

    Also, please explain why this is necessary, and if it is a good option, why it is not default in Debian.

  • mirabilos @mirabilos ·
    Author Developer

    AFAICT sind die, bis auf enable_bitmaps, Default in Debian, aber sinnvoll trotzdem explizit zu setzen, weil ohne die Fonts teilweise fies falsch dargestellt werden (hart erarbeitet in u.a. MuseScore), weil die öfters mal „verrutschen“ und auch sich die Defaults öfters mal änderten.

    enable_bitmaps erlaubt es, in Freetype-/Fontconfig-benutzenden Anwendungen in den Dropdowns, wo möglich, auch Bitmapschriften auszuwählen. Das „will“ man aktuell nicht (scheint aus der GNOME-Ecke zu kommen) standardmäßig anbieten; ich sehe aber im Versuch, Bitmapschriften ganz wegzudiskutieren, eher eine Hilfestellung für den unbedarften unbegleiteten Neuling, während wir Technik ja auf den Grund gehen wollen und die Nutzer bei uns durchaus begleiten.

    Mach’s halt selber weg, mußt ja eh’ noch enz ran, damit das auch im chroot appliziert wird. Ich kann das doch alles nicht.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment