[GSUB/GPOS] Remove unused get_coverage() methods

This commit is contained in:
Behdad Esfahbod 2012-08-01 21:56:35 -04:00
parent 1336ecdf8e
commit 0120ce9679
2 changed files with 0 additions and 22 deletions

View File

@ -1500,17 +1500,6 @@ struct PosLookup : Lookup
inline const PosLookupSubTable& get_subtable (unsigned int i) const
{ return this+CastR<OffsetArrayOf<PosLookupSubTable> > (subTable)[i]; }
inline const Coverage *get_coverage (void) const
{
/* Only return non-NULL if there's just one Coverage table we care about. */
const Coverage *c = &get_subtable (0).get_coverage (get_type ());
unsigned int count = get_subtable_count ();
for (unsigned int i = 1; i < count; i++)
if (c != &get_subtable (i).get_coverage (get_type ()))
return NULL;
return c;
}
template <typename set_t>
inline void add_coverage (set_t *glyphs) const
{

View File

@ -1154,17 +1154,6 @@ struct SubstLookup : Lookup
get_subtable (i).closure (c, lookup_type);
}
inline const Coverage *get_coverage (void) const
{
/* Only return non-NULL if there's just one Coverage table we care about. */
const Coverage *c = &get_subtable (0).get_coverage (get_type ());
unsigned int count = get_subtable_count ();
for (unsigned int i = 1; i < count; i++)
if (c != &get_subtable (i).get_coverage (get_type ()))
return NULL;
return c;
}
template <typename set_t>
inline void add_coverage (set_t *glyphs) const
{