Home
last modified time | relevance | path

Searched refs:subrs (Results 1 – 25 of 27) sorted by relevance

12

/external/fonttools/Lib/fontTools/subset/
Dcff.py62 subrs = getattr(gl.private, "Subrs", [])
63 decompiler = _ClosureGlyphsT2Decompiler(components, subrs, gl.globalSubrs)
156 def subset_subroutines(self, subrs, gsubrs): argument
161 p[i-1] = subrs._used.index(p[i-1] + subrs._old_bias) - subrs._new_bias
209 for subrs in [localSubrs, globalSubrs]:
210 if subrs and not hasattr(subrs, "_used"):
211 subrs._used = set()
482 subrs = getattr(c.private, "Subrs", [])
483 decompiler = _DesubroutinizingT2Decompiler(subrs, c.globalSubrs, c.private)
530 subrs = getattr(c.private, "Subrs", [])
[all …]
/external/fonttools/Lib/fontTools/t1Lib/
D__init__.py96 subrs = self.font["Private"]["Subrs"]
100 subrs=subrs)
101 for i in range(len(subrs)):
102 charString, R = eexec.decrypt(subrs[i], 4330)
103 subrs[i] = psCharStrings.T1CharString(charString[lenIV:], subrs=subrs)
/external/freetype/src/type1/
Dt1gload.c244 decoder.subrs = type1->subrs; in T1_Compute_Max_Advance()
322 decoder.subrs = type1->subrs; in T1_Get_Advances()
431 decoder.subrs = type1->subrs; in T1_Load_Glyph()
Dt1load.h48 PS_TableRec subrs; member
Dt1load.c1607 PS_Table table = &loader->subrs; in parse_subrs()
2387 T1_Release_Table( &loader->subrs ); in t1_done_loader()
2519 if ( loader.subrs.init ) in T1_Open_Face()
2522 type1->subrs_block = loader.subrs.block; in T1_Open_Face()
2523 type1->subrs = loader.subrs.elements; in T1_Open_Face()
2524 type1->subrs_len = loader.subrs.lengths; in T1_Open_Face()
2528 loader.subrs.init = 0; in T1_Open_Face()
Dt1driver.c368 if ( ok && type1->subrs ) in t1_ps_get_font_value()
373 ft_memcpy( value, (void *)( type1->subrs[idx] ), retval - 1 ); in t1_ps_get_font_value()
Dt1objs.c246 FT_FREE( type1->subrs ); in T1_Face_Done()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py793 def __init__(self, pen, subrs): argument
795 self.subrs = subrs
860 subr = self.subrs[subrIndex]
963 subrs = getattr(self.private, "Subrs", [])
964 decompiler = self.decompilerClass(subrs, self.globalSubrs, self.private)
968 subrs = getattr(self.private, "Subrs", [])
969 extractor = self.outlineExtractor(pen, subrs, self.globalSubrs,
1140 def __init__(self, bytecode=None, program=None, subrs=None): argument
1145 self.subrs = subrs
1167 extractor = T1OutlineExtractor(pen, self.subrs)
[all …]
/external/freetype/src/cid/
Dcidload.c524 if ( FT_NEW_ARRAY( face->subrs, cid->num_dicts ) ) in cid_read_subrs()
527 subr = face->subrs; in cid_read_subrs()
628 if ( face->subrs ) in cid_read_subrs()
632 if ( face->subrs[n].code ) in cid_read_subrs()
633 FT_FREE( face->subrs[n].code[0] ); in cid_read_subrs()
635 FT_FREE( face->subrs[n].code ); in cid_read_subrs()
637 FT_FREE( face->subrs ); in cid_read_subrs()
Dcidobjs.c212 if ( face->subrs ) in cid_face_done()
219 CID_Subrs subr = face->subrs + n; in cid_face_done()
229 FT_FREE( face->subrs ); in cid_face_done()
Dcidgload.c146 CID_Subrs cid_subrs = face->subrs + fd_select; in cid_load_glyph()
152 decoder->subrs = cid_subrs->code; in cid_load_glyph()
/external/freetype/include/freetype/internal/
Dt1types.h114 FT_Byte** subrs; member
245 CID_Subrs subrs; member
Dpsaux.h964 FT_Byte** subrs; member
/external/harfbuzz_ng/src/
Dhb-subset-cff-common.hh749 …bool encode_subrs (const ParsedCStrs &subrs, const SubrRemap& remap, unsigned int fd, StrBuffArray… in encode_subrs()
755 for (unsigned int old_num = 0; old_num < subrs.len; old_num++) in encode_subrs()
760 if (unlikely (!encode_str (subrs[old_num], fd, buffArray[new_num]))) in encode_subrs()
791 ParsedCStrs &subrs, unsigned int subr_num, in drop_hints_in_subr()
795 bool has_hint = drop_hints_in_str (subrs[subr_num], param, drop); in drop_hints_in_subr()
886 unsigned int subr_num, ParsedCStrs &subrs, in collect_subr_refs_in_subr()
891 collect_subr_refs_in_str (subrs[subr_num], param); in collect_subr_refs_in_subr()
Dhb-cff-interp-cs-common.hh67 subrs = &subrs_; in init()
79 unsigned int get_count () const { return (subrs == nullptr)? 0: subrs->count; } in get_count()
84 if (unlikely ((subrs == nullptr) || index >= subrs->count)) in operator []()
87 return (*subrs)[index]; in operator []()
92 const SUBRS *subrs; member
Dhb-subset-cff2.cc213 CFF2BiasedSubrs& subrs, hb_set_t *closure) in process_call_subr()
216 env.callSubr (subrs, type); in process_call_subr()
Dhb-subset-cff1.cc383 CFF1BiasedSubrs& subrs, hb_set_t *closure) in process_call_subr()
386 env.callSubr (subrs, type); in process_call_subr()
/external/freetype/src/psaux/
Dt1decode.c1473 zone->base = decoder->subrs[idx]; in t1_decoder_parse_charstrings()
1482 zone->limit = decoder->subrs[idx + 1]; in t1_decoder_parse_charstrings()
Dpsobjs.c2439 ps_decoder->locals = t1_decoder->subrs; in ps_decoder_init()
/external/freetype/
DChangeLog.27902 The `subrs' keyword might erroneously occur multiple times.
1171 [psaux] Fix handling of invalid flex subrs.
DChangeLog.20457 * src/cid/cidobjs.c (CID_Face_Done): Fixed a memory leak; the subrs
DChangeLog.283069 subrs.
/external/fonttools/
DNEWS.rst36 Also, fixed desubroutinizing bug when subrs contain hints (#1499).
DPKG-INFO453 Also, fixed desubroutinizing bug when subrs contain hints (#1499).
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO453 Also, fixed desubroutinizing bug when subrs contain hints (#1499).

12