HomeSort by relevance Sort by last modified time
    Searched refs:ttLib (Results 1 - 25 of 25) sorted by null

  /external/fonttools/Lib/fontTools/ttLib/tables/
T_S_I__2.py 1 from fontTools import ttLib
3 superclass = ttLib.getTableClass("TSI0")
_p_r_e_p.py 1 from fontTools import ttLib
3 superclass = ttLib.getTableClass("fpgm")
_v_m_t_x.py 1 from fontTools import ttLib
3 superclass = ttLib.getTableClass("hmtx")
T_S_I__3.py 1 from fontTools import ttLib
3 superclass = ttLib.getTableClass("TSI1")
sbixBitmap.py 32 from fontTools import ttLib
33 raise ttLib.TTLibError("No table data to decompile")
36 from fontTools import ttLib
38 raise ttLib.TTLibError("Bitmap header too short.")
55 from fontTools import ttLib
56 raise ttLib.TTLibError("Can't compile bitmap without glyph name")
103 from fontTools import ttLib
104 raise ttLib.TTLibError("can't handle '%s' element" % name)
DefaultTable.py 3 from fontTools.ttLib import getClassTag
34 from fontTools import ttLib
36 raise ttLib.TTLibError("can't handle '%s' element" % name)
sbixBitmapSet.py 32 from fontTools import ttLib
33 raise ttLib.TTLibError
35 from fontTools import ttLib
36 raise(ttLib.TTLibError, "BitmapSet header too short: Expected %x, got %x.") \
127 from fontTools import ttLib
128 raise ttLib.TTLibError("Bitmap must have a glyph name.")
137 from fontTools import ttLib
138 raise ttLib.TTLibError("can't handle '%s' element" % name)
_s_b_i_x.py 90 from fontTools import ttLib
91 raise ttLib.TTLibError("Pixel 'size' must be unique for each BitmapSet")
135 from fontTools import ttLib
136 raise ttLib.TTLibError("can't handle '%s' element" % name)
C_F_F_.py 31 from fontTools import ttLib
32 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
O_S_2f_2.py 116 from fontTools import ttLib
117 raise ttLib.TTLibError("unknown format for OS/2 table: version %s" % self.version)
138 from fontTools import ttLib
139 raise ttLib.TTLibError("unknown format for OS/2 table: version %s" % self.version)
_p_o_s_t.py 3 from fontTools import ttLib
4 from fontTools.ttLib.standardGlyphOrder import standardGlyphOrder
44 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)
58 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)
62 """This function will get called by a ttLib.TTFont instance.
67 raise ttLib.TTLibError("illegal use of getGlyphOrder()")
_g_l_y_f.py 7 from fontTools import ttLib
49 raise ttLib.TTLibError("not enough 'glyf' table data")
123 ttLib.debugmsg("unpacking glyph '%s'" % glyphName)
290 raise ttLib.TTLibError("can't mix composites and contours in glyph")
313 raise ttLib.TTLibError("can't mix composites and contours in glyph")
619 raise ttLib.TTLibError("can't use glyph as sequence")
_k_e_r_n.py 3 from fontTools.ttLib import getSearchRange
_c_m_a_p.py 4 from fontTools.ttLib import getSearchRange
    [all...]
  /external/fonttools/Lib/fontTools/
merge.py 10 from fontTools import ttLib, cffLib
11 from fontTools.ttLib.tables import otTables, _h_e_a_d
12 from fontTools.ttLib.tables.DefaultTable import DefaultTable
155 ttLib.getTableClass('maxp').mergeMap = {
181 ttLib.getTableClass('head').mergeMap = {
202 ttLib.getTableClass('hhea').mergeMap = {
253 ttLib.getTableClass('OS/2').mergeMap = {
278 @_add_method(ttLib.getTableClass('OS/2'))
292 ttLib.getTableClass('post').mergeMap = {
305 ttLib.getTableClass('vmtx').mergeMap = ttLib.getTableClass('hmtx').mergeMap =
    [all...]
inspect.py 10 from fontTools import misc, ttLib, cffLib
26 if isinstance(value, ttLib.TTFont):
62 if isinstance(v, ttLib.TTFont):
78 except (AttributeError, KeyError, TypeError, ttLib.TTLibError):
80 if isinstance(value, ttLib.getTableModule('glyf').Glyph):
100 if isinstance(value, ttLib.tables.DefaultTable.DefaultTable):
237 self.font = ttLib.TTFont(fontfile, lazy=True)
subset.py 12 from fontTools import ttLib
13 from fontTools.ttLib.tables import otTables
    [all...]
ttx.py 71 from fontTools.ttLib import TTFont, TTLibError
  /external/fonttools/Lib/fontTools/misc/
xmlReader.py 3 from fontTools import ttLib
5 from fontTools.ttLib.tables.DefaultTable import DefaultTable
71 tag = ttLib.xmlToTag(name)
76 ttLib.debugmsg(msg)
81 tableClass = ttLib.GlyphOrder
85 tableClass = ttLib.getTableClass(tag)
  /external/fonttools/Lib/fontTools/ttLib/
macUtils.py 0 """ttLib.macUtils.py -- Various Mac-specific stuff."""
44 from fontTools import ttLib
48 fonts.append(ttLib.TTFont(path))
51 fonts.append(ttLib.TTFont(path, index))
53 raise ttLib.TTLibError("no fonts found in file '%s'" % path)
89 from fontTools import ttLib
90 raise ttLib.TTLibError("can't make 'sfnt' resource, no Macintosh 'name' table found")
sfnt.py 0 """ttLib/sfnt.py -- low-level module to deal with the sfnt file format.
8 used automatically by ttLib.TTFont.)
18 from fontTools.ttLib import getSearchRange
37 from fontTools import ttLib
38 raise ttLib.TTLibError("specify a font number between 0 and %d (inclusive)" % (self.numFonts - 1))
53 from fontTools import ttLib
54 raise ttLib.TTLibError("Not a TrueType or OpenType font (bad sfntVersion)")
138 from fontTools import ttLib
139 raise ttLib.TTLibError("cannot rewrite '%s' table: length does not match directory entry" % tag)
173 from fontTools import ttLib
    [all...]
__init__.py 1 """fontTools.ttLib -- a package for dealing with TrueType fonts.
11 >>> from fontTools import ttLib
12 >>> tt = ttLib.TTFont("afont.ttf")
36 >>> tt2 = ttLib.TTFont()
79 case will cause TTLib to autodetect whether the file is a flat file
127 from fontTools.ttLib import sfnt
183 from fontTools.ttLib import sfnt
792 __import__("fontTools.ttLib.tables." + pyTag)
962 from fontTools.ttLib.sfnt import SFNTReader, SFNTWriter
  /external/fonttools/MetaTools/
buildTableList.py 6 from fontTools.ttLib import identifierToTag
12 "Lib", "fontTools", "ttLib", "tables")
  /external/fonttools/Lib/fontTools/pens/
reportLabPen.py 44 from fontTools.ttLib import TTFont
  /frameworks/base/tools/fonts/
fontchain_lint.py 11 from fontTools import ttLib
77 return ttLib.TTFont(font_path, fontNumber=index)
79 return ttLib.TTFont(font_path)

Completed in 222 milliseconds