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

Text in Kompare is displayed overlapping

Tags: kompare, font, text kompare, font, text kompare, font, text
(comma "," separated)
musakarolia
Registered Member
Posts
3
Karma
0
Hi, I've been trying to solve this text display problem in Kompare. The text is small and the lines overlap each other making it unreadable. The text on the menus, panels and upper boxes are fine but the comparison texts are effected. Text in all other applications is fine too.

I think the problem is in the 'komparec' file with the variable 'TextFont' but I don't understand the correct syntax for it.
Can anyone please point me in the direction of an explanation to the numbers following the Font name (Bitstream Vera Sans Mono)?
..
TextFont=Bitstream Vera Sans Mono,10,-1,5,50,0,0,0,0,0
..

Any other hints are welcome too
Many thanks :)
Musa


Arch Linux, KDE 4.14.7, Kompare 15.04.1-1
('$kompare --version' is '4.1.3')

komparerc:

[Diff Options]
CompareRecursively=true
ConvertTabsToSpaces=false
CreateSmallerDiff=true
DiffProgram=/usr/bin/diff
Format=\x04
IgnoreAllWhiteSpace=false
IgnoreChangesDueToTabExpansion=false
IgnoreChangesInCase=false
IgnoreEmptyLines=false
IgnoreRegExp=false
IgnoreRegExpText=
IgnoreRegExpTextHistory=
IgnoreWhiteSpace=false
LargeFiles=true
LinesOfContext=3
NewFiles=true
ShowCFunctionChange=false

[Exclude File Options]
File=false
FileHistoryList=
FileURL=
Pattern=false
PatternList=

[General Options]
Height 768=769
Height 900=901
State=AAAA/wAAAAD9AAAAAQAAAAIAAAUAAAAA3PwBAAAAAfsAAAAUAE4AYQB2AGkAZwBhAHQAaQBvAG4BAAAAAAAABQAAAAE/AQAABQAABQAAAAFwAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
ToolBarsMovable=Disabled
Width 1280=1281
Width 1440=1441

[Recent Compare Files]
Encoding=Default
LastChosenDestinationListEntry=/usr/share/config/kdm/kdmrc
LastChosenSourceListEntry=/usr/share/config/kdm/kdmrc.pacnew
Recent Destinations=/etc/profile.d/jre.sh,/usr/share/config/kdm/kdmrc
Recent Sources=/usr/share/config/kdm/kdmrc.pacnew

[View Options]
AddColor=190,190,237
AppliedColor=237,237,190
ChangeColor=237,190,190
RemoveColor=190,237,190
ScrollNoOfLines=3
TabToNumberOfSpaces=4
TextFont=Bitstream Vera Sans Mono,10,-1,5,50,0,0,0,0,0

Also, I can't find how to put this in the correct forum board - any idea why?
musakarolia
Registered Member
Posts
3
Karma
0
Solved this by making sure root's komparerc matched my users' komparerc

Specifically it was this line in /root/.config/komparerc
Code: Select all
...
TextFont=DejaVu Sans Mono,13,-1,5,50,0,0,0,0,0
...


The text sizes had to match - don't know why.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]