On Sun, Oct 16, 2011 at 10:03:44PM +0000, Jörg Sommer wrote: > "John J. Foerch" <jjfoe...@earthlink.net> wrote: > > On Sat, Sep 24, 2011 at 04:36:39PM +0200, Jörg Sommer wrote: > >> On high resolution displays, the default fonts becoming very small. In > >> releases before Xulrunner 2.0 the preferences layout.css.dpi, > >> layout.css.devPixelsPerPx, browser.display.screen_resolution and > >> browser.screen_resolution could be set to scale fonts to an appropriate > >> size. But since Xulrunner 2.0 none of these settings have any effect. > >> > >> For Firefox the common recommandation is the add‐on NoSquint that sets > >> the default zoom level of the markupDocumentViewer. This patch does the > >> same for Conkeror. It defines a variable default_zoom_factor which is set > >> as the default value for each buffer. > > > > Setting a user value for the pref layout.css.devPixelsPerPx works for me, > > with XULRunner 6.0. It affects all non-absolute css dimensions. > > Not at me with XULRunner 7.0. I've used a new Profile and set the value > to 1.4 in about:config, but all pages stay the same. Which value did you > use? On which site did you notice an effect?
I set it to 1.4 in about:config, and it immediately took effect without a restart. There is larger text in the mode-line and minibuffer. I visted such sites as google and wikipedia, and all of their fonts were scaled up as well. The fonts that this pref does not affect are anything sized in px, because that is an absolute measurement. This includes the fonts in the about:config dialog itself, which I attribute to poor design on Mozilla's part. To affect text whose font-size is defined in px, you will need to set the preferences governing minimum font-size. There are several of these, but the following two catch most sites: session_pref("font.minimum-size.x-western", 32); session_pref("font.minimum-size.x-unicode", 32); (You will probably want a value less than 32, but if you test it with 32, you will be sure to see the difference!) -- John Foerch _______________________________________________ Conkeror mailing list Conkeror@mozdev.org https://www.mozdev.org/mailman/listinfo/conkeror