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

  /external/fonttools/Lib/fontTools/subset/
cff.py 62 subrs = getattr(gl.private, "Subrs", [])
63 decompiler = _ClosureGlyphsT2Decompiler(components, subrs, gl.globalSubrs)
156 def subset_subroutines(self, subrs, gsubrs):
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")
    [all...]
  /external/fonttools/Lib/fontTools/t1Lib/
__init__.py 96 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/include/freetype/internal/
t1types.h 114 FT_Byte** subrs; member in struct:T1_FontRec_
245 CID_Subrs subrs; member in struct:CID_FaceRec_
psaux.h 681 FT_UInt* locals_len; /* array of subrs length (optional) */
964 FT_Byte** subrs; member in struct:T1_DecoderRec_
965 FT_UInt* subrs_len; /* array of subrs length (optional) */
    [all...]
  /external/freetype/src/type1/
t1load.h 48 PS_TableRec subrs; member in struct:T1_Loader_
t1gload.c 244 decoder.subrs = type1->subrs;
322 decoder.subrs = type1->subrs;
431 decoder.subrs = type1->subrs;
t1load.c 39 * charstrings, and subrs; they are handled with a special pattern
    [all...]
t1driver.c 368 if ( ok && type1->subrs )
373 ft_memcpy( value, (void *)( type1->subrs[idx] ), retval - 1 );
t1objs.c 246 FT_FREE( type1->subrs );
  /external/freetype/src/cid/
cidload.c 509 /* read the subrmap and the subrs of each font dict */
524 if ( FT_NEW_ARRAY( face->subrs, cid->num_dicts ) )
527 subr = face->subrs;
580 FT_ERROR(( "cid_read_subrs: too large `subrs' offsets\n" ));
585 /* now, compute the size of subrs charstrings, */
628 if ( face->subrs )
632 if ( face->subrs[n].code )
633 FT_FREE( face->subrs[n].code[0] );
635 FT_FREE( face->subrs[n].code );
637 FT_FREE( face->subrs );
    [all...]
cidobjs.c 211 /* release subrs */
212 if ( face->subrs )
219 CID_Subrs subr = face->subrs + n;
229 FT_FREE( face->subrs );
cidgload.c 143 /* Now set up the subrs array and parse the charstrings. */
146 CID_Subrs cid_subrs = face->subrs + fd_select;
150 /* Set up subrs */
152 decoder->subrs = cid_subrs->code;
  /external/fonttools/Lib/fontTools/misc/
psCharStrings.py 793 def __init__(self, pen, subrs):
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
    [all...]
  /external/harfbuzz_ng/src/
hb-subset-cff-common.hh 617 template <typename SUBSETTER, typename SUBRS, typename ACC, typename ENV, typename OPSET>
713 /* after dropping hints recreate closures of actually used subrs */
749 bool encode_subrs (const ParsedCStrs &subrs, const SubrRemap& remap, unsigned int fd, StrBuffArray &buffArray) const
755 for (unsigned int old_num = 0; old_num < subrs.len; old_num++)
760 if (unlikely (!encode_str (subrs[old_num], fd, buffArray[new_num])))
791 ParsedCStrs &subrs, unsigned int subr_num,
795 bool has_hint = drop_hints_in_str (subrs[subr_num], param, drop);
886 unsigned int subr_num, ParsedCStrs &subrs,
891 collect_subr_refs_in_str (subrs[subr_num], param);
969 typedef typename SUBRS::count_type subr_count_type
    [all...]
hb-cff-interp-cs-common.hh 62 template <typename SUBRS>
65 void init (const SUBRS &subrs_)
67 subrs = &subrs_;
79 unsigned int get_count () const { return (subrs == nullptr)? 0: subrs->count; }
84 if (unlikely ((subrs == nullptr) || index >= subrs->count))
87 return (*subrs)[index];
92 const SUBRS *subrs; member in struct:CFF::BiasedSubrs
    [all...]
hb-subset-cff2.cc 213 CFF2BiasedSubrs& subrs, hb_set_t *closure)
216 env.callSubr (subrs, type);
288 /* Flatten global & local subrs */
299 /* Subset subrs: collect used subroutines, leaving all unused ones behind */
303 /* encode charstrings, global subrs, local subrs with new subroutine numbers */
310 /* global subrs */
315 /* local subrs */
340 /* global subrs */
391 /* private dicts & local subrs */
    [all...]
hb-subset-cff1.cc 383 CFF1BiasedSubrs& subrs, hb_set_t *closure)
386 env.callSubr (subrs, type);
684 /* Flatten global & local subrs */
695 /* Subset subrs: collect used subroutines, leaving all unused ones behind */
699 /* encode charstrings, global subrs, local subrs with new subroutine numbers */
706 /* global subrs */
713 /* local subrs */
740 /* global subrs */
792 /* private dicts & local subrs */
    [all...]
  /external/freetype/src/psaux/
t1decode.c     [all...]
psobjs.c     [all...]

Completed in 835 milliseconds