From da97c6e2f39bb99fe4f877ecbb79fc8ba6f79255 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Mon, 13 Mar 2006 07:47:23 +0000 Subject: - Add a notice to the about dialog denoting this is a pango enabled build. - Tweak the user agent denoting this is a pango enabled build. --- firefox.sh.in | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'firefox.sh.in') diff --git a/firefox.sh.in b/firefox.sh.in index 3bda263..51213d3 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -83,22 +83,17 @@ FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft" export FONTCONFIG_PATH ## -## Set MOZ_ENABLE_PANGO=1 to force enabling pango -## Set MOZ_DISABLE_PANGO=1 to force disabling of pango +## In order to better support certain scripts (such as Indic and some CJK +## scripts), Fedora builds its Firefox, with permission from the Mozilla +## Corporation, with the Pango system as its text renderer. This change +## is known to break rendering of MathML, and may negatively impact +## performance on some pages. To disable the use of Pango, set +## MOZ_DISABLE_PANGO=1 in your environment before launching Firefox. ## -#MOZ_DISABLE_PANGO=1 -#export MOZ_DISABLE_PANGO - -# For now, in order to ship with firefox trademarks, we need to default to -# disable pango on non-indic locales. Use MOZ_ENABLE_PANGO=1 to force pango. -tmplang=${LC_CTYPE:-${LANG:-"en_US.UTF-8"}} -if ! echo $tmplang | grep "^..[_-]IN" > /dev/null; then - if [ -z "$MOZ_ENABLE_PANGO" ]; then - MOZ_DISABLE_PANGO=1 - export MOZ_DISABLE_PANGO - fi -fi - +# +# MOZ_DISABLE_PANGO=1 +# export MOZ_DISABLE_PANGO +# function check_running() { $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'ping()' 2>/dev/null >/dev/null -- cgit