constants

class fontbakery.constants.FsSelection(value)[source][source]

An enumeration.

BOLD = 32[source]
ITALIC = 1[source]
NEGATIVE = 4[source]
OBLIQUE = 512[source]
OUTLINED = 8[source]
REGULAR = 64[source]
STRIKEOUT = 16[source]
UNDERSCORE = 2[source]
USETYPOMETRICS = 128[source]
WWS = 256[source]
class fontbakery.constants.GlyphClass(value)[source][source]

An enumeration.

BASE = 1[source]
COMPONENT = 4[source]
LIGATURE = 2[source]
MARK = 3[source]
class fontbakery.constants.IsFixedWidth(value)[source][source]

‘post’ table / isFixedWidth definitions

NOT_MONOSPACED = 0[source]
class fontbakery.constants.MacStyle(value)[source][source]

An enumeration.

BOLD = 1[source]
ITALIC = 2[source]
class fontbakery.constants.MacintoshEncodingID(value)[source][source]

Encoding IDs defined for use with the Macintosh platform (when platID = 1)

ARABIC = 4[source]
ARMENIAN = 24[source]
BENGALI = 13[source]
BURMESE = 19[source]
CHINESE_SIMPLIFIED = 25[source]
CHINESE_TRADITIONAL = 2[source]
DEVANAGARI = 9[source]
GEEZ = 28[source]
GEORGIAN = 23[source]
GREEK = 6[source]
GUJARATI = 11[source]
GURMUKHI = 10[source]
HEBREW = 5[source]
JAPANESE = 1[source]
KANNADA = 16[source]
KHMER = 20[source]
KOREAN = 3[source]
LAOTIAN = 22[source]
MALAYALAM = 17[source]
MONGOLIAN = 27[source]
ORIYA = 12[source]
ROMAN = 0[source]
RSYMBOL = 8[source]
RUSSIAN = 7[source]
SINDHI = 31[source]
SINHALESE = 18[source]
SLAVIC = 29[source]
TAMIL = 14[source]
TELUGU = 15[source]
THAI = 21[source]
TIBETAN = 26[source]
UNINTERPRETED = 32[source]
VIETNAMESE = 30[source]
class fontbakery.constants.MacintoshLanguageID(value)[source][source]

Platform-specific Language IDs assigned by Apple

ENGLISH = 0[source]
class fontbakery.constants.NameID(value)[source][source]

nameID definitions for the name table

COMPATIBLE_FULL_MACONLY = 18[source]
COPYRIGHT_NOTICE = 0[source]
DARK_BACKGROUD_PALETTE = 24[source]
DESCRIPTION = 10[source]
DESIGNER = 9[source]
DESIGNER_URL = 12[source]
FONT_FAMILY_NAME = 1[source]
FONT_SUBFAMILY_NAME = 2[source]
FULL_FONT_NAME = 4[source]
LICENSE_DESCRIPTION = 13[source]
LICENSE_INFO_URL = 14[source]
LIGHT_BACKGROUND_PALETTE = 23[source]
MANUFACTURER_NAME = 8[source]
POSTSCRIPT_CID_NAME = 20[source]
POSTSCRIPT_NAME = 6[source]
SAMPLE_TEXT = 19[source]
TRADEMARK = 7[source]
TYPOGRAPHIC_FAMILY_NAME = 16[source]
TYPOGRAPHIC_SUBFAMILY_NAME = 17[source]
UNIQUE_FONT_IDENTIFIER = 3[source]
VENDOR_URL = 11[source]
VERSION_STRING = 5[source]
WWS_FAMILY_NAME = 21[source]
WWS_SUBFAMILY_NAME = 22[source]
class fontbakery.constants.PANOSE_Proportion(value)[source][source]

An enumeration.

ANY = 0[source]
CONDENSED = 6[source]
EVEN_WIDTH = 4[source]
EXTENDED = 5[source]
MODERN = 3[source]
MONOSPACED = 9[source]
NO_FIT = 1[source]
OLD_STYLE = 2[source]
VERY_CONDENSED = 8[source]
VERY_EXTENDED = 7[source]
class fontbakery.constants.PlatformID(value)[source][source]

An enumeration.

CUSTOM = 4[source]
ISO = 2[source]
MACINTOSH = 1[source]
UNICODE = 0[source]
WINDOWS = 3[source]
class fontbakery.constants.UnicodeEncodingID(value)[source][source]

Unicode platform-specific encoding IDs (when platID == 0)

ISO_IEC_10646 = 2[source]
UNICODE_1_0 = 0[source]
UNICODE_1_1 = 1[source]
UNICODE_2_0_BMP_ONLY = 3[source]
UNICODE_2_0_FULL = 4[source]
UNICODE_FULL = 6[source]
UNICODE_VARIATION_SEQUENCES = 5[source]
class fontbakery.constants.WindowsEncodingID(value)[source][source]

Windows platform-specific encoding IDs (when platID == 3)

BIG5 = 4[source]
JOHAB = 6[source]
PRC = 3[source]
SHIFTJIS = 2[source]
SYMBOL = 0[source]
UNICODE_BMP = 1[source]
UNICODE_FULL_REPERTOIRE = 10[source]
WANSUNG = 5[source]
class fontbakery.constants.WindowsLanguageID(value)[source][source]

Platform-specific Language IDs assigned by Microsoft

ENGLISH_USA = 1033[source]
fontbakery.constants.color(bg, fg, bold=False)[source][source]
fontbakery.constants.no_color(s)[source][source]