maximilionus / freetype-envision

FreeType font rendering library adjustments to improve visibility on the Linux platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Carefully tuned adjustments for the font rendering software library FreeType, designed to improve visibility and refine appearance on the Linux platform.

You can find demo images to compare the changes here.

Basic Usage

Install

  1. Download the latest release here and unpack it to any user available location.
  2. Open the terminal in the unpacked directory.
  3. Run the command below, root required:
    $ sudo ./freetype-envision.sh install
  4. Reboot.

Remove

  1. Run the command below, root required:
    $ sudo ./freetype-envision.sh remove
  2. Reboot.

Modes

Currently, there are several configuration presets with different levels of safety. Normal preset is considered least likely to cause visual errors in the user's environment and is therefore used by default, while the Full one tries to maximize the readability of the rendering for all the font drivers and options, at the cost of severe distortions in the rendering of some elements.

  • Configurations in profile.d

    • Stem-darkening (embolden) for drivers

      Normal Full
      autofitter Yes Yes
      type1 Yes Yes
      t1cid Yes Yes
      cff No Yes
    • Stem-darkening enabled for the small font sizes

      Normal Full
      No Yes
  • Configurations in fontconfig

    • Enforce grayscale antialiasing (disable sub-pixel)
      Normal Full
      Yes Yes

Normal mode

Used by default if no second argument provided.

# Install
$ sudo ./freetype-envision.sh install normal

# Remove
$ sudo ./freetype-envision.sh remove normal

Full mode

# Install
$ sudo ./freetype-envision.sh install full

# Remove
$ sudo ./freetype-envision.sh remove full

About

FreeType font rendering library adjustments to improve visibility on the Linux platform

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%