font size combobox shows senseless value

Bug #181213 reported by uwestoehr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

- open the attached SVG where you find the text "TestTestTest"
The second "Test" is in font size 24, the others in size 19.
- highlight the whole text and you see in the font size combobox the value "20,667"

This bug could be related to bug 166166 and is not a dupe of bug 168492 or bug 168397.

Tags: fonts text ui
Revision history for this message
uwestoehr (uwestoehr) wrote :
Revision history for this message
Ryan Lerch (ryanlerch) wrote : Re: [Bug 181213] Re: font size combobox shows senseless value

the number is the average of the sizes of each block of different sized
words...
there are 2 blocks of 19 sized words and one of 24, therefore
19+24+19=62
62 / 3 = 20.666666667

this may be the desired behaviour, but i am not sure what else could be done
besides just making it blank...

On 1/8/08, donovaly <email address hidden> wrote:
>
>
> ** Attachment added: "Testcase"
> http://launchpadlibrarian.net/11206691/bug181213.svg
>
> --
> font size combobox shows senseless value
> https://bugs.launchpad.net/bugs/181213
> You received this bug notification because you are a member of Inkscape
> Bug Team, which is the bug contact for Inkscape.
>

Changed in inkscape:
importance: Undecided → Unknown
status: New → Incomplete
Revision history for this message
uwestoehr (uwestoehr) wrote :

> the number is the average of the sizes of each block of different sized
> words...

I know, but this is senseless because this value is never correct (like that in average humans have
one breast, but there are men and women).

> this may be the desired behaviour, but i am not sure what else could be done
> besides just making it blank...

Make it blank is the correct solution. This is also done in all other programs I know.

uwestoehr (uwestoehr)
Changed in inkscape:
status: Incomplete → New
Revision history for this message
nayrhcrel (ryan-lennox) wrote :

setting this one back to incomplete, as it appears to be a feature that was coded this way for a reason. I dont think anyone would accidently code generating an avereage font size without realising what they were doing. We need some feedback from the developers about the concept behind this one...

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Ryan Lerch (ryanlerch) wrote :

whoops, that last comment is from me, (Ryanlerch)
i was still logged in as my alter ego.

Revision history for this message
Tom Davidson (tjd-mit) wrote :

Also note that these 'nonsense' values are seen when non-uniformly scaling a text box.
1) create some 40px text 2) scale it by 200% horizontally 3) put the cursor in the text: reported size is 56.569

Bryce Harrington (bryce)
Changed in inkscape:
importance: Unknown → Undecided
Revision history for this message
uwestoehr (uwestoehr) wrote :

> I don't think anyone would accidentally code generating an average font size without realizing what they were doing.

When this would be true, every software would be bug-free. It is still a bug that is confusing for the users and needs to be fixed. As a user it is not of interest if someone once introduced these confusing sizes by design or not, it needs to be fixed (or call it improved) nevertheless.

Changed in inkscape:
status: Incomplete → New
tags: added: fonts text ui
Revision history for this message
Pablo Trabajos (pajarico) wrote :

I'm setting this as wishlist since I tend to agree with the reporter. Even if the current solution is technically correct, it can be misleading when you've a letters with different but very close sizes. Or when you've different families for every letter and you had to change the size of some of them because you need the x-height of all letters to somewhat fit the same height. In those cases the user can be mislead to think that all of the selected text has the same point size, as visually it seems to be.

I propose to keep the same system but put the value in parenthesis when averaging a selected text.

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
uwestoehr (uwestoehr) wrote :

this bug is still in Inkscape 0.91pre2.

Revision history for this message
uwestoehr (uwestoehr) wrote :

Still in Inkscape 0.91 final.

description: updated
Revision history for this message
uwestoehr (uwestoehr) wrote :

Still in Inkscape 0.92 final.

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

Other bug subscribers

Bug attachments

Remote bug watches

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