hb-fontations.h (1715B)
1 /* 2 * This is part of HarfBuzz, a text shaping library. 3 * 4 * Permission is hereby granted, without written agreement and without 5 * license or royalty fees, to use, copy, modify, and distribute this 6 * software and its documentation for any purpose, provided that the 7 * above copyright notice and the following two paragraphs appear in 8 * all copies of this software. 9 * 10 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 11 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 12 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 13 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 14 * DAMAGE. 15 * 16 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 17 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 18 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 19 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 20 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 21 * 22 * Author(s): Behdad Esfahbod 23 */ 24 25 #ifndef HB_FONTATIONS_H 26 #define HB_FONTATIONS_H 27 28 #include "hb.h" 29 30 /** 31 * SECTION: hb-fontations 32 * @title: hb-fontations 33 * @short_description: Fontations integration 34 * @include: hb-fontations.h 35 * 36 * Functions for using HarfBuzz with 37 * [Fontations](https://github.com/googlefonts/fontations/) fonts. 38 **/ 39 40 HB_BEGIN_DECLS 41 42 /** 43 * hb_fontations_font_set_funcs: 44 * @font: #hb_font_t to work upon 45 * 46 * Configures the font-functions structure of the specified #hb_font_t font 47 * object to use Fontations font functions. 48 * 49 * Since: 11.0.0 50 **/ 51 HB_EXTERN void 52 hb_fontations_font_set_funcs (hb_font_t *font); 53 54 HB_END_DECLS 55 56 #endif /* HB_FONTATIONS_H */