r42779 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42778‎ | r42779 | r42780 >
Date:18:42, 29 October 2008
Author:brion
Status:old
Tags:
Comment:
Set fontconfig to ignore bitmap fonts.
FIXME: Should we remove the bitmap font packages as well, for good measure?
Modified paths:
  • /trunk/debs/wikimedia-task-scaler/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-scaler/debian/postinst (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-scaler/debian/postinst
@@ -6,6 +6,18 @@
77
88 case "$1" in
99 configure)
 10+ # Disable bitmap fonts in fontconfig...
 11+ # They can cause problems with fonts like "Helvetica",
 12+ # since they look horrible and don't scale correctly.
 13+ if ! [ -e /etc/fonts/conf.d/70-no-bitmaps.conf ]
 14+ then
 15+ ln -s ../conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/70-no-bitmaps.conf
 16+ fi
 17+ if -e [ /etc/fonts/conf.d/70-yes-bitmaps.conf ]
 18+ then
 19+ rm -f /etc/fonts/conf.d/70-yes-bitmaps.conf
 20+ fi
 21+
1022 if ! grep -qF $SCALER_SERVICE_IP /etc/default/wikimedia-lvs-realserver
1123 then
1224 echo "
Index: trunk/debs/wikimedia-task-scaler/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-task-scaler (1.5) hardy; urgency=low
 3+
 4+ * Set fontconfig to ignore bitmap fonts.
 5+
 6+ -- Brion Vibber <brion@wikimedia.org> Wed, 29 Oct 2008 11:42:00 -0700
 7+
28 wikimedia-task-scaler (1.4) hardy; urgency=low
39
410 * Restart apache on postinst and postrm so that it has the right -DSCALER

Status & tagging log