Blame goes back to 1998 on it (looks like NS4 pref compatibility goo), it's apparently never had any in-tree users, we have better ways of scaling display than the blunt tool of scaling all font display as the preference does. Also, we'd be able to get rid of some font-scaling code and complexity.
Assigning to Maxim, per his request.
The preference not even exist in any file. Some try to read it, but it is not in all.js.
Nothing requires preferences to be in all.js. Preferences that aren't in all.js can be set, and then code reading them will get the value that was set.
Seeking for "browser.display.base_font_scaler" in all tress gives me as a result either 1 file found either zero results. The only result found is calling a GetIntPref function, so, when is this value set?
Anyone can set it. Just open about:config and add a value for this preference.
(In reply to comment #5) > Anyone can set it. Just open about:config and add a value for this > preference. Sorry, now I was able to try it. Yeah, setting the pref manually makes the fonts displayed scaled by this value. As you could imagine I am a newbie here, althought I knew about this way to set preferences, this world is new to me. So, thank you for the patience. I have prepared a patch. It removes the code that reads this value, the line of code that makes public this value to the rest of the source-code and, finally, modifies the functions that takes into count this scale value. I am going to post it now.
Created attachment 545109 [details] [diff] [review] patch to the bug 516547
Comment on attachment 545109 [details] [diff] [review] patch to the bug 516547 r=me. dbaron, can you give this a quick sr?
Comment on attachment 545109 [details] [diff] [review] patch to the bug 516547 sr=dbaron
6 years ago