I have crappy fonts in Keepass 2.13, mono 2.8, OpenBSD 4.8 -current. I have tried a couple of other mono applications and they have no issues with fonts at all.
thanks for the fast reply
ForceSystemFontUnix was already set to true in the configuration file. I tried setting it to false, but it didn't change anything. It looks to me that this is more than a font problem, because all windows look like the options window I posted above. There are no drop-down boxes, check boxes, tabs, nothing. Just a gray background.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In Gentoo, Mono is not split up in so many packages as is the case with Ubuntu. There is only one Mono package, and a few additional packages for things like Cairo, SQLite, Firebird. So, I'm pretty sure I have the necessary Mono packages.
However, another problem arose: I can't start KeePass anymore. Every time I get an error message:
Great news, I finally found the solution for the font problem: in Gentoo you have to compile dev-dotnet/libgdiplus with the cairo USE flag.
The problem I described in post 8 disappeared suddenly.
Thanks for all the help Paul, I'm glad I can use KeePass in Linux now :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have crappy fonts in Keepass 2.13, mono 2.8, OpenBSD 4.8 -current. I have tried a couple of other mono applications and they have no issues with fonts at all.
Screenshot - http://nuni.cz/~jirib/keepass.png
Any idea?
Thanks
Exactly the same problem on gentoo linux. I tried running KeePass 2.14 with mono 2.6.7 and 2.8.2. How can I debug this?
@jiribb: Have you solved the problem?
thanks in advance
Tools > Options > Interface > Force using system font?
cheers, Paul
I wish I could do that, but my options window looks like this https://twitpic.com/41v11h
Check KeePass.config.xml for this line.
<UI>
<ForceSystemFontUnix>true</ForceSystemFontUnix>
cheers, Paul
thanks for the fast reply
ForceSystemFontUnix was already set to true in the configuration file. I tried setting it to false, but it didn't change anything. It looks to me that this is more than a font problem, because all windows look like the options window I posted above. There are no drop-down boxes, check boxes, tabs, nothing. Just a gray background.
Do you have all the required Mono components?
https://sourceforge.net/projects/keepass/forums/forum/329221/topic/3961826
cheers, Paul
In Gentoo, Mono is not split up in so many packages as is the case with Ubuntu. There is only one Mono package, and a few additional packages for things like Cairo, SQLite, Firebird. So, I'm pretty sure I have the necessary Mono packages.
However, another problem arose: I can't start KeePass anymore. Every time I get an error message:
#X11 Error encountered:
# Error: BadAlloc (insufficient resources for operation)
# Request: 53 (0)
# Resource ID: 0x1A0002F
# Serial: 1346
# Hwnd: Hwnd, Mapped:True ClientWindow:0x1A0002F, WholeWindow:0x1A0002E, Zombie=False, Parent:
# Control: System.Windows.Forms.ListView+ItemControl at System.Environment.get_StackTrace()
# at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
# at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr , IntPtr ByRef )
# at System.Drawing.Graphics.FromXDrawable(IntPtr drawable, IntPtr display)
# at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
(snip)
full error message: https://pastebin.com/tKLFKhUM
Tried removing the config file, restarting X, rebooting, but nothing helps. I'm using
xorg-server 1.9.4
xf86-video-intel 2.14.0
If mono uses a cache directory, try clearing it.
cheers, Paul
Great news, I finally found the solution for the font problem: in Gentoo you have to compile dev-dotnet/libgdiplus with the cairo USE flag.
The problem I described in post 8 disappeared suddenly.
Thanks for all the help Paul, I'm glad I can use KeePass in Linux now :-)