Remove public API of the branch
This commit is contained in:
parent
551fa2d200
commit
0ad8c663e0
|
@ -48,8 +48,8 @@ HB_BEGIN_DECLS
|
||||||
|
|
||||||
/* Methods */
|
/* Methods */
|
||||||
|
|
||||||
HB_EXTERN hb_bool_t
|
// HB_EXTERN hb_bool_t
|
||||||
hb_ot_base_has_data (hb_face_t *face);
|
// hb_ot_base_has_data (hb_face_t *face);
|
||||||
|
|
||||||
HB_END_DECLS
|
HB_END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_BASE_TABLE_HH
|
#ifndef HB_OT_LAYOUT_BASE_TABLE_HH
|
||||||
#define HB_OT_BASE_TABLE_HH
|
#define HB_OT_LAYOUT_BASE_TABLE_HH
|
||||||
|
|
||||||
#include "hb-open-type-private.hh"
|
#include "hb-open-type-private.hh"
|
||||||
#include "hb-ot-layout-common-private.hh"
|
#include "hb-ot-layout-common-private.hh"
|
||||||
|
@ -796,4 +796,4 @@ struct BASE
|
||||||
} /* namespace OT */
|
} /* namespace OT */
|
||||||
|
|
||||||
|
|
||||||
#endif /* HB_OT_BASE_TABLE_HH */
|
#endif /* HB_OT_LAYOUT_BASE_TABLE_HH */
|
||||||
|
|
|
@ -222,13 +222,13 @@ _hb_ot_layout_destroy (hb_ot_layout_t *layout)
|
||||||
free (layout);
|
free (layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const OT::BASE&
|
// static inline const OT::BASE&
|
||||||
_get_base (hb_face_t *face)
|
// _get_base (hb_face_t *face)
|
||||||
{
|
// {
|
||||||
if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::BASE);
|
// if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::BASE);
|
||||||
hb_ot_layout_t * layout = hb_ot_layout_from_face (face);
|
// hb_ot_layout_t * layout = hb_ot_layout_from_face (face);
|
||||||
return *(layout->base.get ());
|
// return *(layout->base.get ());
|
||||||
}
|
// }
|
||||||
|
|
||||||
static inline const OT::GDEF&
|
static inline const OT::GDEF&
|
||||||
_get_gdef (hb_face_t *face)
|
_get_gdef (hb_face_t *face)
|
||||||
|
@ -1283,21 +1283,19 @@ hb_ot_layout_substitute_lookup (OT::hb_ot_apply_context_t *c,
|
||||||
* OT::BASE
|
* OT::BASE
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if 0
|
// /**
|
||||||
/**
|
// * hb_ot_base_has_data:
|
||||||
* hb_ot_base_has_data:
|
// * @face: #hb_face_t to test
|
||||||
* @face: #hb_face_t to test
|
// *
|
||||||
*
|
// * This function allows to verify the presence of an OpenType BASE table on the
|
||||||
* This function allows to verify the presence of an OpenType BASE table on the
|
// * face.
|
||||||
* face.
|
// *
|
||||||
*
|
// * Return value: true if face has a BASE table, false otherwise
|
||||||
* Return value: true if face has a BASE table, false otherwise
|
// *
|
||||||
*
|
// * Since: XXX
|
||||||
* Since: XXX
|
// **/
|
||||||
**/
|
// hb_bool_t
|
||||||
hb_bool_t
|
// hb_ot_base_has_data (hb_face_t *face)
|
||||||
hb_ot_base_has_data (hb_face_t *face)
|
// {
|
||||||
{
|
// return &_get_base (face) != &OT::Null(OT::BASE);
|
||||||
return &_get_base (face) != &OT::Null(OT::BASE);
|
// }
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue