dillo-browser / dillo

Dillo, a multi-platform graphical web browser
https://dillo-browser.github.io/
GNU General Public License v3.0
549 stars 28 forks source link

Scaling for hidpi/4k screens #169

Open Munchotaur opened 4 months ago

Munchotaur commented 4 months ago

I just installed 3.1.0 and it's great but for the scaling on my 4k work monitor. Is there a make option to set a different scale for Dillo?

rodarima commented 4 months ago

We don't really have support for DPI yet.

As a workaround, you can use the font_factor option and can put arbitrary CSS in ~/.dillo/style.css to increase the font size like this:

body {
  font-size: 20px !important;
}

There is also a work in progress for zoom, see PR #156.

Munchotaur commented 4 months ago

Thanks. At least that should sort out the page itself -- I guess the UI is a whole other can of worms?

rodarima commented 4 months ago

I guess the UI is a whole other can of worms?

FLTK 1.4 should support DPI out of the box, but AFAIK, FLTK 1.3 doesn't support it (didn't test). Not sure how long it will take to have the release ready, but hopefully not too long.

But if you want to explore other options in the meanwhile feel free to do so :-)

Munchotaur commented 4 months ago

I'll see what I can see! However that note on FLTK 1.4 sounds promising so here's looking forward to the next release.