Index: trunk/debs/wikimedia-task-scaler/debian/postinst |
— | — | @@ -6,6 +6,18 @@ |
7 | 7 | |
8 | 8 | case "$1" in |
9 | 9 | 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 | + |
10 | 22 | if ! grep -qF $SCALER_SERVICE_IP /etc/default/wikimedia-lvs-realserver |
11 | 23 | then |
12 | 24 | 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 | + |
2 | 8 | wikimedia-task-scaler (1.4) hardy; urgency=low |
3 | 9 | |
4 | 10 | * Restart apache on postinst and postrm so that it has the right -DSCALER |