@@ -79,30 +79,30 @@ typedef struct {
7979static PyTypeObject Font_Type ;
8080
8181typedef struct {
82- void * raqm ;
83- raqm_t * (* create )(void );
84- int (* set_text )(raqm_t * rq ,
82+ void * raqm ;
83+ raqm_t * (* create )(void );
84+ int (* set_text )(raqm_t * rq ,
8585 const uint32_t * text ,
8686 size_t len );
87- bool (* set_text_utf8 ) (raqm_t * rq ,
87+ bool (* set_text_utf8 ) (raqm_t * rq ,
8888 const char * text ,
8989 size_t len );
90- bool (* set_par_direction ) (raqm_t * rq ,
91- raqm_direction_t dir );
92- bool (* add_font_feature ) (raqm_t * rq ,
93- const char * feature ,
94- int len );
95- bool (* set_freetype_face ) (raqm_t * rq ,
96- FT_Face face );
97- bool (* layout ) (raqm_t * rq );
98- raqm_glyph_t * (* get_glyphs ) (raqm_t * rq ,
90+ bool (* set_par_direction ) (raqm_t * rq ,
91+ raqm_direction_t dir );
92+ bool (* add_font_feature ) (raqm_t * rq ,
93+ const char * feature ,
94+ int len );
95+ bool (* set_freetype_face ) (raqm_t * rq ,
96+ FT_Face face );
97+ bool (* layout ) (raqm_t * rq );
98+ raqm_glyph_t * (* get_glyphs ) (raqm_t * rq ,
9999 size_t * length );
100100 void (* destroy ) (raqm_t * rq );
101101
102102} p_raqm_func ;
103103
104104static p_raqm_func p_raqm ;
105-
105+
106106
107107/* round a 26.6 pixel coordinate to the nearest larger integer */
108108#define PIXEL (x ) ((((x)+63) & -64)>>6)
0 commit comments