FLTK logo

Re: [fltk.coredev] Please vote: add a Wayland platform to FLTK

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Please vote: add a Wayland platform to FLTK Albrecht Schlosser Jan 11, 2022  
 
On 1/11/22 4:52 PM Manolo wrote:
Le lundi 10 janvier 2022 à 18:27:16 UTC+1, Albrecht Schlosser a écrit :
Here are my first results (I'll continue testing later). I tested on Ubuntu 20.04 with Wayland desktop.

(1) The window title fonts are way too large (obviously in CSD mode). Can we reduce the font size?
We sure can if we use libdecor as bundled in FLTK. By the way, libdecor had smaller font before and increased it at some point to be in line with gnome I believe.

But it might be impossible then to use libdecor as a system package available in recent Linux versions, which is desirable I believe.

What exactly is the problem? Can we not adjust the font size when using libdecor on the application level? Is it hard coded into libdecor?

FWIW, I'm attaching a screenshot from my Ubuntu 20.04 with Wayland desktop (isn't this "Gnome" based?) with (from top to bottom):

- desktop title bar ("XTerm")
- fluid - X11 (normal "Untitled.fl")
- fluid - Wayland (large "Untitled.fl")
- xterm

The examples show the difference but if you have a smaller window and a longer title it may be more obvious that the title text may easily overflow the existing space - at least much earlier than with the normal size.

Another observation is that the system title bar is much taller although the title font is smaller. I wouldn't care about the title bar height though, but the font looks way to large - and ugly IMHO.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/d507d885-2707-1914-7dd6-3461d552d673%40online.de.

Attachment: window-title.png
Description: PNG image

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.