"unknown encoding" error in Fontconfig config file

From: Steinar Bang (sb_at_dod.no)
Date: 08/21/04

  • Next message: Bram Mertens: "how to connect two PC's with a cross-over ethernet cable?"
    To: debian-user@lists.debian.org
    Date: Sat, 21 Aug 2004 10:42:18 +0200
    
    

    Platform: Pentium M (Dell Latitude D600 laptop),
              debian sarge (testing/unstable),
              XFree86 4.3.0.dfsg.1-4,
              qt 3.3.2-0pre2,
              kde 3.2.2-1,
              fontconfig 2.2.3-1

    When I came back from vacation, I did an "apt-get dist-upgrade" which
    upgraded a lot of packages. After this, my own Qt application has
    acted strangely. It prints out
            Fontconfig error: line 1: unknown encoding
            Fontconfig error: Cannot load default config file
    to the console when starting up, and comes up with a really strange
    looking font (from the output resulting from setting FC_DEBUG=1, it
    looks like it may be a font called "Arioso"?).

    I'm aiming for helvetica, which should be the default font for Qt
    anyway.

    Is there a way to find the offending file causing the error messages?
    Some debug option, perhaps?

    I have googled, and seen others on with this error message (mostly on
    GTk applications), but no answers to what causes it.

    The debian fontconfig package has three config files
            /etc/fonts/fonts.conf
            /etc/fonts/local.conf
            /var/lib/fontconfig/local.conf
    They all start with
            <?xml version="1.0"?>
    I have tried changing that to
            <?xml version="1.0" encoding="utf-8"?>
    but it didn't make any difference.

    KDE applications work without a hitch. fc-list works without giving
    any error messages.

            fc-list helvetica
    gives me:
            Helvetica:style=Bold Italic
            Helvetica:style=Italic
            Helvetica:style=Bold
            Helvetica:style=Regular

    fc-cache -v as my own user gives the following output:
            fc-cache: "/usr/share/fonts": skipping, no write access
            fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": skipping, no write access
            fc-cache: "/usr/local/share/fonts": skipping, no write access
            fc-cache: "/home/sb/.fonts": skipping, no such directory
            fc-cache: "/var/lib/defoma/fontconfig.d": skipping, no write access
            fc-cache: "/usr/X11R6/lib/X11/fonts": skipping, no write access
            fc-cache: succeeded
    fc-cache -v as root gives a lot more output.

    There is an environment variable LANG=C set, but no LC_* variables
    set.

    Thanx!

    - Steinar

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Bram Mertens: "how to connect two PC's with a cross-over ethernet cable?"

    Relevant Pages

    • [CLA-2004:821] Conectiva Security Announcement - XFree86
      ... Greg MacManus from iDEFENSE Labs discoveredtwo vulnerabilities ... in the way the X server deals with font files. ... It is recommended that all XFree86 users upgrade their packages. ... Detailed instructions regarding the use of apt and upgrade examples ...
      (Bugtraq)
    • Re: Word 2004 hanging unpredictably in 10.4.1, no font error messages
      ... (If using Safari, hit Refresh once or twice; ... I wouldn't count out font issues just because you aren't seeing ... > I've read about with font-related error messages. ...
      (microsoft.public.mac.office.word)
    • pdf output does not show bold faced math fonts
      ... I've recently installed a fresh kubuntu distribution. ... output does not display the math symbold bold faced. ... However after I apt-got every font package related to latex that I am ... Please could somebody point me out which packages are most probably ...
      (comp.text.tex)
    • Re: Fw: Fw: Fw:Mewbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work
      ... Somewhere in the Moz menus will be an "Account Options" or similar item ... >install error messages although bootup error messages are now mininal. ... to Sid, if you were to so choose, if the packages on the mirror don't ... you to a Testing (Sarge) system, ...
      (Debian-User)
    • Re: CSS software tools sought
      ... Not all HTML documents are web pages, and not all web pages are serious. ... Most authors know better these days than waste their time writing meta descriptions, but your fake error messages try to return them into such futility. ... Anyone can design a font and give it that name. ...
      (comp.infosystems.www.authoring.stylesheets)