-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare Dillo for FLTK 1.4 #246
Comments
Related: #258 |
FLTK 1.4rc1 released: https://www.fltk.org/newsgroups.php?s22210+gfltk.coredev+v22223 One of the main changes with FLTK 1.4 is that they switched the units to "scale units", which are DPI independent. This will cause problems with images and text that is currently rendered to be shown at an specific size. We probably will need to adjust the rendering of elements to take into the account the DPI, so they are properly rendered on the screen. Similarly, icons will need to have higher resolutions, so we can properly scale them on high DPI screens. So far FLTK 1.4 causes gliches when scrolling, so it will remain not compatible until we can fix them: |
FLTK 1.4.0rc2 has been released: I don't see any scrolling glitches as you mentioned above, so hopefully thats fixed now. |
These problems are likely in Dillo not FLTK. The FLTK new commits don't change any DPI code that I can see. They are still present for me on 1.4.0rc2. What is your screen DPI? Are you on Xorg or Wayland? If on Xorg:
Also, how did you built dillo with FLTK 1.4? Can you attach the config.log and:
|
It's Xorg @ 96dpi. I set configure.ac to: AC_PATH_PROG(FLTK_CONFIG,fltk-config) Then removed the original FLTK package, built the new 1.4.0rc2 from source, and installed: $ fltk-config --version Then built dillo with the new version. I sent you the config.log and the ldd output. |
I don't think you will see it on 96dpi. You need a DPI value larger than 96 (but not a multiple), so it triggers the rounding problem. My screen is 101dpi which seems to be very problematic. You may be able to fake a 101dpi and reproduce it with:
I can also try with another 96dpi screen and see if it goes away on my end (probably). |
Ok, I start to see some glitching when doing that, and when changing the dpi higher than 96 with xrandr. |
For info - I just built dillo-3.1.0 against fltk-1.4.0rc3 wayland only and things seem to work |
We should prepare Dillo to be compatible with FLTK 1.4, as currently the
configure prevents building with other than FLTK 1.3.
There may be some other changes to do with the transition.
The text was updated successfully, but these errors were encountered: