Coverage Report

Created: 2026-03-31 11:00

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
72.2k
{
11
72.2k
#ifndef HB_NO_SUBSET_LAYOUT
12
72.2k
  switch (tag)
13
72.2k
  {
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
72.2k
  }
20
72.2k
#endif
21
72.2k
  return false;
22
72.2k
}