This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Calligra

Tags: None
(comma "," separated)
john@ukgillies.com
Registered Member
Posts
14
Karma
0
OS

Calligra

Sun Jul 29, 2012 7:04 am
I have installed calligra 2.5 on to Kubuntu 12.04 with kde 4.8

Using the sheets module.
The app seems to work, but the display of fonts in cells is dreadful - blurred and blocky.

The fonts for tools, menu etc are fine.
The font when I enter data into a cell is perfect, but once I press enter, the font goes to the blurred and blocky font.

Any thoughts how to get rid of this?

Thanks
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

Re: Calligra

Sun Jul 29, 2012 5:37 pm
Moved to the Calligra forum. Forum feedback section is not for Calligra issues.


john@ukgillies.com
Registered Member
Posts
14
Karma
0
OS

Re: Calligra

Mon Jul 30, 2012 2:07 am
OK - I understand the need to keep things organised.

But where is the Calligra forum?

Thanks
slangkamp
KDE Developer
Posts
607
Karma
4

Re: Calligra

Mon Jul 30, 2012 2:27 am
You are in the calligra forum, see the menu at the bottom. Do you have a screenshot? Here Sheets looks pretty normal on 12.04: http://i.imgur.com/YEc3K.png
john@ukgillies.com
Registered Member
Posts
14
Karma
0
OS

Re: Calligra

Wed Aug 01, 2012 1:07 am
Thanks for the response - I can see that you are not getting the same as I am.

Here is a screenshot showing my problem.
Thanks,
John

Ah - how do I upload a screenshot?
But here it is in Dropbox
https://dl.dropbox.com/u/84266668/Calligra%20Fonts.png
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Calligra

Thu Aug 02, 2012 10:15 am
Which version of Qt and Calligra is being used on your system?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
john@ukgillies.com
Registered Member
Posts
14
Karma
0
OS

Re: Calligra

Thu Aug 02, 2012 3:37 pm
qt is 4.4.8.1 and calligra 2.4.92

Hope this helps.
User avatar
dusanic
Registered Member
Posts
15
Karma
0
OS

Re: Calligra

Fri Aug 03, 2012 4:55 am
What font are you using on your system, for me it looks really sharp in general, like a bitmap font? Maybe change your font settings.
User avatar
greatperson
Registered Member
Posts
75
Karma
0
OS

Re: Calligra

Fri Aug 03, 2012 9:28 am
I also see that Calligra seems to use some non-system font rendering in both Words and Sheets (I just don't use anything else). :-(

Kubuntu 12.04, KDE 4.9, Calligra 2.4.3
john@ukgillies.com
Registered Member
Posts
14
Karma
0
OS

Re: Calligra

Sun Aug 05, 2012 1:14 am
I am using Liberation Sans as the System Font.

And yes - the fonts are sharp when you are entering data into a cell and in the cell editor area.

But when you press enter to accept the cell input the font changes in the cell to a rubbish font.

So why TWO fonts?

If I change the font then the fonts change - but they are still crumby blocky fonts.

BTW - I have always found this to be the case for Calligra - on earlier calligra versions and KDE distros.
slangkamp
KDE Developer
Posts
607
Karma
4

Re: Calligra

Sun Aug 05, 2012 4:40 pm
Might be that the package was build against an old version of Qt. Only if build with Qt 4.8, you get the best font rendering quality.
User avatar
dusanic
Registered Member
Posts
15
Karma
0
OS

Re: Calligra

Sun Aug 05, 2012 8:47 pm
Maybe you could create a ~/.fonts.conf:

Code: Select all
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
  </edit>
 </match>
 <dir>~/.fonts</dir>
</fontconfig>


Check also your font settings, the best for me would be this:

Activate antialiasing, set to RGB, hint style to slight and DPI settings to 96, if you are not sure about your DPI settings, this will give you the correct value for your system:

Code: Select all
xdpyinfo | grep resolution
john@ukgillies.com
Registered Member
Posts
14
Karma
0
OS

Re: Calligra

Thu Aug 09, 2012 5:50 am
Dusanic you are a star......


First - this sorts the issues for Calligra. The displayed fonts in the sheet have improved hugely.
They are however not as clear as in the entry window at the top, but good enough.

This has allowed me to explore Calligra further. I see that there are some big shortfalls - like you can't drag and drop cells! A MAJOR shortfall.
Cells won't import their width from excel etc

Assume this is still a wip

Second - I have ALWAYS struggled with fonts in Linux. It's a major shortcoming if you want to move away from the windoze cr*p. Native Linux looks s**t.
Snag is - there are 100 or more ways to screw up and change fonts.
You suggestion got me exploring further and now MY WHOLE DESKTOP looks immensely better.

Than you for this.
John
boemann
KDE Developer
Posts
80
Karma
0
OS

Re: Calligra

Thu Aug 09, 2012 7:06 am
Hmm it seems you calligra is built against qt 4.7 or earlier. With qt 4.8 you shouldn't need the fontconfig hack

How did you get calligra installed?
User avatar
dusanic
Registered Member
Posts
15
Karma
0
OS

Re: Calligra

Thu Aug 09, 2012 3:00 pm
john@ukgillies.com wrote:
Than you for this.
John


You are welcome. I am also very picky with fonts. I learned to apply all kind of tweaks as Debian had always bad font rendering before Squeeze.
But I cannot complain, I like my fonts how they are now better than on Windows, especially when you compare to the sharpness of XP.

But boemann is right, Qt 4.8 also improved the font rendering, so my fonts.conf is just still there as an old relict but I still think it improves font rendering in Webkit browsers like Chrome/ium etc at least on my Debian box.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell