Closed Bug 211366 Opened 21 years ago Closed 21 years ago

about:plugins displays garbled text for the dll filename

Categories

(Core :: Layout: Text and Fonts, defect)

Other Branch
x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 94519

People

(Reporter: blahno1, Unassigned)

Details

(Keywords: platform-parity, testcase)

Attachments

(3 files, 1 obsolete file)

Browser: Mozilla 1.4, Win98 (Javascript/Cookies enabled) Edit->Preferences->Appearance->Fonts has the following changes from the default Proportional: Serif (actually, I forget if this was the default already) Serif: Garamond Size (pixels): 18 1. Type about:plugins in the location box and hit enter 2. The list of plugins is displayed, and all of them show garbled text for the dll file name. Expected result -- the text should appear normal. I've noticed this for a long time (since 1.2 I think, if not earlier). This bug may be similar to 181010, but I'm not sure. Also, apologies if the component chosen for this bug was not the right one.. I'll attach a screenshot of the about:plugins page that demonstrates this problem.
Attached screenshot.
plug-ins.
Assignee: other → peterlubczynski
Component: Layout → Plug-ins
QA Contact: ian → bmartin
Summary: about:plugins displays garbled text for the dll filename → about:plugins displays garbled text for the dll filename
On second thought, this does look like a layout bug.... Bharat Kumar, if you save the about:plugins page and open it as a file, do you see the same problem?
Assignee: peterlubczynski → other
Component: Plug-ins → Layout
Keywords: qawanted
QA Contact: bmartin → ian
I had this bug some time ago, but only on one of my two computers. IIRC the culprit was a file in the profile, but I don´t remember which one. I saved the output of the about:plugin to a floppy, to compare, and display on the other computer. If I find this floppy, I could tell you more. Maybe the CSS was changed by installing an extension? chrome://communicator/skin/plugins.css
Boris, yes, the problem still happens if I save the page to a file and then view it. I messed around with the generated HTML/CSS a bit and was able to come up with a reduced testcase. I'll attach the corr. HTML and CSS files. Hopefully this will be useful.
Attached file HTML file for the reduced testcase (obsolete) (deleted) —
Attached file CSS file for the reduced testcase (deleted) —
Some additional comments about the reduced testcase. If I remove the outer div from the HTML file, the problem disappears. If I change the font-style for span.label from "italic" to "normal" or "bold", the problem disappears. Oh and I just found out that the style rule for "body" in the CSS file doesn't make a difference if its removed, so it need not be in the testcase..
Attachment #126950 - Attachment is obsolete: true
This seems to not be a problem on Linux; is this a win32 text measurement bug?
Looks like bug 94519
Depends on: 94519
.
Assignee: other → font
Component: Layout → Layout: Fonts and Text
This is provoked by the bad windows' fonts MS Sans Serif, MS Serif and all the other fonts in windows\fonts directory which has a .fon extension. Those fonts takes up much more space than the normal when they're set as italic ; still this seems not to explain the bug, as if a font takes up more space, the text following should slide forward such as to not overcoming the preceding text (which is what happens). It could be a mozilla bug in managing those fonts. Explanations: chrome://communicator/skin/plugins.css generally has font:message-box set for the plugins' table; 1st thing: where does this attribute comes from? it's not defined either in css 2.x or in 3.0 working drafts. 2st: most mozilla themes (but not classic and modern) has span.label{font-style:italic} in chrome://communicator/skin/plugins.css; if you use classic or modern, or some other theme which has not that setting, you'll see that the bugs doesn't subsist; anyway, with all themes, try changing your message-box font from the windows settings, most windows predefined themes use MS Sans Serif, change it with a truetype font such as Arial or Gill Sans and the bug disappears.
I'm sorry, I was wrong, the message-box value exists. (I also mistook to write, what seemed strange to me was the <em>property</em> <em>value</em>. anyway...
This bug is a duplicate of #94519: note the div#outside{text-align: justify} in chrome://communicator/skin/plugins.css; it's essential for the bug's occuring as much as the font-family.
As I told in comment #4, I had exactly this bug in one of my computers. Could it be that deleting localstore.rdf solved my problem? Localstore grows and grows ...
A workaround was done for the Modern theme 2002-11-21 in bug 174072 *** This bug has been marked as a duplicate of 94519 ***
Status: NEW → RESOLVED
Closed: 21 years ago
No longer depends on: 94519
Keywords: qawantedpp, testcase
Resolution: --- → DUPLICATE
Hermann Schwab: To solve the problem just use another theme such as modern or classic. Otherwise, you should change the font used by windows in message-boxes, for example with Arial, or modify manually the chrome://communicator/skin/plugins.css of your favourite theme by changing the used font, removing span.label{font-style:italic} or adding to that text-align: left.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: