< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.h

Print this page




  99 /* See notes on hb_ft_face_create().  Same issues re lifecycle-management
 100  * apply here.  Use hb_ft_font_create_referenced() if you can. */
 101 HB_EXTERN hb_font_t *
 102 hb_ft_font_create (FT_Face           ft_face,
 103                    hb_destroy_func_t destroy);
 104 
 105 /* See notes on hb_ft_face_create_referenced() re lifecycle-management
 106  * issues. */
 107 HB_EXTERN hb_font_t *
 108 hb_ft_font_create_referenced (FT_Face ft_face);
 109 
 110 HB_EXTERN FT_Face
 111 hb_ft_font_get_face (hb_font_t *font);
 112 
 113 HB_EXTERN void
 114 hb_ft_font_set_load_flags (hb_font_t *font, int load_flags);
 115 
 116 HB_EXTERN int
 117 hb_ft_font_get_load_flags (hb_font_t *font);
 118 
 119 /* Makes an hb_font_t use FreeType internally to implement font functions. */






 120 HB_EXTERN void
 121 hb_ft_font_set_funcs (hb_font_t *font);
 122 
 123 
 124 HB_END_DECLS
 125 
 126 #endif /* HB_FT_H */


  99 /* See notes on hb_ft_face_create().  Same issues re lifecycle-management
 100  * apply here.  Use hb_ft_font_create_referenced() if you can. */
 101 HB_EXTERN hb_font_t *
 102 hb_ft_font_create (FT_Face           ft_face,
 103                    hb_destroy_func_t destroy);
 104 
 105 /* See notes on hb_ft_face_create_referenced() re lifecycle-management
 106  * issues. */
 107 HB_EXTERN hb_font_t *
 108 hb_ft_font_create_referenced (FT_Face ft_face);
 109 
 110 HB_EXTERN FT_Face
 111 hb_ft_font_get_face (hb_font_t *font);
 112 
 113 HB_EXTERN void
 114 hb_ft_font_set_load_flags (hb_font_t *font, int load_flags);
 115 
 116 HB_EXTERN int
 117 hb_ft_font_get_load_flags (hb_font_t *font);
 118 
 119 /* Call when size or variations settings on underlying FT_Face change. */
 120 HB_EXTERN void
 121 hb_ft_font_changed (hb_font_t *font);
 122 
 123 /* Makes an hb_font_t use FreeType internally to implement font functions.
 124  * Note: this internally creates an FT_Face.  Use it when you create your
 125  * hb_face_t using hb_face_create(). */
 126 HB_EXTERN void
 127 hb_ft_font_set_funcs (hb_font_t *font);
 128 
 129 
 130 HB_END_DECLS
 131 
 132 #endif /* HB_FT_H */
< prev index next >