[Trisquel-users] I deleted Courier 10 Pitch, and broke FontForge

2014-01-22 Thread LDrumbler
I no longer want the font Courier 10 Pitch, so I opened a file manager as  
root and deleted it from /usr/share/fonts. But now when I try to open a font  
in FontForge, the window briefly appears and then quits. When I went to the  
terminal from which I'd run gksu thunar, I noticed several messages like  
this:



Help! Server claimed font
-bitstream-courier 10 pitch-medium-r-normal--16-0-0-0-m-0-iso10646-1
 existed in the font list, but when I asked for it there was nothing.
 I may crash soon.
Segmentation fault


How can I fix this? Where in the system is this command given, so that I can  
prevent this crash from occurring.


Re: [Trisquel-users] I deleted Courier 10 Pitch, and broke FontForge

2014-01-22 Thread George Standish
On Thu, Jan 23, 2014 at 04:02:47AM +0100, ldrumb...@openmailbox.org wrote:

 I no longer want the font Courier 10 Pitch, so I opened a file
 manager as root and deleted it from /usr/share/fonts.

BAD idea.  you shouldn't manually remove system files.

Good luck.



Re: [Trisquel-users] I deleted Courier 10 Pitch, and broke FontForge

2014-01-22 Thread LDrumbler
I think I figured it out. There's a file  
/usr/share/fonts/X11/Type1/fonts.dir. You need to edit this file, remove all  
the lines referring to Courier, and change the number at the top to the  
number of lines in the file minus one.


It's not working yet, but I'll reboot and see if that's still the case.