How do I fix fonts not rendering and missing letters?

80,841

Solution 1

It looks like the issue was fixed in Ubuntu 15.04. I've upgraded and the problem is no longer an issue.

During the upgrade I did notice that several AMD specific packages were installed.

Solution 2

I had the same problem on my Dell Inspiron with 5th generation i5 running Ubuntu 14.04. Luckily I found an easy solution for this. First - install Ubuntu Tweak (following commands work for installing it):

sudo add-apt-repository ppa:tualatrix/ppa 
sudo apt-get update
sudo apt-get install ubuntu-tweak

Then, go to Fonts, change Antialiasing option from Subpixels Antialiasing (LCD screens only) to Standard Grayscale Aliasing and everything seems to work fine. In fact, the problem immediately appears/disappears on changing the setting, so seems this is indeed the possible cause.

Graphical Guide — Ubuntu Tweak tool

With missing letters, you might have trouble finding the "Antialiasing" label etc. Here's a graphical guide on how the tool looks with working fonts, to help you find where to click.

In the first window, you must pick the "Tweaks" tab in the top row (third from the left — i.e. the central one), then "Fonts" (first icon on the left in the first row):

Ubuntu Tweak -> Tweaks -> Fonts

Then, click the bottom choice bar, and choose the middle option (I can't show a screenshot with the choice bar opened, unfortunately, as Ubuntu doesn't seem to react to me pressing the PrtScr key then :-/)

Antialiasing choice bar

Graphical Guide — Unity Tweak tool

Similar guide as above, but for the Unity Tweak tool.

After starting the tool, click "Fonts" (right-most icon in the third row):

Unity Tweak -> Fonts

Then click the marked choice bar, and select the middle option when it opens:

Fonts -> Appearance -> Antialiasing

Solution 3

For me this usually happens (sooner) when I got a second display hooked up to the laptop. Changing the aliasing using ubuntu tweak only temporarily solves the problem. Same for changing the font size using ubuntu's displays.

Installing the Intel Graphics Installer for Linux (which is at version 1.1.0 now) doesn't seem to do anything at all. I ran the installer through the software center without any problems.

I have been using this workaround for a day now without any problems. On ubuntu 14.04:

Create or edit /etc/X11/xorg.conf Add the code below, save and reboot

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "AccelMethod"  "uxa"
EndSection

Solution 4

It might be an driver issue. If you're using an Intel graphics, try installing the latest(1.0.8) Intel Graphics Installer for Linux, which supports 14.10. I had same problem with my 5th generation i5 laptop but it solved this problem.

Solution 5

I had the same problem on my new Dell laptop with Intel® HD Graphics 5500 (Broadwell GT2). If you had dependence problem when installing the above Graphic Installer for Linux, you can install GDebi Package Installer which can easily solve dependence issues.

Or first install GDebi

sudo apt-get install gdebi

Download the 64 bit driver for an X64 system or the 32 bit version for an X86.

wget https://download.01.org/gfx/ubuntu/14.10/main/pool/main/i/intel-linux-graphics-installer/intel-linux-graphics-installer_1.0.8-0intel1_amd64.deb

Finally, use GDebi to install that driver

sudo gdebi intel-linux-graphics-installer_1.0.8-0intel1_amd64.deb 
Share:
80,841

Related videos on Youtube

Gunther
Author by

Gunther

Updated on September 18, 2022

