Bug 233905

Summary: Font setting should show unit and unit should be pixels, not points
Product: konqueror Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: kollix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gérard Talbot (no longer involved) 2010-04-10 02:35:07 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Steps to reproduce

Configuration / Configure Konqueror ... / category Internet Navigation / sub-category: Appearance / Fonts tab
and here Minimal font size and Medium font size 

a) should display unit in the chrome window, just at the right side of the numerical up arrow(^)/down arrow(v) selector

b) the display unit should be "pixels"


a) All current mainstream browsers (IE8, Firefox 3.x, Opera 10.x, Safari 4.x, Seamonkey 2.x) all offer to set average and/or minimal font size in pixels only. The current de facto web-browser-industry standard is 16px for medium font-size and for unstyled body text (like <p>).

b) Not showing any unit is definitely not helpful or confusing: the user has no certainty on what is the unit

c) pt unit is known to be best for printing and for print media (print preview, page medium); pixel is best for screen resolution, is related to screen resolution. 
pt is best used when the physical properties of the medium are fixed and known. Because 72pts = one inch and 1pt = 1/72 inch. Screen resolution can be 800x600, 1024x768, etc.

Absolute length units are only useful when the physical properties of the output medium are known. (...)
The absolute units are: 
pt: points — the points used by CSS 2.1 are equal to 1/72nd of an inch.

regards, Gérard
Comment 1 Maksim Orlovich 2010-04-10 03:10:52 UTC
FYI, all KDE font settings are in pts, so making this be pixels is no go. 
I need to dig up my patch that makes it -real- points and not web ones, though.
Comment 2 Gérard Talbot (no longer involved) 2010-04-22 21:00:43 UTC
There is now a de facto standard among web browser vendors to use pixels as the font size unit. Diverging from such standard - for whatever reason - is not necessarly going to help the user or the web author.

Regardless of the unit KDE+Konqueror chooses for setting font size in web pages as an implementation strategy (and regardless of the reasons for such choice) still must make the interface show what is the unit. Whether it's px or pt or whatever unit, the interface (Minimal font size and Medium font size) should still clearly and explicitly show such unit for font size. This is furthermore justified and relevant if Konqueror diverges from the de facto standard among web browser vendors.

regards, Gérard
Comment 3 Gérard Talbot (no longer involved) 2010-04-25 23:29:05 UTC
> all KDE font settings are in pts

When I use Konqueror's DOM treeviewer (Tools/View DOM tree) and then Computed Style tab, the font-size is shown with "px" unit, not "pt".

regards, Gérard
Comment 4 Martin Koller 2012-01-05 19:21:50 UTC
I'd say it would not hurt to display the word "points" to the right of the spinbuttons.