On Sun, Sep 25, 2011 at 01:15:21PM +0000, Jörg Sommer wrote:
> "John J. Foerch" <[email protected]> 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.
> >
> > In the past, people have always used create_buffer_hook to do this.  It's
> > elegant enough that I feel no pressing need to change it..
> 
> But the zoom function do not respect this extra value. When growing or
> shrinking the text with zoom-{in,out}-{text,full} you can never go back
> to values likes 105. And when the message after zoom-{in,out}-{text,full}
> says 100% you have 100% for 96dpi, but not for your resolution.
> 
> Maybe the variable default_zoom_factor is better named
> dev_pixels_per_css_px.

You make a good point.  Patch needs some tweaking, and I want to do some
research into exactly why the various dpi-related prefs no longer work.

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to