[jitsi-dev] [PATCH] ensure antialiasing on debian systems


#1

Hello,

normally the fonts displayed in jitsi are not antialiased on my Debian
Sid system, both with the stable and the developer version of jitsi.
The attached patch adds the -Dawt.useSystemAAFontSettings=gasp option in
the launcher to ensure, that the fonts are displayed antialiased.

With best regards,
Julian Wollrath

···

---

Ensure antialiasing of fonts on Debian systems.

Signed-off-by: Julian Wollrath <jwollrath@web.de>

--- jitsi.sh.tmpl.old 2013-02-11 17:00:07.295451355 +0100
+++ jitsi.sh.tmpl 2013-02-11 17:00:45.949453022 +0100
@@ -18,7 +18,7 @@ LIBPATH=$SCDIR/lib
CLASSPATH=/usr/share/java/jdic.jar:/usr/share/java/org.apache.felix.framework.jar:/usr/share/java/org.apache.felix.main.jar:$LIBPATH/bcprovider.jar:$SCDIR/sc-bundles/sc-launcher.jar:$SCDIR/sc-bundles/util.jar/launchutils.jar
FELIX_CONFIG=$LIBPATH/felix.client.run.properties
LOG_CONFIG=$LIBPATH/logging.properties
-COMMAND="$javabin $CLIENTARGS -classpath $CLASSPATH -Djna.library.path=/usr/lib/jni -Dfelix.config.properties=file:$FELIX_CONFIG -Djava.util.logging.config.file=$LOG_CONFIG net.java.sip.communicator.launcher.SIPCommunicator"
+COMMAND="$javabin $CLIENTARGS -classpath $CLASSPATH -Dawt.useSystemAAFontSettings=gasp -Djna.library.path=/usr/lib/jni -Dfelix.config.properties=file:$FELIX_CONFIG -Djava.util.logging.config.file=$LOG_CONFIG net.java.sip.communicator.launcher.SIPCommunicator"

# set add LIBPATH to LD_LIBRARY_PATH for any sc natives (e.g. jmf .so's)
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/lib/jni"