[PC-BSD Pbi-dev] [Pbibuild] PBI Autobuild: kb
db at db.net
Thu May 29 07:19:46 PDT 2008
On Thu, May 29, 2008 at 09:56:55AM -0400, Kris Moore wrote:
> Marcel Klinz [PC-BSD.de] wrote:
> >Output logged from stdout
> I went ahead and changed the program to use a regular .png icon instead
> of the .xpm. That should fix the icon to show up properly on the
Bizarre, it displays on the desktop fine. I generated the .png myself
btw, I'm no graphics artist. ;-)
> desktop. As for running the program, it seems to work here just fine.
> I'm on 1.5.1 here, what version did you test it on Marcel?
That error message is from kb itself, it does a loop looking for
a monospace font that fills the width of the screen properly.
printf("Found a good font [%s]\n", font_desc);
printf("Cannot find a suitable font for your system!\n");
printf("Try a different screen resolution.\n");
The code loops through font size 10 to 24
About line 539 of init.c
for(nff=0; nff<2; nff++)
for(font_size=10; font_size<=24; font_size++)
snprintf(font_desc, sizeof(font_desc), "%s %d",
pfd = pango_font_description_from_string (font_desc);
pfm = pango_context_get_metrics (pc, pfd, pl);
ipfmgadw = pango_font_metrics_get_approximate_digit_width (pfm);
nfound = TRUE;
quite a kludge...
I'd change that if(ipfmgadw/PANGO_SCALE==wcol) to
I meant to patch that in the port. Not sure if you can try that easily.
What resolution is your screen?
- db at FreeBSD.org db at db.net http://www.db.net/~db
More information about the Pbi-dev