SOLVED: gnucash fails altogether after upgrading xorg; fonts needed ocnfiguring
On Sun, Jul 02, 2006 at 07:42:14PM +0200, Florian Kulzer wrote:
> On Sun, Jul 02, 2006 at 12:19:28 -0400, hendrik@topoi.pooq.com wrote:
> > Except for a few font problems, the xorg upgrade (from 6.9 to 7) seemed
> > to work. During the upgrade, there were a few package problems, easily
> > resolved using aptitude's suggestions. First it wanted to install an
> > xfree86 package to fix things, but the second alternative was xfs, which
> > I chose. Was that wrong?
>
> I don't think so, xfs 1:1.0.1-5 works without problems for me as a font
> server for Xorg 7.0
>
> > Now I cannot get gnucash to work (mission-critical problem), and both
> > emacs and xemacs give me empty boxes for characters (workaround found).
> >
> > ****
> >
> > The gnucash problem is critical. I really *need* it fixed, and soon.
> > I would have delayed the entire upgrade had I even *suspected* there
> > would be this kind of trouble.
> >
> > gnucash complains:
> >
> > parents@lovesong:~$ gnucash
> > Warning: gnucash_style_set_register...(): Cannot load font:
> > -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
>
> [...]
>
> > parents@lovesong:~$ gnucash --version
> > GnuCash 1.8.10
> > parents@lovesong:~$
> >
> > What package contains these fonts?
>
> adobe-helvetica-... font names are aliases for Nimbus Sans fonts from
> package "gsfonts". I think that you furthermore need "gsfonts-x11" to
> make these postscript type1 fonts available under X. Since you installed
> the xfs font server during the upgrade you can check if the fonts are
> known under their aliases:
>
> $ fslsfonts -s unix/:7100 | grep 'adobe-helvetica-medium-r-normal.*-120'
Didn't have these: But thy didn't match gnucash's font pattern.
> -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso10646-1
> -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso10646-1
> -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
> -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
Did have these:
> -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso10646-1
> -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso10646-1
> -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1
> -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1
>
> Also check if you have the following two FontPath elements in your
> /etc/X11/xorg.conf:
>
Did't have this one: Added it in by editing the file.
> FontPath "unix/:7100"
Did have this one:
> FontPath "/usr/share/fonts/X11/Type1"
>
> I have a different version of GnuCash (1.9.8 on Sid), therefore I cannot
> tell you if the above is enough for GnuCash 1.8.10, but it certainly
> should not hurt.
Now it works. So does emacs.
>
> --
> Regards,
> Florian
>
Thanks.
Reply to: