[clue-tech] fonts

Keith Hellman khellman at mcprogramming.com
Sun Sep 14 19:57:24 MDT 2008


On Sun, Sep 14, 2008 at 06:08:06PM -0600, Bob Meetin wrote:
> so next questionable question.  how do i determine the package name to  
> remove?  if i cruise /usr/share/fonts/ there are 3 folders with  
> additional subcontents:
>
> % ls *
> truetype:
> arphic      kochi       thai        ttf-bitstream-vera     
> ttf-indic-fonts-core
> freefont  openoffice  ttf-arabeyes  ttf-dejavu        unfonts
>
> type1:
> gsfonts
>
> X11:
> 100dpi    75dpi  encodings  misc    Type1  util

Your box should have the dpkg command, try:
  $ dpkg -S /usr/share/fonts/truetype/.../this_font_file
(you need to replace the .../this_font_file with the rest of a 
font file path...).

dpkg -S lists the package the font belongs to.  Then as Anselmi said, do
  $ aptitude purge THE_PACKAGE_NAME

For instance, on my box I get
  $ dpkg -S /usr/share/fonts/truetype/freefont/FreeMono.ttf
  ttf-freefont: /usr/share/fonts/truetype/freefont/FreeMono.ttf
so I would use
  $ aptitude purge ttf-freefont

Two caveats:
1. I run debian testing, not Ubuntu, so it would be nice if a Ubuntu
user on the list could confirm that dpkg is there.  I suspect it is, but
I don't have any systems to check that against.
2. This assumes you know the mapping between disk path name and "the
ugly font I see in some font selection dialog box".  I can't honestly
say I know how to determine that mapping...

-- 
Keith Hellman                             #include <disclaimer.h>
khellman at mcprogramming.com                from disclaimer import standard
khellman at mines.edu
                                   -*-                                    
                    public key @ pgp.mit.edu 9FCF40FD 
    Y!M: mcprogramming                           AIM/ICQ: 485403897       
                     gtalk: jabber at mcprogramming.com                      
                                   -*-                                    

"Windows is about choice - you can mix and match software and music player
stuff. We believe you should have the same choice when it comes to music
services."

-- David Fester, General Manager of Microsoft's Windows Digital Media Division
   http://apple.slashdot.org/apple/04/01/13/0158224.shtml?tid=109&tid=187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://cluedenver.org/pipermail/clue-tech/attachments/20080914/f76416f8/attachment.bin


More information about the clue-tech mailing list