SebastianMeisel / fontpreview-mode

Reimplementation of fontpreview in elisp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FONTPREVIEW MODE

This tries to be a reimplementation of sdushantha/fontpreview by Siddharth Dushantha in Elisp using helm instead of fzf.

fontpreview.gif

You can browse the fonts installed on your system and show a preview, copy the font name or path and set the frame font.

Installation

Fontpreview-mode depends on imagemagick, which is probably already installed on you system. It also depends on helm.

Clone the repository or just download fontpreview-mode.el and put it in the load-path.

Put the following somewhere in your .emacs file.

(require 'fontpreview-mode)

Usage

Just run M-x fontpreview to run fontpreview.

Customization

You can customize the text-sample, foreground- and background-color and font-size used for the preview. The variables are:

  • fontpreview-preview-text
  • fontpreview-foreground-color
  • fontpreview-background-color
  • fontpreview-font-size

About

Reimplementation of fontpreview in elisp.

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%