Results 1 to 5 of 5

Thread: So many fonts!

  1. #1
    3 Star Lounger
    Join Date
    Nov 2012
    Location
    Maryland, USA
    Posts
    362
    Thanks
    15
    Thanked 11 Times in 11 Posts

    So many fonts!

    Hi all,
    I have 236 fonts in my Fonts folder. Many of these are crazy looking and I would never choose them for anything I write so - can I delete the ones I don't want without anything bad happening? Are some or most of these fonts used by Web pages? This may sound like a silly question, but I've heard that fonts use up system memory. I don't want to waste memory on needless fonts. Also, I don't have other languages turned on. Has anyone ever dealt with this?

  2. #2
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,421
    Thanks
    33
    Thanked 195 Times in 175 Posts
    The "crazy looking" fonts to which you refer are probably used by languages other than your own.

    If you wish to get rid of non-Latin fonts, there is a BATch file(s) on this web page.
    I was unimpressed by how it was written, and wrote my own version.
    Read through the comments it contains, and perhaps try it!

    Code:
    @echo off
    title %~n0
    echo +----------+
    echo I W7NonLat I  Move the non-Latin fonts from the Windows 7 Fonts directory 
    echo +----------+    to a backup directory C:\Windows\FontsNonLatin
    ::                                                     BATcher  21-22MAR2011         
    echo.
    
    :: WARNING - this BATch file MUST be "run as Administrator" on Windows 7
    ::             which implies using an Elevated Command Prompt,
    ::             since it requires to use the utilities TAKEOWN and ICACLS
    
    :: Origin  heavily reworked from _2mf-1.3.zip -> _2mf-en.bat
    ::         http://www.support-ing.net/how-to-remove-windows-7-non-latin-fonts/
    ::         written by Martin Ihde, http://www.support-ing.de, 
    ::         to whom Many Thanks
    
    :: Function
    ::         for each font name in the non-Latin font-name table below
    ::           check that it is present in the Windows Font directory
    ::           if it needs Take Ownership and Permissions Set with ICACLS *
    ::             then perform these operations
    ::           move the font to the C:\Windows\FontsNonLatin
    ::         end-for 
    
    ::         * this requirement was determined empirically by Martin Ihde
    
    :: Table of non-Latin Fonts in C:\Windows\Fonts
    :: ============================================
    ::   Font Filename   Action:   to-sp-mv = Take Ownership, Set Permissions, Move
    ::   -------------   ------
    ::## ahronbd.ttf     moveonly
    ::## andlso.ttf      moveonly
    ::## angsa.ttf       moveonly
    ::## angsab.ttf      moveonly
    ::## angsai.ttf      moveonly
    ::## angsau.ttf      moveonly
    ::## angsaub.ttf     moveonly
    ::## angsaui.ttf     moveonly
    ::## angsauz.ttf     moveonly
    ::## angsaz.ttf      moveonly
    ::## aparaj.ttf      to-sp-mv
    ::## aparajb.ttf     to-sp-mv
    ::## aparajbi.ttf    to-sp-mv
    ::## aparaji.ttf     to-sp-mv
    ::## arabtype.ttf    moveonly
    ::## batang.ttc      to-sp-mv
    ::## browa.ttf       moveonly
    ::## browab.ttf      moveonly
    ::## browai.ttf      moveonly
    ::## browau.ttf      moveonly
    ::## browaub.ttf     moveonly
    ::## browaui.ttf     moveonly
    ::## browauz.ttf     moveonly
    ::## browaz.ttf      moveonly
    ::## cordia.ttf      moveonly
    ::## cordiab.ttf     moveonly
    ::## cordiai.ttf     moveonly
    ::## cordiau.ttf     moveonly
    ::## cordiaub.ttf    moveonly
    ::## cordiaui.ttf    moveonly
    ::## cordiauz.ttf    moveonly
    ::## cordiaz.ttf     moveonly
    ::## daunpenh.ttf    to-sp-mv
    ::## david.ttf       moveonly
    ::## davidbd.ttf     moveonly
    ::## dokchamp.ttf    to-sp-mv
    ::## ebrima.ttf      to-sp-mv
    ::## ebrimabd.ttf    to-sp-mv
    ::## estre.ttf       to-sp-mv
    ::## euphemia.ttf    to-sp-mv
    ::## frank.ttf       moveonly
    ::## gautami.ttf     to-sp-mv
    ::## gautamib.ttf    to-sp-mv
    ::## gisha.ttf       moveonly
    ::## gishabd.ttf     moveonly
    ::## gulim.ttc       to-sp-mv
    ::## himalaya.ttf    to-sp-mv
    ::## iskpota.ttf     to-sp-mv
    ::## iskpotab.ttf    to-sp-mv
    ::## kaiu.ttf        moveonly
    ::## kalinga.ttf     to-sp-mv
    ::## kalingab.ttf    to-sp-mv
    ::## kartika.ttf     to-sp-mv
    ::## kartikab.ttf    to-sp-mv
    ::## khmerui.ttf     to-sp-mv
    ::## khmeruib.ttf    to-sp-mv
    ::## kokila.ttf      to-sp-mv
    ::## kokilab.ttf     to-sp-mv
    ::## kokilabi.ttf    to-sp-mv
    ::## kokilai.ttf     to-sp-mv
    ::## laoui.ttf       to-sp-mv
    ::## laouib.ttf      to-sp-mv
    ::## latha.ttf       to-sp-mv
    ::## lathab.ttf      to-sp-mv
    ::## leelawad.ttf    moveonly
    ::## leelawdb.ttf    moveonly
    ::## lvnm.ttf        moveonly
    ::## lvnmbd.ttf      moveonly
    ::## majalla.ttf     moveonly
    ::## majallab.ttf    moveonly
    ::## malgun.ttf      to-sp-mv
    ::## malgunbd.ttf    to-sp-mv
    ::## mangal.ttf      to-sp-mv
    ::## mangalb.ttf     to-sp-mv
    ::## meiryo.ttc      to-sp-mv
    ::## meiryob.ttc     to-sp-mv
    ::## mingliu.ttc     to-sp-mv
    ::## mingliub.ttc    to-sp-mv
    ::## monbaiti.ttf    to-sp-mv
    ::## moolbor.ttf     moveonly
    ::## mriam.ttf       moveonly
    ::## mriamc.ttf      moveonly
    ::## msgothic.ttc    to-sp-mv
    ::## msjh.ttf        to-sp-mv
    ::## msjhbd.ttf      to-sp-mv
    ::## msmincho.ttc    to-sp-mv
    ::## msmincho.ttf    to-sp-mv
    ::## msyh.ttf        to-sp-mv
    ::## msyhbd.ttf      to-sp-mv
    ::## msyi.ttf        to-sp-mv
    ::## mvboli.ttf      to-sp-mv
    ::## nrkis.ttf       moveonly
    ::## ntailu.ttf      to-sp-mv
    ::## ntailub.ttf     to-sp-mv
    ::## nyala.ttf       to-sp-mv
    ::## phagspa.ttf     to-sp-mv
    ::## phagspab.ttf    to-sp-mv
    ::## plantc.ttf      to-sp-mv
    ::## raavi.ttf       to-sp-mv
    ::## raavib.ttf      to-sp-mv
    ::## rod.ttf         moveonly
    ::## shonar.ttf      to-sp-mv
    ::## shonarb.ttf     to-sp-mv
    ::## shruti.ttf      to-sp-mv
    ::## shrutib.ttf     to-sp-mv
    ::## simfang.ttf     moveonly
    ::## simkai.ttf      moveonly
    ::## simsun.ttc      to-sp-mv
    ::## simsunb.ttf     to-sp-mv
    ::## sylfaen.ttf     to-sp-mv
    ::## taile.ttf       to-sp-mv
    ::## taileb.ttf      to-sp-mv
    ::## tunga.ttf       to-sp-mv
    ::## tungab.ttf      to-sp-mv
    ::## upcdb.ttf       moveonly
    ::## upcdbi.ttf      moveonly
    ::## upcdi.ttf       moveonly
    ::## upcdl.ttf       moveonly
    ::## upceb.ttf       moveonly
    ::## upcebi.ttf      moveonly
    ::## upcei.ttf       moveonly
    ::## upcel.ttf       moveonly
    ::## upcfb.ttf       moveonly
    ::## upcfbi.ttf      moveonly
    ::## upcfi.ttf       moveonly
    ::## upcfl.ttf       moveonly
    ::## upcib.ttf       moveonly
    ::## upcibi.ttf      moveonly
    ::## upcii.ttf       moveonly
    ::## upcil.ttf       moveonly
    ::## upcjb.ttf       moveonly
    ::## upcjbi.ttf      moveonly
    ::## upcji.ttf       moveonly
    ::## upcjl.ttf       moveonly
    ::## upckb.ttf       moveonly
    ::## upckbi.ttf      moveonly
    ::## upcki.ttf       moveonly
    ::## upckl.ttf       moveonly
    ::## upclb.ttf       moveonly
    ::## upclbi.ttf      moveonly
    ::## upcli.ttf       moveonly
    ::## upcll.ttf       moveonly
    ::## utsaah.ttf      to-sp-mv
    ::## utsaahb.ttf     to-sp-mv
    ::## utsaahbi.ttf    to-sp-mv
    ::## utsaahi.ttf     to-sp-mv
    ::## vani.ttf        to-sp-mv
    ::## vanib.ttf       to-sp-mv
    ::## vijaya.ttf      to-sp-mv
    ::## vijayab.ttf     to-sp-mv
    ::## vrinda.ttf      to-sp-mv
    ::## vrindab.ttf     to-sp-mv
    ::  end of table of non-Latin fonts in Windows 7 Fonts directory
    
    setlocal
    :: set up a log file so we can later see what happened
    set log=%~dpn0.log
    if exist %log% del %log%
    ::----------
    
    :: Test whether this BATch file / Command Prompt
    ::   in running in Elevated mode (as Administrator) or Normal mode
    :: Method (applicable to Windows 7, and maybe Vista)
    ::   try to write a zero-byte file to a system directory
    ::     if successful, we are in Elevated mode and delete this file
    ::     if unsuccessful, avoid the "Access is denied" message
    
    :: arbitrary choice of system directory and filename
    set tst="%windir%\$del_me$"
    
    :: the first brackets are required to avoid getting the message,
    ::   even though 2 is redirected to nul.  (no, I don't know why.)
    (type nul>%tst%) 2>nul && (del %tst% & set elev=t) || (set elev=)
    
    if not defined elev (
      echo %~n0: we are NOT running as Administrator/in Elevated mode >> %log%
      echo %~n0:   so can only check presence of non-latin font files >> %log%
      echo %~n0: we are NOT running as Administrator/in Elevated mode
      echo %~n0:   so can only check presence of non-latin font files
      ping -n 11 127.0.0.1 > nul
    )
    ::----------
    
    :: set up a variable to contain 80 hyphens, to be written to log
    set line=-------------------------------------------
    set line=%line%-------------------------------------
    
    :: set up the target backup directory for the non-latin fonts
    set target=%windir%\FontsNonLatin
    
    :: bypass error message if it's already set up, eg on a previous run
    md "%target%" 2>nul
    
    :: process each non-latin font file in the above table, one at a time
    for /f "tokens=2-3" %%a in ('findstr /b "::##" "%~f0"') do call :process %%a %%b
    :: translation:
    ::   in this BATch file "%~f0", find the next line starting (/b) with "::##",
    ::   and send the second and third tokens to the ":process" subroutine
    ::   continue this until no more lines are found, then drop through
    
    :: display in notepad what has been done
    call notepad %log%
    
    :: terminate
    endlocal
    goto :eof
    ::----------------------------------------------------------------------------
    
    :process  the fontname and action from a single table line
    set fontname=%1
    set action=%2
    
    :: indicate on the console which font is being processed
    echo %~n0: processing font file %fontname% ...
    
    :: check on the presence of the font file in the Windows Fonts directory
    if exist %windir%\Fonts\%fontname% (
      rem when present, write delimiter line and information
      echo %line% >> %log% 
      echo %~n0: %fontname% is in %windir%\Fonts;  action will be %action% >> %log% 
    ) else (
      echo %~n0: %fontname% was NOT found in %windir%\Fonts >> %log%    
      rem don't bother with anything else for this file
      goto :eof
    )  
    
    :: attempt nothing more if this batch file is not running in elevated mode
    if not defined elev goto :eof
    
    :: if the font needs Take Ownership and ICACLS to set security permissions
    ::   do those actions
    if /i "%action%"=="to-sp-mv" (
      rem take ownership
      takeown /f %windir%\Fonts\%fontname% >>%log%
      echo %~n0: TakeOwn errorlevel was %errorlevel% >> %log%
      rem assign security permissions
      icacls %windir%\Fonts\%fontname% /grant administrators:F /t  >> %log%
      echo %~n0: ICACLS  errorlevel was %errorlevel% >> %log%
      )
      
    :: always move the font file to the backup subdirectory
    move "%windir%\Fonts\%fontname%" "%target%\%fontname%" >> %log%
    echo %~n0: Move    errorlevel was %errorlevel% >> %log%
     
    goto :eof
    BATcher

    Time prevents everything happening all at once...

  3. #3
    3 Star Lounger
    Join Date
    Nov 2012
    Location
    Maryland, USA
    Posts
    362
    Thanks
    15
    Thanked 11 Times in 11 Posts
    Thanks Batcher. The writing for the name of some of the fonts are Arabic, Crillic, Korean, etc., but the actual fonts themselves are normal alphabet letters like we use in English. I was just wondering if I need to keep all these 236 fonts when so many look alike, and some look cartoonish. I was thinking to do what I did with Win 98 and make a folder called "Font Storage", and copy unwanted, unneeded fonts there rather than delete them. Then if no program or website needs them I'd get rid of them. Does this sound like an okay idea for Win 7?

  4. #4
    Super Moderator CLiNT's Avatar
    Join Date
    Dec 2009
    Location
    California & Arizona
    Posts
    6,121
    Thanks
    160
    Thanked 609 Times in 557 Posts
    You will NOT be wasting memory on needless fonts, only drive space, and on todays hardware that will be largely irrelevant.
    Only fonts that are actually in active use take up system memory/resources, and those are quite miniscule at that.
    What you can do is move the ones you currently don't use off the drive, but be careful not to move/remove the ones the operating
    system uses.

    Backup the entire Windows font folder by copying them to another drive or storage medium prior to deleting/removing your choices.

    How to Delete Fonts in Windows 7 and Windows 8
    How to Hide Fonts in Windows 7 That You Don't Use
    DRIVE IMAGING
    Invest a little time and energy in a well thought out BACKUP regimen and you will have minimal down time, and headache.

    Build your own system; get everything you want and nothing you don't.
    Latest Build:
    ASUS X99 Deluxe, Core i7-5960X, Corsair Hydro H100i, Plextor M6e 256GB M.2 SSD, Corsair DOMINATOR Platinum 32GB DDR4@2666, W8.1 64 bit,
    EVGA GTX980, Seasonic PLATINUM-1000W PSU, MountainMods U2-UFO Case, and 7 other internal drives.

  5. #5
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,421
    Thanks
    33
    Thanked 195 Times in 175 Posts
    I quote from my BATch file:

    "Move the non-Latin fonts from the Windows 7 Fonts directory to a backup directory C:\Windows\FontsNonLatin"

    which should do what you want...
    BATcher

    Time prevents everything happening all at once...

  6. The Following User Says Thank You to BATcher For This Useful Post:

    androo (2014-06-13)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •