Bug 181813

Summary: digikam text decoration font size problem
Product: [Applications] digikam Reporter: Roger Larsson <roger.larsson>
Component: Plugin-Editor-InsertTextAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.9.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.0
Bug Depends on: 141592    
Bug Blocks:    

Description Roger Larsson 2009-01-24 22:34:37 UTC
Version:           0.9.4 (using 3.5.10 "release 21.11" , openSUSE )
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.27.7-9-default

When decorating an image with a text.
You resize it until it looks correct, then press OK.
Now it shrinks...

I wonder if this is because the image is scaled to fit window and not to 100% but the text is shown at 100%.
Comment 1 Andi Clemens 2009-05-30 21:46:22 UTC
How much does it shrink?
There is some inaccuracy because the image is, as you mentioned, scaled to fit the window.
Right now we can not change this, but we will redesign the image editor toolwindow in the future. One goal is to have zooming everywhere, and then the problem you described here should be gone.

For me it does shrink only 1-2px, not more. This is quite not noticable here. have you noticed a bigger scaling?

If so, can you try with the latest digiKam release, to see if the problem still exists?

Andi
Comment 2 Andi Clemens 2009-10-01 17:03:24 UTC
Any news here?

Andi
Comment 3 caulier.gilles 2011-11-16 14:18:11 UTC
Roger, Do you see comment #1 from Andi ?

Gilles Caulier
Comment 4 Roger Larsson 2011-11-18 23:48:40 UTC
It was a lot more than a few pixels - using a large font probably 80pt.
I can not reproduce this anymore... (1.9.0)
Comment 5 caulier.gilles 2011-11-19 07:59:01 UTC
Roger, I can close this file now ?

Gilles Caulier
Comment 6 caulier.gilles 2015-10-09 05:37:18 UTC
Git commit bc91c372df147edcd5c7335cdc8c151a5de4d3a2 by Maik Qualmann.
Committed on 07/10/2015 at 18:58.
Pushed by mqualmann into branch 'master'.

apply patch #94879 to fix the different font size and / or text position
BUGS: 141592
FIXED-IN: 4.14.0

M  +2    -1    NEWS
M  +90   -58   imageplugins/decorate/inserttextwidget.cpp
M  +1    -1    imageplugins/decorate/inserttextwidget.h

http://commits.kde.org/digikam/bc91c372df147edcd5c7335cdc8c151a5de4d3a2