Coverage Report

Created: 2026-05-16 09:25

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/workdir/UnpackedTarball/harfbuzz/src/hb-subset-table-layout.cc
Line
Count
Source
1
#include "hb-subset-table.hh"
2
3
#include "hb-ot-layout-gdef-table.hh"
4
#include "hb-ot-layout-gsub-table.hh"
5
#include "hb-ot-layout-gpos-table.hh"
6
#include "hb-ot-layout-base-table.hh"
7
#include "hb-ot-math-table.hh"
8
9
bool _hb_subset_table_layout    (hb_subset_plan_t *plan, hb_vector_t<char> &buf, hb_tag_t tag, bool *success)
10
70.1k
{
11
70.1k
#ifndef HB_NO_SUBSET_LAYOUT
12
70.1k
  switch (tag)
13
70.1k
  {
14
0
  case HB_TAG('G','D','E','F'): *success = _hb_subset_table<const OT::GDEF> (plan, buf); return true;
15
0
  case HB_TAG('G','S','U','B'): *success = _hb_subset_table<const OT::Layout::GSUB> (plan, buf); return true;
16
0
  case HB_TAG('G','P','O','S'): *success = _hb_subset_table<const OT::Layout::GPOS> (plan, buf); return true;
17
0
  case HB_TAG('B','A','S','E'): *success = _hb_subset_table<const OT::BASE> (plan, buf); return true;
18
0
  case HB_TAG('M','A','T','H'): *success = _hb_subset_table<const OT::MATH> (plan, buf); return true;
19
70.1k
  }
20
70.1k
#endif
21
70.1k
  return false;
22
70.1k
}