Created attachment 2200 [details] Fancy plugin: convert default font size from points to pixels. Default font size for fancy viewer needs to be converted from points to pixels, otherwise it is much too small.
It works fine for me, in what circumstances is it much too small?
It's tricky situation: webkit1 gtk2 -> default-font-size is in points webkit2 gtk3 -> default-font-size is in pixels My bad, didn't test with Gtk3 branch.
Created attachment 2201 [details] HTML message with no font size specified Of course, this can only be a problem when the message does not specify any font size. (Most do, it seems, but it can be hard to tell.) I have attached a (public) example message.
Also this patch will not work with gtk2 branch: fancy_viewer.c: In function ‘fancy_apply_prefs’: fancy_viewer.c:108:26: warning: implicit declaration of function ‘webkit_settings_font_size_to_pixels’ [-Wimplicit-function-declaration] 108 | "default-font-size", webkit_settings_font_size_to_pixels(msg_font_size), NULL);
patch pushed to git. thanks