summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2006-03-13 07:47:23 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2006-03-13 07:47:23 +0000
commitda97c6e2f39bb99fe4f877ecbb79fc8ba6f79255 (patch)
treeef0d880e67d9f71e50d47dd31b25b8efd828651c /firefox.sh.in
parent- Disable pango by default in non-indic locales per upstream request. Users (diff)
downloadlibrewolf-fedora-ff-da97c6e2f39bb99fe4f877ecbb79fc8ba6f79255.tar.gz
librewolf-fedora-ff-da97c6e2f39bb99fe4f877ecbb79fc8ba6f79255.tar.bz2
librewolf-fedora-ff-da97c6e2f39bb99fe4f877ecbb79fc8ba6f79255.zip
- 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.
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in25
1 files changed, 10 insertions, 15 deletions
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
bgstack15