Bug 92600

Summary: xmbmon says "Can't find font: ..."
Product: Ports & Packages Reporter: Daniel Berlin <mail>
Component: Individual Port(s)Assignee: Jean-Yves Lefort <jylefort>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Daniel Berlin 2006-01-31 12:10:04 UTC
I just installed a minimal Freebsd 6.0 (base + manpages only)
and then compiled tightvnc and xmbmon (WITHOUT_SMB=YES).

When starting xmbmon in a vnc-client, it refuses to work:

===snip===
Can't find font: -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
===snap===

The font actually does not exist on my system.

Fix: Patch for xmbmon.c :

===snip===



#define DEFAULT_GEOMETRY  "100x140"
-#define DEFAULT_FONT      "-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
+#define DEFAULT_FONT      "fixed"

-#define DEFAULT_LBFONT    "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
+#define DEFAULT_LBFONT    "fixed"
 #define DEFAULT_LBCOLOR   "black"

 #define DEFAULT_COUNT        "4"            

===snap===--rB8o7G4NszVahoiVMDuWE5kdjp47mUIlBGnUAAK95uiczprA
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- xmbmon.bak  Sun Jan 29 13:41:41 2006
+++ xmbmon.c    Sun Jan 29 13:42:53 2006
@@ -23,9 +23,9 @@
 #define RES_NAME   "XMBmon"
How-To-Repeat: Just start xmbmon...
Comment 1 Jean-Yves Lefort freebsd_committer freebsd_triage 2006-01-31 15:31:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jylefort

Take.
Comment 2 Jean-Yves Lefort freebsd_committer freebsd_triage 2006-02-01 20:09:14 UTC
State Changed
From-To: open->closed

Committed, thanks!