sponsor Vim development Vim logo Vim Book Ad

fontdetect : Detect installed fonts

 script karma  Rating 0/0, Downloaded by 219    Comments, bugs, improvements  Vim wiki

created by
Michael Henry
 
script type
utility
 
description
fontdetect helps Vim detect which fonts are installed on the system.
It works around limitations in Vim's getfontname() function.

For example (using GTK2 GUI)::

    if fontdetect#hasFontFamily("DejaVu Sans Mono")
        let &guifont = "DejaVu Sans Mono 14"
    endif

At present, the following platforms are supported:

- Linux (using GTK2 GUI)
- Windows
- Mac OS X

See documentation in doc/fontdetect.txt for installation instructions.

Developed by Michael Henry (vim at drmikehenry.com).

Distributed under Vim's license.

Git repository:   https://github.com/drmikehenry/vim-fontdetect
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
fontdetect-0.2.2.zip 0.2.2 2013-10-03 7.0 Michael Henry Documentation reorganization.
vim-fontdetect-0.2.1.zip 0.2.1 2013-09-23 7.0 Michael Henry Restore cpoptions correctly.
vim-fontdetect-0.2.0.zip 0.2.0 2013-09-17 7.0 Michael Henry Initial upload
ip used for rating: 54.197.215.146

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo