FontRegister is a small Windows utility to install fonts and/or repair the font registry via commandline.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FontRegister
.gitignore
FontRegister.sln
LICENSE
README.md

README.md

FontRegister

FontRegisteris a small Windows utility to install fonts and/or repair the font registry via commandline.
This library wraps http://code.kliu.org/misc/fontreg/ with a more flowing api.

Supported font types: fon, ttf, ttc, otf.

Usage

//Will start a commandline interface:
fontregister
//View all available commands:
fontregister --help
//Perform registry cleanup and font repair:
fontregister --cleanup
fontregister --clear
//Register fonts in the following folders or specific file/s:
//Note: Folders are deep-searched recusively.
fontregister "c:/folder" "c:/font.ttf" "./relativedir/" "./relativedir/font.otf" 

Help

Heres the output of help command:

--cleanup / --clear:
        Will remove any stale font registrations in the registry.
        Will repair any missing font registrations for fonts located in the C:\Windows\Fonts directory(this step
        will be skipped for .fon fonts if FontReg cannot determine which
        fonts should have "hidden" registrations).
"c:/path1" "c:/font.ttf" ... "./relativedir/"
        Will add or replace a font from given path/folder.
        Note: Folders are deep-searched recusively.