linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
445 stars 84 forks source link

Fractional font size rounded down #601

Closed haarp closed 1 year ago

haarp commented 1 year ago
 * Xed version: 3.4.3
 * Distribution: Gentoo Linux

Issue

When selecting font size that are not integers (e.g. 5.75), they are rounded down (to 5 in this example). This makes getting the size just right hard. It's also confusing, as the font selector does allow setting fractional sizes, they just won't have an effect.

Steps to reproduce

Expected behaviour

Fine-tunable font size

Other information

Thanks!

JosephMcc commented 1 year ago

The dialog that pops up to choose a font is provided by Gtk. I don't really know why it even allows entering a fractional size.

haarp commented 1 year ago

So fractional font sizes are not intended to be supported? Why is that?