Allow float values for font sizes

Bug #203488 reported by soc
2
Affects Status Importance Assigned to Milestone
Gnome Specimen
Fix Committed
Wishlist
wouter bolsterlee

Bug Description

At the moment only integer sizes are selectable.

Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

Could you give me an example of an application you think should be able to do this? and how much is 0.5 points anyway - tiny-tiny-tiny. According to Wikipedia it's between 0.18 and 0.4 mm. So I'd be hard pressed to see why anyone would need this.

Revision history for this message
soc (simon-ochsenreither) wrote :

I never saw a font chooser without it.
System->Settings->Appearance->Fonts

It's not "tiny-tiny-tiny", it's just a different size like 11 or 5.
Those 0.5 steps make a big difference.

Especially on different displays with different, maybe faulty dpi-values (remember that Gnome just takes 96 dpi ignoring any real dpi info X provides?) it is extremely necessary to be able to reproduce font sizes.

On my display all my default fonts are 8.5 or 9.5, because I like them _exactly_ that size.

It's not "Why would anyone need this?", it's "Why wasn't it there since day 1?".

Ignoring half of the fonts sizes is just annoying and unnecessary restrictive.

Revision history for this message
wouter bolsterlee (wbolster) wrote :

Fixed in the development version.

  219 Wouter Bolsterlee 2008-07-15
      Add support for non-integer font sizes

      The font preview size is now a float value with one decimal,
      allowing font sizes like 11.5 to be selected. The GConf
      schema has been updated to reflect this change as well.
      Fixes bug #203488.

Changed in gnome-specimen:
assignee: nobody → uws
importance: Undecided → Wishlist
milestone: none → 0.5
status: New → Fix Committed
Revision history for this message
wouter bolsterlee (wbolster) wrote :

Note that the scroll increment is deliberately still at "1", not at "0,5". You can type in whatever you want however.

Revision history for this message
soc (simon-ochsenreither) wrote : Re: [Bug 203488] Re: Allow float values for font sizes

Thanks!

Revision history for this message
wouter bolsterlee (wbolster) wrote :

You're welcome! Note that this is not in a released version yet. There has not been enough development lately to warrant a new release imho, but eventually I will roll a new version :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.