helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

The font size and thickness of the system are inconsistent, which often makes people feel anxious when using it. #285

Closed louies0623 closed 3 years ago

louies0623 commented 3 years ago

I check the previous version. In the r4 version, its interface is the most comfortable. It has the same system font size, global menu, window title, file name, etc., just like Mac OS, the size is the same, only supplementary The font is slightly smaller, but by the r6 version, I have been very uncomfortable and anxious. Inconsistent fonts are the biggest problem.

Please observe.

r4 r6

probonopd commented 3 years ago

https://github.com/helloSystem/ISO/blob/463058a64250664e88e6e4aef49ba2fc0fc3e48a/overlays/uzip/hello/files/usr/local/etc/xdg/breezerc#L31

Try changing /usr/local/etc/xdg/breezercto 11.5 regular, then run launch KWin.

probonopd commented 3 years ago

Right, now I remember. Setting it to

TitleBarFont=Nimbus Sans,11.5,-1,5,75,0,0,0,0,0,Regular

gives a totally wrong and unpleasant result:

image

These two are spposed to be identical.

The problem with lines like TitleBarFont=Nimbus Sans,11.5,-1,5,75,0,0,0,0,0,Regular is that they are just too complicated an incomprehensible. I'd much rather like something simple like TitleBarFont=Nimbus Sans, TitleBarFontSize=11.5. What are all the other parameters? Joys of inherited code.

TitleBarFont=Nimbus Sans,10.5,0,0,0,0,0,0,0,0,Regular

seems to be doing the trick:

image

And indeed it looks so much cleaner.

Strangely we need to set it to 10.5 to get something that looks like like 11.5pt in Menu. I don't understand why.

louies0623 commented 3 years ago

I think it should be the result of different units.

probonopd commented 3 years ago

Who would ever want to measure font sizes in anything else but point? ;-)

probonopd commented 3 years ago

For fun and giggles, I tried TitleBarFont=Nimbus Sans,15pt,0,0,0,0,0,0,0,0,Regular but it does not work at all.

louies0623 commented 3 years ago

So the font unit of the global menu is correct, right?

louies0623 commented 3 years ago

Please try to change "pt" to "px". “pt” is used for printing, and "px" is used for UI. Sorry I'm wrong.