Open Bug 1126577 Opened 9 years ago Updated 2 years ago

equals sign rendered as a hyphen on web pages

Categories

(Core :: Graphics: Text, defect, P3)

35 Branch
x86_64
Windows 7
defect

Tracking

()

Tracking Status
firefox37 --- wontfix
firefox38 --- wontfix
firefox39 --- wontfix
firefox40 --- wontfix
firefox41 --- wontfix
firefox42 - affected
firefox-esr31 --- unaffected

People

(Reporter: vladan, Unassigned, NeedInfo)

References

Details

(Keywords: regression, Whiteboard: [gfx-noted])

Attachments

(4 files)

On two of my Windows 7 machines, I've noticed that the equals sign ("=") is rendered as a hyphen ("-")! The web page is not zoomed out.

Reproduced on:
- Firefox 35.0.1 (release), Windows 7 laptop
- Nightly 38, release, Windows 7 desktop

The text scaling is set to "smaller 100%" in Control panel > Appearance & Personalization > Display.

Oddly enough, the equals sign is rendered properly in the Firefox UI (AwesomeBar, Find box), but not on web pages.

Selecting "zoom in" in 3 times (130% ?) will show the equals sign properly
I'm seeing this on my desktop as well :/
(In reply to Vladan Djeric (:vladan) -- please needinfo! from comment #0)
> Created attachment 8555548 [details]
> Screenshot 2015-01-27 18.44.51.png
> 
> On two of my Windows 7 machines, I've noticed that the equals sign ("=") is
> rendered as a hyphen ("-")! The web page is not zoomed out.

...

> Selecting "zoom in" in 3 times (130% ?) will show the equals sign properly

I have exactly the same experience with Windows 8, but ONLY when I have my many plugins enabled. Firefox 35.0.1 started in a clean profile with zero plugins and zero extensions (and the default 35.0.1 theme) behaves normally.

I edit wikipedia sporadically and just noticed this today, the problem was not present a month or two ago. Firefox always kept up to date but I cannot be 100% sure whether any plugins updated - I always manually check and update each one as needed and I only recall updating a Greasemonkey script that should have no effect on wikipedia pages. I hope to isolate which plugin might be the cause by methodically disabling each in turn.

So far, what appears to have no effect are: changing fonts between Arial and Lucida Sans Unicode and Times New Roman ("allow web pages to choose their own fonts" checked and unchecked); and selecting View - Page style = No style.
(In reply to 84user from comment #2)
> ...
> that should have no effect on wikipedia pages. I hope to isolate which
> plugin might be the cause by methodically disabling each in turn.

After disabling NoScript 2.6.9.4 the rendering problem disappeared. However, re-enabling NoScript did not cause the problem to reappear, so the disappearance may only have been due to restarting Firefox.

Actions taken trying to (re-)reproduce this problem: updated NoScript to 2.6.9.15; updated AdBlockPlus to 2.6.7; and re-enable "Toggle animated GIFs" 1.2.1.
I have this issue. Windows 7/64bit. Firefox 37.0.2. I have *removed* (not just disabled) all of my extensions and the problem persists. Example page:  http://pythonpaste.org/script/developer.html
@john.j

Clould you paste "Graphics" section of about:support (Alt > Help > Troubleshooting Information)
Flags: needinfo?(john.j.hannon)
Graphics
Adapter Description	NVIDIA Quadro FX 4800
Adapter Drivers	nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Adapter RAM	1536
Device ID	0x05fe
Direct2D Enabled	true
DirectWrite Enabled	true (6.2.9200.16492)
Driver Date	6-21-2013
Driver Version	9.18.13.2049
GPU #2 Active	false
GPU Accelerated Windows	0/1 Basic (OMTC)
Subsys ID	059410de
Vendor ID	0x10de
WebGL Renderer	Google Inc. -- ANGLE (NVIDIA Quadro FX 4800 Direct3D11 vs_4_0 ps_4_0)
windowLayerManagerRemote	true
AzureCanvasBackend	direct2d 1.1
AzureContentBackend	direct2d 1.1
AzureFallbackCanvasBackend	cairo
AzureSkiaAccelerated	0
Flags: needinfo?(john.j.hannon)
When you see this, could you open inspector (Tools -> Web Developer -> Inspector), select the element that has the "=" sign in it (there's an arrow-in-a-square icon that you can click on and then click on the element), switch to the Fonts tab on the right side of the inspector, and say what font the = is being displayed with?
Flags: needinfo?(john.j.hannon)
Attached image font.jpg
Inspector showing font info.
Flags: needinfo?(john.j.hannon)
I can reproduce the problem on Windows 7 with uncommon setting (Disabled layers.acceleration only).

Steps To Reproduce:
1. Open Browser with HWA on, but
   layers.acceleration.disabled = true (I think this is uncommon setting)
2. Open http://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&action=edit
3. Type "====" in the wiki text editor

Actual Results
It indicates as "----"

Expected Results:
It should be "===="

The editor using default monospace font "Courier New".

So, I think the following combination cases the problem.

Direct2D Enabled	true
DirectWrite Enabled	true
GPU Accelerated Windows	0/1 Basic (OMTC)

And monospace font is "Courier New"
@john.j

A. Did you set layers.acceleration.disabled=true in about config manually?

B. Or, any addon set the value?

C. Could you test again with the followings?
1. Reset layers.acceleration.disabled in about config by double click.
2. Then restart browser.
3. test again.
Flags: needinfo?(john.j.hannon)
I did not set that option manually.

I toggled, restarted. No change. Checked setting again, it's set back to true. So probably an addon is setting it? Testing...
Flags: needinfo?(john.j.hannon)
Removed all extensions, restarted, toggled layers.acceleration.disabled to false, restarted. Went back to aobut:config. layers.acceleration.disabled is back to true.
Cloud you check user.js in your profile folder? 
If exist the file, rename it.
Then test again please.
Flags: needinfo?(john.j.hannon)
Renamed user.js, restarted FF. Set layers.acceleration.disabled=false. Restarted FF. Checked about:config, and setting it toggled true again. = still rendered as -
Flags: needinfo?(john.j.hannon)
Just found the setting in prefs.js.  Testing...
Regression window with str in comment#10

Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=bfb9eb2a6fcb&tochange=30f6bbcd623b

Suspect:
6a4b274ea8f8	Jeff Muizelaar — Bug 1062492. Only use DIBTextureClient with cairo drawing. r=bas
Removing the line in prefs.js has no effect--after restarting FF, the line gets re-written.
Same thing with Firefox 38 on Windows 8.1 x64.

I looked up the font name in developer tools, and it was "Courier New". Also this is my Graphics section of about:support:

Adapter Description	AMD Radeon HD 6570
Adapter Drivers	aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Adapter RAM	1024
Device ID	0x6759
Direct2D Enabled	true
DirectWrite Enabled	true (6.3.9600.17795)
Driver Date	11-20-2014
Driver Version	14.501.1003.0
GPU #2 Active	false
GPU Accelerated Windows	0/1 Basic (OMTC)
Subsys ID	20121787
Vendor ID	0x1002
WebGL Renderer	Google Inc. -- ANGLE (AMD Radeon HD 6570 Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote	true
AzureCanvasBackend	direct2d 1.1
AzureContentBackend	direct2d 1.1
AzureFallbackCanvasBackend	cairo
AzureSkiaAccelerated	0

If I open up the same wikipedia page in a private windows, the equal signs look as they should. Also after I disabled and re-enabled all add-ons it started worked in normal mode too. Or maybe it was the browser restart that fixed it, I'm not sure.
Jeff and I were able to reproduce this bug on a pair of Windows 7 machines by forcing layers.acceleration.disabled=true

See also bug 1099974
Flags: needinfo?(jmuizelaar)
Same issue.  When inspecting the page element, the source displays the equals sign '=', even though the textbox displays the minus sign '-'.  Even when I type in this box I get the '-' rather than equals.

When I copy and paste into Notepad++, The equals sign appears.
[Tracking Requested - why for this release]:
This is a very visible and annoying bug for the affected users
Tracking because regression and user impact.
I agree that it is a pain, however, we shipped a bunch of releases with this bug. It is not that critical. Not tracking.
This issue still reproduced in latest version (49.0.1)on Windows 7 x64
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: