gfx/harfbuzz/src/hb-ot-shape.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/harfbuzz/src/hb-ot-shape.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,54 @@
     1.4 +/*
     1.5 + * Copyright © 2013  Red Hat, Inc.
     1.6 + *
     1.7 + *  This is part of HarfBuzz, a text shaping library.
     1.8 + *
     1.9 + * Permission is hereby granted, without written agreement and without
    1.10 + * license or royalty fees, to use, copy, modify, and distribute this
    1.11 + * software and its documentation for any purpose, provided that the
    1.12 + * above copyright notice and the following two paragraphs appear in
    1.13 + * all copies of this software.
    1.14 + *
    1.15 + * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
    1.16 + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
    1.17 + * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
    1.18 + * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
    1.19 + * DAMAGE.
    1.20 + *
    1.21 + * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
    1.22 + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
    1.23 + * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
    1.24 + * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
    1.25 + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
    1.26 + *
    1.27 + * Red Hat Author(s): Behdad Esfahbod
    1.28 + */
    1.29 +
    1.30 +#ifndef HB_OT_SHAPE_H
    1.31 +#define HB_OT_SHAPE_H
    1.32 +#define HB_OT_SHAPE_H_IN
    1.33 +
    1.34 +#include "hb.h"
    1.35 +
    1.36 +#include "hb-ot-layout.h"
    1.37 +#include "hb-ot-tag.h"
    1.38 +
    1.39 +HB_BEGIN_DECLS
    1.40 +
    1.41 +/* TODO port to shape-plan / set. */
    1.42 +void
    1.43 +hb_ot_shape_glyphs_closure (hb_font_t          *font,
    1.44 +                hb_buffer_t        *buffer,
    1.45 +                const hb_feature_t *features,
    1.46 +                unsigned int        num_features,
    1.47 +                hb_set_t           *glyphs);
    1.48 +
    1.49 +void
    1.50 +hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan,
    1.51 +                hb_tag_t         table_tag,
    1.52 +                hb_set_t        *lookup_indexes /* OUT */);
    1.53 +
    1.54 +HB_END_DECLS
    1.55 +
    1.56 +#undef HB_OT_SHAPE_H_IN
    1.57 +#endif /* HB_OT_SHAPE_H */

mercurial