All text turned to boxes in Ubuntuzalam
There is a quick fix to solve this problem. Login to command prompt by pressing CTRL + ALT + F1 and login into shell.
Reinstalled the Ubuntu fonts with this command:
apt-get install --reinstall ttf-ubuntu-font-family
Then I rebuilt the font information files with this command:
fc-cache -f -v
Restart the system and the problem will be resolved.