dillo icon indicating copy to clipboard operation
dillo copied to clipboard

Blurry font rendering [Mac]

Open philocalyst opened this issue 1 year ago • 3 comments

Sometimes without interaction, but always with, the text will appear blurry when rendering in dillo (3.1.1). I'm on macos 14.6, FLTK 1.3.9. Attached is an example. any help would be appreciated! 71157

philocalyst avatar Aug 06 '24 03:08 philocalyst

That is an interesting bug. Here is a 8x magnified picture of the issue:

2

I don't have any Apple computer to test myself. If you used homebrew, could you test if you can reproduce the same issue with the HEAD (master) version of FLTK? You probably need to remove FLTK 1.3.9 first to be sure is not used.

rodarima avatar Aug 06 '24 08:08 rodarima

Getting this error preventing me from doing so:

configure: error: FLTK 1.3 required; version found: 1.4.0

I tried also switching my dillo install to HEAD but to no avail :( Is there anything else I can do from my side to help debug?

philocalyst avatar Aug 06 '24 19:08 philocalyst

configure: error: FLTK 1.3 required; version found: 1.4.0

This is caused by a check in the configure.ac which you can adjust to work with 1.4.0.

To test it yourself, you would need to build Dillo from source yourself, which shouldn't be hard.

You can probably get it done with these commands (assuming you already installed FLTK fomr HEAD):

$ git clone https://github.com/dillo-browser/dillo.git
$ cd dillo
$ sed -i 's/1\.3\.\*)/1.4.*)/' configure.ac
$ ./autogen.sh
$ mkdir build
$ cd build
$ brew install autoconf automake openssl@3
$ ../configure --prefix=/usr/local LDFLAGS="-L`brew --prefix openssl`/lib" CPPFLAGS="-I`brew --prefix openssl`/include"
$ make
$ sudo make install

rodarima avatar Aug 06 '24 22:08 rodarima

Note: the sed command assumes GNU sed, but that's available in homebrew too as gsed.

It looks great on my machine (macOS 14.6.1 (23G93)) with FLTK HEAD:

image

amandasystems avatar Sep 09 '24 09:09 amandasystems

Note: the sed command assumes GNU sed, but that's available in homebrew too as gsed.

Oops :-)

It looks great on my machine (macOS 14.6.1 (23G93)) with FLTK HEAD:

Nice!, can you also reproduce the same blurry font problem with FLTK 1.3.9? If so, it would probably be a bug in FLTK that is fixed in 1.4, which would be no work for us.

rodarima avatar Sep 09 '24 18:09 rodarima

The blurry text is triggered only when resizing the window and letting go of the drag handle for me. While the window is resizing, the blur is absent. As soon as I release it, it's there, and stays there even if I resize again. I haven't checked if it appears if I reload the page.

It happens both with the package from Homebrew and git master.

It does not happen with latest FLTK (HEAD), so I can confirm that it's an FLTK issue at least for me.

amandasystems avatar Sep 12 '24 10:09 amandasystems

It does not happen with latest FLTK (HEAD), so I can confirm that it's an FLTK issue at least for me.

Thanks for testing. Then I'll close this and focus on supporting FLTK 1.4 properly (https://github.com/dillo-browser/dillo/issues/246).

rodarima avatar Sep 14 '24 06:09 rodarima