Closed Bug 981923 Opened 10 years ago Closed 10 years ago

TinyMCE and other buttons not displayed when AiSquared's ZoomText is installed

Categories

(Core :: Graphics: Text, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: steverep+bugzilla, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140212131424

Steps to reproduce:

Simply install latest ZoomText (aisquared.com) assistive technology software alongside Firefox, then view the following example problem page:

TinyMCE demo page (http://www.tinymce.com/tryit/full.php)

The buttons controlling text weight, alignment, etc. do not display properly.  I've also seen the problem heavily when logged into Twitter, and on many other sites, usually related to clickable icons.


Actual results:

Buttons and icons (which are often just web fonts) display as unicode-type squares instad of actual images.  See attached PDF.


Expected results:

Buttons/Icons/Fonts should load and display actual images.
Is ZoomText forcing use of fonts that don't have those characters?
Component: General → Layout: Text
Flags: needinfo?(steverep+bugzilla)
I don't think that is what is going on, but I can't say for sure.  I should have also mentioned that this problem only occurs in Firefox, and is not an issue in IE or Chrome.  I've also verified the cause effect by installing and uninstalling ZoomText, and the issue occurs whether ZoomText is active or not.  I also have a ticket in with AiSquared, but I have no way to track that except by emailing support@aisquared.com and asking.
Flags: needinfo?(steverep+bugzilla)
Added 2 attachments as example Firefox console logs when loading the TnyMCE demo page.  Thy are very similar with a few extra errors in the one with ZoomText installed.

Having a Firefox expert reproduce the errors and look at it more closely would be really appreciated.  You can download a trial version of ZoomText that takes 60 days to expire.
I managed to decipher exactly "what" the problem is, but not really "why" there is a compatibility issue.  It has nothing to do with JavaScript.  The icons are attempted to be displayed as a font code using CSS (e.g. .element:before {content = '\f109'}).  The following page illustrates the problem as well using the Font Awesome set and even gives the CSS code used to display it: http://astronautweb.co/snippet/font-awesome/.  I see all the icons correctly in IE and Chrome, but not in Firefox.
Sorry to pile on the emails, but here is more relevant information.  The problem is not just with displaying via <div> and CSS content, but also with the <i> tag as none of the icons on the Font Awesome site display properly: http://fortawesome.github.io/Font-Awesome/.

This is a very popular web font, which explains why I'm seeing the issue all over the web.
I looked at Firefox 27 (release), latest Firefox Nightly, Chrome, and Safari on Mac and I couldn't see any difference on http://fortawesome.github.io/Font-Awesome/ . Maybe this only happens on Windows? Or maybe there is some other difference?
I can only confirm the problem on Windows since since I don't have a Mac to test on.  Did you have ZoomText Mac installed?  Just re-iterating this only occurs when ZoomText is installed.  Thanks for taking a look though.
(In reply to steverep+bugzilla from comment #8)
> I can only confirm the problem on Windows since since I don't have a Mac to
> test on.  Did you have ZoomText Mac installed?  Just re-iterating this only
> occurs when ZoomText is installed.  Thanks for taking a look though.

Oh, no I don't have ZoomText. I thought that page was a reduced testcase that didn't need ZoomText to show the problem.
Sorry if I was unclear.  At least for Font Awesome, I found a work-around by downloading and installing their OpenType font file to Windows.  Of course, this only fixes websites using FA icons, and not TinyMCE or other sites.  To me though, this just spells a web font loading issue, and not a graphical display issue.  Something about the way Firefox is trying to load these iconic web fonts is hindered by ZoomText in a way that doesn't affect other browsers.
If you disable hardware acceleration (in Tools / Options / Advanced) and restart Firefox, does that make any difference?
No, that makes no difference.  Hardware acceleration is recommend to be off in Firefox by ZoomText, but it really makes no difference unless zoomed to high magnification.

In any case, I found the problem parameter in about:config - gfx.downloadable_fonts.enabled.  In my configuration, it was set to false, and oddly that is claimed to be the default.  However, when I compared to a nearly identical machine without ZoomText installed, the default it rightly true.  So, either Firefox is responding to ZoomText with a different default value, or ZoomText made a poor choice and hacked the Firefox default parameter set.  Can anyone investigate this on the Firefox end in the code?

And if it wasn't obvious, toggling the value to true solves the problem.
Component: Layout: Text → Graphics: Text
We don't have anything in Firefox checking for ZoomText...

With ZoomText installed, are there any files in the Firefox install directory that mention that preference name?
I searched before but I guess I missed it the first time.... yep, it's ZoomText's fault.  There's a "C:\Program Files (x86)\Mozilla Firefox\defaults\pref\zt_config.js" whose sole purpose is to change that parameter to false and annoy me.  Thanks for all your time.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: