summaryrefslogtreecommitdiff
path: root/third_party/freetype-py/freetype/ft_enums/ft_lcd_filters.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/freetype-py/freetype/ft_enums/ft_lcd_filters.py')
-rw-r--r--third_party/freetype-py/freetype/ft_enums/ft_lcd_filters.py51
1 files changed, 0 insertions, 51 deletions
diff --git a/third_party/freetype-py/freetype/ft_enums/ft_lcd_filters.py b/third_party/freetype-py/freetype/ft_enums/ft_lcd_filters.py
deleted file mode 100644
index 355b190..0000000
--- a/third_party/freetype-py/freetype/ft_enums/ft_lcd_filters.py
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-# -----------------------------------------------------------------------------
-#
-# FreeType high-level python API - Copyright 2011-2012 Nicolas P. Rougier
-# Distributed under the terms of the new BSD license.
-#
-# -----------------------------------------------------------------------------
-
-"""
-A list of values to identify various types of LCD filters.
-
-
-FT_LCD_FILTER_NONE
-
- Do not perform filtering. When used with subpixel rendering, this results in
- sometimes severe color fringes.
-
-
-FT_LCD_FILTER_DEFAULT
-
- The default filter reduces color fringes considerably, at the cost of a
- slight blurriness in the output.
-
-
-FT_LCD_FILTER_LIGHT
-
- The light filter is a variant that produces less blurriness at the cost of
- slightly more color fringes than the default one. It might be better,
- depending on taste, your monitor, or your personal vision.
-
-
-FT_LCD_FILTER_LEGACY
-
- This filter corresponds to the original libXft color filter. It provides high
- contrast output but can exhibit really bad color fringes if glyphs are not
- extremely well hinted to the pixel grid. In other words, it only works well
- if the TrueType bytecode interpreter is enabled and high-quality hinted fonts
- are used.
-
- This filter is only provided for comparison purposes, and might be disabled
- or stay unsupported in the future.
-"""
-
-FT_LCD_FILTERS = {'FT_LCD_FILTER_NONE' : 0,
- 'FT_LCD_FILTER_DEFAULT' : 1,
- 'FT_LCD_FILTER_LIGHT' : 2,
- 'FT_LCD_FILTER_LEGACY' : 16}
-globals().update(FT_LCD_FILTERS)
-
-