Comments

  • Gunther
    Gunther over 1 year

    I have a fresh installation of Ubuntu 14.10 on my laptop. It appears that letters are missing from files and folders, as well as menus and configuration windows. I'm not sure where to start in order to fix this.

    enter image description here enter image description here

    • Admin
      Admin about 9 years
      I have exactly the same problem on a DELL E7450 that's supposed to support Ubuntu officially. Running 14.04.2 LTS form a live USB right now.
    • Admin
      Admin about 9 years
      See this answer: askubuntu.com/a/606583/395351 . Seems to be a confirmed bug for Intel HD5500 cards.
    • Admin
      Admin almost 9 years
      I have the same probelem with Lenovo X250. this makes ubuntu useless
    • Admin
      Admin over 8 years
      I have sometime the same problem with Lenovo G50-80. After a restart this usually solved (untl next time).
    • Admin
      Admin about 8 years
      I can't believe this issue happens still in 16.04. When is ubuntu going to fix this bug?
    • Admin
      Admin over 7 years
      The bug is reported here: bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+‌​bug/… Please mark as affecting you and subscribe to vote for it.
    • Admin
      Admin over 7 years
      I don't have the reputation to answer the question, but same problem here with Nvidia GeForce GT M650 on Lenovo Y400 w/ Debian-BunsenLabs. Longer explanation here pjbrunet.com/customizing-bunsenlabs-linux but here's what I think a) I used grep to check all my config files for "rbga" and found one that still had subpixel smoothing on b) my fonts were "flickering" and I think that was due to some config files using different fonts--two different fonts fighting each other would explain that--correcting this seems to have fixed my problem.
    • Admin
      Admin almost 7 years
      You can use Intel Graphics Uptade package: 01.org/linuxgraphics/downloads/… Just this step worked for me. Here is the full article: techzim.co.zw/2017/01/…
  • Dan Dascalescu
    Dan Dascalescu about 9 years
    The installer depends on an odd package, ttf-ancient-fonts and Software Center doesn't install it automatically.
  • Dan Dascalescu
    Dan Dascalescu about 9 years
    The installer also doesn't work on Ubuntu 14.04.
  • muru
    muru about 9 years
    You don't need GDebi to install deb files. The Software Centre does that just fine. Double click on the deb file, or run software-centre intel-linux-graphics-installer_1.0.8-0intel1_amd64.deb.
  • user304461
    user304461 about 9 years
    I don't know whether the Software Centre can automatically solve dependence problem. I am a new Linux user though. : ) Thanks for comments!
  • Einar Ólafsson
    Einar Ólafsson almost 9 years
    That link is broken , recommend to link directly to 01.org/linuxgraphics/downloads
  • tutuca
    tutuca over 8 years
  • tutuca
    tutuca over 8 years
  • Zack
    Zack over 8 years
    sudo dpkg -i intel-linux-graphics-installer_1.0.8-0intel1_amd64.deb then sudo apt-get install -f will also work
  • Zack
    Zack over 8 years
    This can also be done via the gnome-tweak-tool for those using the GNOME desktop environment (or wm+gnome-settings-deamon, like myself)
  • jutky
    jutky over 8 years
    This helped me for a while, but after some time the problem returned.
  • Zack
    Zack over 8 years
    @tutuca, it was happening on 15.04 for me, too, until I updated my kernel to 3.19.0-29-generic. Now it hasn't happened at all.
  • tutuca
    tutuca over 8 years
    I fiddle a little with my fonts configurations and it got fixed.
  • Darshan Patel
    Darshan Patel over 8 years
    This Indeed solved the problem. Thanks WorkWise
  • Nehal J Wani
    Nehal J Wani over 8 years
    This indeed solved the problem! Thanks @WorkWise After changing the config, I had to restart lightdm. For 15.04 people, the ppa doesn't provide package. I just downloaded the one for trusty and did: wget https://launchpad.net/~tualatrix/+archive/ubuntu/ppa/+files/‌​ubuntu-tweak_0.8.8-1‌​%7Etrusty1_all.deb ; sudo dpkg -i ubuntu-tweak_0.8.8-1~Etrusty1_all.deb; sudo apt-get install -f
  • conualfy
    conualfy over 8 years
    No it did not fix it, I am just having this bug. It is the first time since installing 15.04, but it is not fun at all.
  • djvs
    djvs about 8 years
    On Ubuntu 16.04, and presumably earlier, this is unity-tweak-tool.
  • vorburger
    vorburger almost 8 years
    still happening in 16.04
  • vorburger
    vorburger almost 8 years
    Note that AccelMethod UXA is the previous and slower one.
  • vorburger
    vorburger almost 8 years
    Note that the as of today current Intel Graphics Installer for Linux 1.4.0 [1] "is targeted at Ubuntu 15.10 or Fedora 23. Ubuntu 16.04 is already current with the latest Q1 2016 Intel Graphics stack and therefore no Graphics Installer is needed." [1] 01.org/linuxgraphics/downloads/…
  • Rainmaker
    Rainmaker almost 8 years
    gnome-tweak-tool also seems to work.
  • groovy354
    groovy354 almost 8 years
    It seems to be only a temporary fix for me (after the next few suspends the letters disappear again)
  • Julian Berger
    Julian Berger almost 8 years
    Maybe I am missing something, but I can't find a way to do it through the gnome-tweak-tool. Could someone give me a hand?
  • user613971
    user613971 almost 8 years
    Still happening on 16.04 here too.
  • Radek Postołowicz
    Radek Postołowicz over 7 years
    I'd say it's muuuch slower.
  • emmagras
    emmagras over 7 years
    I had to increase my test scaling factor from 1.00 to 1.10 to make the unitu-tweak-tool fix actually work everywhere
  • akavel
    akavel over 7 years
    Additional note: I did the change to "grayscale" once, but then again the fonts disappeared after some time. Then I changed back to "subpixel antialiasing", and they reappeared again.
  • David Fraser
    David Fraser over 7 years
    I have this problem on Xubuntu; it's tricky to find the correct item without the fonts working but changing the antialiasing subpixel order from RGB to BGR fixes this for me (and changing it back reproduces the problem). Note that you can also do this on the commandline: xfconf-query -c xsettings -p /Xft/RGBA -s bgr
  • NoBugs
    NoBugs about 7 years
    What is the "middle" option you chose in Ubuntu Tweak? On mine I have "S pi la ialia i LC cr ly" set already and obviously it isn't working LOL.
  • answerSeeker
    answerSeeker about 7 years
    software center is super slow compared to gdebi
  • Rishabh Agrahari
    Rishabh Agrahari almost 7 years
    still happening on 17.04
  • Lambart
    Lambart almost 7 years
    Worked for me on my Mac Mini. Thank you so much; it doesn't happen every time, but my only solution before was to reboot the computer. Interestingly, I still had to close and re-open the Terminal window; the font rendering there wasn't fixed immediately.
  • infoclogged
    infoclogged over 6 years
    @RishabhAgrahari whats your uname -r? I had this problem long ago, askubuntu.com/questions/818390/… and I havent seen it since 4.8.0-46-generic.
  • Alex1357
    Alex1357 over 6 years
    Actually, this problem is reported to have been fixed with Linux Kernel 4.8., so with Ubuntu 16.04.+HWE kernel or with Ubuntu >= 16.10 the problem should be gone.
  • Gaurav Agarwal
    Gaurav Agarwal over 6 years
    Did not work for me Ubunt 14.04 LTS & Intel Ironlake Mobile Graphics.
  • Gaurav Agarwal
    Gaurav Agarwal over 6 years
    This reduced the problem. It still happens. Any update on solution.
  • Will
    Will about 5 years
    Tweaking the anti-aliasing settings worked also under KDE (note that the problem concerned only gtk applications). Changing sub-pixel rendering type fixed the missing characters issue. However, I am not sure whether this was due to a particular setting. The fix may consist in "restarting" the anti-aliasing.
  • foo
    foo almost 4 years
    still happening on Ubuntu 20.04. Simple solution was: gnome-tweaks, tab "Fonts", changing the setting for "Antialiasing" from "Subpixel" to "Standard".
  • foo
    foo almost 3 years
    was gone on Ubuntu 20.04 LTS, came back with current patches of 20.04.2
  • foo
    foo almost 3 years
    Still happening on 20.04.2 LTS