summaryrefslogtreecommitdiff
path: root/third_party/freetype-py/freetype/ft_enums/tt_adobe_ids.py
blob: 40e243c51cc87d3279008a05a27538d4c152d41a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/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 valid values for the 'encoding_id' for TT_PLATFORM_ADOBE
charmaps. This is a FreeType-specific extension!

TT_ADOBE_ID_STANDARD	

  Adobe standard encoding.


TT_ADOBE_ID_EXPERT	

  Adobe expert encoding.


TT_ADOBE_ID_CUSTOM	

  Adobe custom encoding.


TT_ADOBE_ID_LATIN_1	

  Adobe Latin 1 encoding.
"""

TT_ADOBE_IDS = {
    'TT_ADOBE_ID_STANDARD' : 0,
    'TT_ADOBE_ID_EXPERT'   : 1,
    'TT_ADOBE_ID_CUSTOM'   : 2,
    'TT_ADOBE_ID_LATIN_1'  : 3 }
globals().update(TT_ADOBE_IDS)