From 8605b7a430259a0470e23d263a2834a390a5b4d7 Mon Sep 17 00:00:00 2001 From: Eric Soroos Date: Fri, 22 Sep 2017 18:29:52 +0000 Subject: [PATCH] untabify --- _imagingft.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/_imagingft.c b/_imagingft.c index b3dcfd17b..a81dbdbb4 100644 --- a/_imagingft.c +++ b/_imagingft.c @@ -79,30 +79,30 @@ typedef struct { static PyTypeObject Font_Type; typedef struct { - void* raqm; - raqm_t* (*create)(void); - int (*set_text)(raqm_t *rq, + void* raqm; + raqm_t* (*create)(void); + int (*set_text)(raqm_t *rq, const uint32_t *text, size_t len); - bool (*set_text_utf8) (raqm_t *rq, + bool (*set_text_utf8) (raqm_t *rq, const char *text, size_t len); - bool (*set_par_direction) (raqm_t *rq, - raqm_direction_t dir); - bool (*add_font_feature) (raqm_t *rq, - const char *feature, - int len); - bool (*set_freetype_face) (raqm_t *rq, - FT_Face face); - bool (*layout) (raqm_t *rq); - raqm_glyph_t* (*get_glyphs) (raqm_t *rq, + bool (*set_par_direction) (raqm_t *rq, + raqm_direction_t dir); + bool (*add_font_feature) (raqm_t *rq, + const char *feature, + int len); + bool (*set_freetype_face) (raqm_t *rq, + FT_Face face); + bool (*layout) (raqm_t *rq); + raqm_glyph_t* (*get_glyphs) (raqm_t *rq, size_t *length); void (*destroy) (raqm_t *rq); } p_raqm_func; static p_raqm_func p_raqm; - + /* round a 26.6 pixel coordinate to the nearest larger integer */ #define PIXEL(x) ((((x)+63) & -64)>>6)