Skip to content
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

Blurry font rendering [Mac] #234

Closed
philocalyst opened this issue Aug 6, 2024 · 7 comments
Closed

Blurry font rendering [Mac] #234

philocalyst opened this issue Aug 6, 2024 · 7 comments

Comments

@philocalyst
Copy link

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

@rodarima
Copy link
Member

rodarima commented Aug 6, 2024

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.

@philocalyst
Copy link
Author

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?

@rodarima
Copy link
Member

rodarima commented Aug 6, 2024

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

@amandasystems
Copy link

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

@rodarima
Copy link
Member

rodarima commented Sep 9, 2024

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.

@amandasystems
Copy link

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.

@rodarima
Copy link
Member

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 (#246).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants