Bug 121372

Summary: No way to modify font size for various text displays
Product: [Applications] digikam Reporter: krienke
Component: Usability-ErgonomyAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:

Description krienke 2006-02-04 18:19:28 UTC
Version:           0.90 (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs
Compiler:          gcc 4 
OS:                Linux

Looking at the great 0.90 version of digikam especially with the new side tabs I found that it would be really helpful if the user had a way to say that he wants smaller or larger fonts eg for the display of EXIF data but generally for all kind of text beeing used in digikam. 

Some people work with high res displays others do not, some people have good eyes others not some guys want to spend as little as possible space for the info in the tabs (to keep more space for the photo) others want it to be good readable. To satisfy these contradicting wishes of different users it would be sufficient to have a way to increase or decrease font size. From my point of view it would not be important to specify completely different fonts but only different font sizes. 

Of course to have a way to choose another font and its size would be the more general solution.

Have a nice day
Rainer
Comment 1 Achim Bohnet 2006-02-08 02:16:33 UTC
Your high, low resolution argument is wrong.  KDE uses pt,
not pixel for font size.  This is resolution independent.
If you get different results on different monitor, check
that DPI of you monitor are correct (xdpyinfo).  If not
add to you Monitor section in xorg.conf

   DisplaySize   width height

both have to be specified in mm.   Solved ;)


Your arguments about good/bad eys is correct.  But then
there no reason to only increase/decreate font size for
digikam.  It should be done for all apps in the kde control
center.

Achim
Comment 2 krienke 2006-02-08 08:49:30 UTC
Well you forgot my main argument at least for me it is the most important: The personal preference if someone wants to have textinfo "good" readable or if he prefers small text using less space in an application that ideally needs a large display to show the information. 
When working on a photo or a set of photos in the imageeditor the sidebar can be used to display exif data which is really useful. However the text size used therein is in my setup quite large especially because some parts are formatted in bold face. My KDE default font size for my KDE applications is right for me. I did not yet see any reason to make it smaller or larger for any other KDE application. If I want to see all the EXIF infos in digikams sidetab (without cutting off text) I have to resize the tab to roughly 1/3 of my screen width. In the complete view of EXIF info I even have to scroll vertically to see all information. The font size could be 4 points smaller for the sidetab and the infos would still be readable on my display but they would eat up less space vertically (no more scrolling needed then) and horizontally leaving more room for the photo.

The problem is simply that KDE general font selection is used here for the sidetab, but the sidetab is something special in that it shows important infos about the image but at the same time it makes the image appear smaller. I want to have the sidetab as small as possible to have my image beeing displayed as large as possible but still having the EXIF infos visible and readable. But at the moment I can only do so by setting the fontsize of *all* my KDE applications smaller which seems not sensible to me. 

Its simply something different if you want to look eg at a KDE applications configuration dialog (where the KDE default font is also used for) and where you can use your complete display size to do this or if you want just to display additional infos in a box as small as sensible (for a certain users preference) with the constraint that making the box larger will make the photo smaller. Thats why in my eyes its not good to use *one* KDE default font for all situations.

Your argument that display resolution is not important since the display size is specified in mm is also not completely true. There is still a difference of a highres display say 1600x1200 and a lowres say 800x600. The difference is the resolution. On the highres display you can render smaller details (eg small fonts) more acurate than on a lowres display simply because you have more pixel to do so. So on a highres display a user might want to use a very small (but still "sharp" looking) font that another user on a lowres display would not want to use since it would look already blurred.
  
So again. To let an user use an application optimally according to his equipment and personal preferences you cannot use one singe default font that is used for all KDE applications because it cannot be optimal for all contexts. If you do so, you make an application like digikam less optimal than it could be. 
Why do you think one can specify different (from the global default KDE settings) font sizes and font shapes in other applications like kmail or knode? I think its the same reason: Let the user decide whats optimal according to his preferences and equipment. 

Rainer
Comment 3 Tomas Tichy 2006-08-02 21:26:06 UTC
I can confirm this as a bug. On my laptop the small font in image properties is almost unreadable. I haven't found any way how to change this font size. Fonts in any other KDE apllications looks OK. So althougt font size in digikam is specified relative, this is too small for my display. 
Comment 4 Alexander Filep 2007-01-10 10:38:43 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Jonathan Ryshpan 2007-07-03 22:40:42 UTC
The font used to annotate the thumbnails (though not the one used for comments etc. to a selected image) does not contain certain characters, in particular č and Š, which I would like to use in annotating pictures taken on a recent visit to Dalmatia.
Comment 6 caulier.gilles 2008-12-23 11:50:41 UTC
SVN commit 900575 by cgilles:

digiKam from trunk : starting to implement a way to set-up font style and size in specific part of digiKam
With this commit, Tooltip font can be customized.
Still TODO :
- Custom font in Image Properties from right sidebar tab.
- Custom font in for all ALbum tree-view.
CCBUG: 121372


 M  +1 -0      CMakeLists.txt  
 M  +2 -2      digikam/albumiconviewtooltip.cpp  
 M  +55 -39    digikam/albumsettings.cpp  
 M  +4 -0      digikam/albumsettings.h  
 AM            libs/widgets/common/dfontselect.cpp   [License: GPL (v2+)]
 AM            libs/widgets/common/dfontselect.h   [License: GPL (v2+)]
 M  +23 -13    libs/widgets/common/ditemtooltip.h  
 M  +1 -1      libs/widgets/common/searchtextbar.h  
 M  +7 -7      libs/widgets/common/thumbbartooltip.cpp  
 M  +20 -13    libs/widgets/common/thumbbartooltip.h  
 M  +3 -1      project/project.kdevelop  
 M  +41 -23    showfoto/setup/setuptooltip.cpp  
 M  +1 -0      showfoto/showfoto.cpp  
 M  +2 -2      utilities/cameragui/cameraiconviewtooltip.cpp  
 M  +38 -24    utilities/setup/setuptooltip.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900575
Comment 7 caulier.gilles 2008-12-23 11:54:02 UTC
Too all in this room...

Look my #900575 comment: is the list of pending digiKam component to customize font is fine for you.

Note: This file is now relevant of digiKam for KDE4. It's too complicated to backport code to KDE3. Only KDE4 code will be patched.

Thanks in advance for your feedback

Gilles Caulier
Comment 8 caulier.gilles 2008-12-23 13:25:39 UTC
SVN commit 900637 by cgilles:

digiKam from trunk: Customize Font for Album tree view
CCBUG: 121372


 M  +17 -4     digikam/albumsettings.cpp  
 M  +5 -2      digikam/albumsettings.h  
 M  +1 -1      digikam/albumthumbnailloader.cpp  
 M  +2 -2      digikam/datefolderview.cpp  
 M  +1 -1      digikam/digikamapp.cpp  
 M  +1 -1      digikam/folderview.cpp  
 M  +1 -0      showfoto/setup/setuptooltip.cpp  
 M  +1 -1      utilities/fuzzysearch/fuzzysearchfolderview.cpp  
 M  +1 -1      utilities/gpssearch/gpssearchfolderview.cpp  
 M  +1 -1      utilities/searchwindow/searchfolderview.cpp  
 M  +41 -26    utilities/setup/setupalbumview.cpp  
 M  +1 -0      utilities/setup/setuptooltip.cpp  
 M  +1 -1      utilities/timeline/timelinefolderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900637
Comment 9 caulier.gilles 2008-12-23 19:38:42 UTC
Too all, 

About Image Properties view from right sidebar, With KDE4 the code to display text have been re-written. I think the way to customize font at this place is not necessary.

Gilles Caulier
Comment 10 caulier.gilles 2008-12-23 20:07:47 UTC
SVN commit 900833 by cgilles:

digiKam from trunk : add customization settings of font used in icon-view.
BUG: 121372


 M  +13 -12    digikam/albumiconview.cpp  
 M  +16 -0     digikam/albumsettings.cpp  
 M  +4 -0      digikam/albumsettings.h  
 M  +10 -0     digikam/iconview.cpp  
 M  +21 -20    digikam/iconview.h  
 M  +15 -7     utilities/setup/setupalbumview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900833
Comment 11 Mikolaj Machowski 2008-12-23 21:46:55 UTC
For me looks OK.