Guest User

Untitled

a guest
Jan 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. Please post the output of
  2. Code:
  3. sudo find / -iname "Helvetica.ttf" -exec ls -l {} \;
  4. It might take a minute or two for this command to complete.
  5.  
  6. If you have more than one Helvetica.ttf, I recommend removing all but one.
  7. Since each of the directories in /usr/share/fonts/truetype is related to a package, I think it is probably best not to "pollute" those directories by adding files to them that those packages don't expect to be there.
  8.  
  9. Instead use "gksu nautilus" or
  10. Code:
  11. sudo mkdir /usr/share/fonts/truetype/myfonts
  12. to create a directory for fonts not associated with any package.
  13.  
  14. Then move Helvetica.ttf into /usr/share/fonts/truetype/myfonts and remove all other copies of Helvetica.ttf that the "sudo find" command found.
  15.  
  16. Then do a sanity check:
  17. Code:
  18. ls -l /usr/share/fonts/truetype/myfonts/Helvetica.ttf
  19. Make sure the permissions look like this:
  20.  
  21. Code:
  22. -rw-r--r-- 1 root root 26860 2008-04-13 20:04 Helvetica.ttf
  23. Also run
  24. Code:
  25. ls -ld /usr/share/fonts/truetype/myfonts/
  26. to check that the permissions on the parent directory allow everyone to read the directory:
  27. Code:
  28. drwxr-xr-x 2 root root 4096 2008-04-13 20:04 /usr/share/fonts/truetype/myfonts/
  29. Finally, do a sanity check on Helvetica.ttf:
  30. Code:
  31. gnome-font-viewer /usr/share/fonts/truetype/myfonts/Helvetica.ttf
  32. A screen should pop up showing a rendering of the Helvetica characters.
  33.  
  34. If all the above does not catch the problem, try this again:
  35. Code:
  36. sudo fc-cache -f -v /usr/share/fonts/truetype/myfonts/
  37. The last command I believe should scan /usr/share/fonts/truetype/myfonts/ and make any fonts it finds accessible to the rest of the system.
Add Comment
Please, Sign In to add comment