Announcement

Collapse
No announcement yet.

missing Font?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    missing Font?

    Hi,

    I have an application that shows unreadable characters when I launch it.
    And on the shell I see this when I launch it:
    Code:
    # /root/Portal/Portal
    
    (Portal:14892): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
    
    (Portal:14892): Pango-WARNING **: /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    
    (Portal:14892): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
    
    (Portal:14892): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
    What am I missing?

    Thank you!
    Ron
    roN

    http://www.inetgate.biz

    #2
    Is "Portal" a 32-bit game, perhaps, that you want to run in Wine? If so, did you install all the 32-bit libraries?

    Comment


      #3
      Originally posted by SteveRiley View Post
      Is "Portal" a 32-bit game, perhaps, that you want to run in Wine? If so, did you install all the 32-bit libraries?
      Portal ois not a game but yes, I assume it's 32bit. I do not run it in wine as it's required to control some usb hardware.
      See this link: http://www.synapse-wireless.com/inde...oduct&prodID=1
      Also, what areall the 32-bit libraries?
      Last edited by reggler; May 07, 2012, 05:05 PM.
      roN

      http://www.inetgate.biz

      Comment


        #4
        My first clue was "wrong EFL class: ELFCLASS64" -- this is a common error when a 32-bit application is trying to load libraries that don't exist. Do you have ia32-libs-multiarch installed? Also, is this a Java program?

        Comment


          #5
          Originally posted by SteveRiley View Post
          My first clue was "wrong EFL class: ELFCLASS64" -- this is a common error when a 32-bit application is trying to load libraries that don't exist. Do you have ia32-libs-multiarch installed? Also, is this a Java program?
          I didn't have "ia32-libs-multiarch
          " so I installed it but doesn't look like it fixed things I'm not sure if the application is Java,
          roN

          http://www.inetgate.biz

          Comment


            #6
            OK, so the problem lies elsewhere. Other common reports of the errors you see indicate some missing font files. Let's take a look at what you already have.
            Code:
            dpkg -l | awk '/ttf|font/ {print $2 $3}'
            Last edited by SteveRiley; May 08, 2012, 09:55 PM.

            Comment


              #7
              Have you run this application before on another KDE based distro?
              Kubuntu 12.04 - Acer Aspire 5750G

              "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

              Comment


                #8
                Originally posted by bra|10n View Post
                Have you run this application before on another KDE based distro?
                Yes, it ran just fine before I updated to Kubuntu 12.04 (on 11.10)
                roN

                http://www.inetgate.biz

                Comment


                  #9
                  Originally posted by SteveRiley View Post
                  OK, so the problem lies elsewhere. Other common reports of the errors you see indicate some missing font files. Let's take a look at what you already have.
                  Code:
                  dpkg -l | awk '/ttf|font/ {print $2 $3}'
                  Steve, Thanks! I'll do that, first thing when I get top the office.
                  roN

                  http://www.inetgate.biz

                  Comment


                    #10
                    Originally posted by SteveRiley View Post
                    OK, so the problem lies elsewhere. Other common reports of the errors you see indicate some missing font files. Let's take a look at what you already have.
                    Code:
                    dpkg -l | awk '/ttf|font/ {print $2 $3}'
                    Code:
                    reg@desktop-reg:~$ dpkg -l | awk '/ttf|font/ {print $2 $3}'
                    console-setup1.70ubuntu5
                    defoma0.11.12ubuntu1
                    fontconfig2.8.0-3ubuntu9
                    fontconfig-config2.8.0-3ubuntu9
                    fonts-droid20101110+git-2
                    fonts-horai-umefont434-1
                    fonts-kacst2.01+mry-3
                    fonts-kacst-one5.0+svn11846-2
                    fonts-khmeros-core5.0-5ubuntu1
                    fonts-lao0.0.20060226-8
                    fonts-liberation1.07.0-2
                    fonts-nanum3.010-2
                    fonts-opensymbol2:102.2+LibO3.5.2-2ubuntu1
                    fonts-takao-pgothic003.02.01-5ubuntu1
                    fonts-thai-tlwg1:0.4.17-1ubuntu1
                    fonts-tlwg-garuda1:0.4.17-1ubuntu1
                    fonts-tlwg-kinnari1:0.4.17-1ubuntu1
                    fonts-tlwg-loma1:0.4.17-1ubuntu1
                    fonts-tlwg-mono1:0.4.17-1ubuntu1
                    fonts-tlwg-norasi1:0.4.17-1ubuntu1
                    fonts-tlwg-purisa1:0.4.17-1ubuntu1
                    fonts-tlwg-sawasdee1:0.4.17-1ubuntu1
                    fonts-tlwg-typewriter1:0.4.17-1ubuntu1
                    fonts-tlwg-typist1:0.4.17-1ubuntu1
                    fonts-tlwg-typo1:0.4.17-1ubuntu1
                    fonts-tlwg-umpush1:0.4.17-1ubuntu1
                    fonts-tlwg-waree1:0.4.17-1ubuntu1
                    fonts-unfonts-core1.0.3.is.1.0.2-080608-5ubuntu1
                    gsfonts1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1
                    kbd1.15.2-3ubuntu4
                    libfont-afm-perl1.20-1
                    libfontconfig12.8.0-3ubuntu9
                    libfontconfig1:i3862.8.0-3ubuntu9
                    libfontconfig1-dev2.8.0-3ubuntu9
                    libfontenc11:1.1.0-1
                    libfreetype62.4.8-1ubuntu2
                    libfreetype6:i3862.4.8-1ubuntu2
                    libfreetype6-dev2.4.8-1ubuntu2
                    libsdl-ttf2.0-0:i3862.0.9-1.1ubuntu1
                    libxfont11:1.4.4-1
                    libxft-dev2.2.0-3ubuntu2
                    libxft22.2.0-3ubuntu2
                    libxft2:i3862.2.0-3ubuntu2
                    ttf-dejavu2.33-2ubuntu1
                    ttf-dejavu-core2.33-2ubuntu1
                    ttf-dejavu-extra2.33-2ubuntu1
                    ttf-droid20101110+git-2
                    ttf-freefont20100919-1
                    ttf-indic-fonts-core1:0.5.11ubuntu1
                    ttf-kacst-one5.0+svn11846-2
                    ttf-khmeros-core5.0-5ubuntu1
                    ttf-lao0.0.20060226-8
                    ttf-liberation1.07.0-2
                    ttf-mscorefonts-installer3.4ubuntu3
                    ttf-opensymbol2:102.2+LibO3.5.2-2ubuntu1
                    ttf-punjabi-fonts1:0.5.11ubuntu1
                    ttf-takao-pgothic003.02.01-5ubuntu1
                    ttf-thai-tlwg1:0.4.17-1ubuntu1
                    ttf-ubuntu-font-family0.80-0ubuntu2
                    ttf-umefont434-1
                    ttf-unfonts-core1.0.3.is.1.0.2-080608-5ubuntu1
                    ttf-wqy-microhei0.2.0-beta-1ubuntu1
                    x-ttcidfont-conf32+nmu2
                    x11-xfs-utils7.6+1
                    xfonts-base1:1.0.3
                    xfonts-encodings1:1.0.4-1ubuntu1
                    xfonts-mathml4ubuntu1
                    xfonts-scalable1:1.0.3-1
                    xfonts-utils1:7.6+1
                    reg@desktop-reg:~$
                    roN

                    http://www.inetgate.biz

                    Comment


                      #11
                      OK, so you already have all the font packges most people report as solving the problem. Perhaps your font cache needs regenerating:
                      Code:
                      sudo fc-cache -vfs
                      If that doesn't work, I'd suggest Googling on those error messages. Font problems can arise from a variety of issues, and there are several workarounds.

                      Comment


                        #12
                        Originally posted by SteveRiley View Post
                        OK, so you already have all the font packges most people report as solving the problem. Perhaps your font cache needs regenerating:
                        Code:
                        sudo fc-cache -vfs
                        If that doesn't work, I'd suggest Googling on those error messages. Font problems can arise from a variety of issues, and there are several workarounds.
                        I recached but same thing:
                        Code:
                        reg@desktop-reg:~$ sudo /root/Portal/Portal
                        
                        (Portal:19971): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
                        
                        (Portal:19971): Pango-WARNING **: /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
                        
                        (Portal:19971): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
                        
                        (Portal:19971): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
                        reg@desktop-reg:~$
                        I have tried to find my answer with google before I even posted this thread, with no success...
                        roN

                        http://www.inetgate.biz

                        Comment


                          #13
                          If your 11.10 install was a 32 bit system then this is the likely cause of the problem. Is there a 64 bit version of the app available?

                          In any case it seems your app is unable to access your current oxygen-GTK theme.

                          Try looking at your app in Muon, and checking the 'Installed files' for any more clues...
                          Kubuntu 12.04 - Acer Aspire 5750G

                          "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

                          Comment


                            #14
                            Originally posted by bra|10n View Post
                            If your 11.10 install was a 32 bit system then this is the likely cause of the problem. Is there a 64 bit version of the app available?

                            In any case it seems your app is unable to access your current oxygen-GTK theme.

                            Try looking at your app in Muon, and checking the 'Installed files' for any more clues...
                            11.10 was 64-bit as well.
                            I looked at Muon but am not sure how to check the 'installed files' there... could you please be a bit more specific as to where I should be looking for something?
                            Thanks,
                            Ron
                            roN

                            http://www.inetgate.biz

                            Comment


                              #15


                              I'd be looking for any locations that include 'lib64' as a starting point.
                              Hopefully the number of installed files for 'Portal' is minimal, and you could look through those to check where it might be looking for oxygen-gtk.

                              Others here more knowlegeable on the .gtkrc-2.0 link issue might offer some suggestions...
                              Kubuntu 12.04 - Acer Aspire 5750G

                              "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

                              Comment

                              Working...
                              X