X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxdevice.h;h=181d0b9b93c9ad44240759d460b667b8bd8d3727;hp=2e508bf6b92bf8bd60ec1397f143b9ead2697650;hb=2ddfa640af28b592ecf4295f0b1b7b43c923f707;hpb=8a9392f5928b02b3c3e90c19816c76461264bc50 diff --git a/lib/gfxdevice.h b/lib/gfxdevice.h index 2e508bf..181d0b9 100644 --- a/lib/gfxdevice.h +++ b/lib/gfxdevice.h @@ -30,6 +30,11 @@ typedef struct _gfxglyph const char*name; } gfxglyph_t; +typedef struct _gfxkerning +{ + int c1,c2,advance; +} gfxkerning_t; + typedef struct _gfxfont { const char*id; @@ -40,6 +45,9 @@ typedef struct _gfxfont gfxglyph_t*glyphs; int* unicode2glyph; + + gfxkerning_t*kerning; + int kerning_size; } gfxfont_t; typedef struct _gfxcolor