Open
Bug 621788
Opened 14 years ago
Updated 3 years ago
Setting default font and size does not work for XML docs if app locale != system locale
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
NEW
People
(Reporter: tim.babych, Unassigned)
Details
Attachments
(1 file)
|
4.58 KB,
text/xml
|
Details |
When I open unstyled HTML document it displays text with "default" font selected by user. Preferences - Content - Fonts and Colors - Default Font in Firefox.
However, if I open the very same document saved with .xml extension, this behavior is true only when browser's locale and system locale match.
I mean, if I run English build on Ukrainian system - my default font preference is honored for HTML, but not XML documents.
English on English - fine.
Ukrainian on Ukrainian - fine.
English with Ukrainian langpack - also fine.
English in Ukrainian environment - only HTML styling.
Ukrainian in English environment - only HTML styling.
On Linux (Ubuntu 10.10 x64), I tested running different builds of Firefox with clean profiles and changing LC_ALL variable. Like this:
export LC_ALL=en_US.UTF-8 && rm -rf * && ~/bin/firefox-3.6-uk/firefox -P b /home/tim/lipsum.*
FAIL
export LC_ALL=uk_UA.UTF-8 && rm -rf * && ~/bin/firefox-3.6-uk/firefox -P b /home/tim/lipsum.*
OK
export LC_ALL=uk_UA.UTF-8 && rm -rf * && ~/bin/firefox-en/firefox -P b /home/tim/lipsum.*
FAIL
export LC_ALL=en_US.UTF-8 && rm -rf * && ~/bin/firefox-en/firefox -P b /home/tim/lipsum.*
OK
export LC_ALL=uk_UA.UTF-8 && rm -rf * && ~/bin/firefox-pl/firefox -P b /home/tim/lipsum.*
FAIL
export LC_ALL=pl_PL.UTF-8 && rm -rf * && ~/bin/firefox-pl/firefox -P b /home/tim/lipsum.*
FAIL (note: I do not have any Polish language support packages on my system)
On Windows XP I tried the same with the similar results.
I tested localized and English buils of Firefox varying Standards ans Formats setting in Regional settings. XML styling worked only when there was a match between sys locale and app locale, HTML styling worked every time.
I observed this issue both in Firefox 3.6 and Firefox 4
Comment 1•14 years ago
|
||
Hmm. What encoding are the XML documents using? Does changing the "default font" dropdown there change it for all language groups or just some particular ones? If you click the "Advanced" button you can actually see what settings you have selected for each language group.
Comment 2•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: smontagu → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•