X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxdevice.h;h=181d0b9b93c9ad44240759d460b667b8bd8d3727;hb=395359a0831639fcc30aab4ea897e23ff8ab420c;hp=2e508bf6b92bf8bd60ec1397f143b9ead2697650;hpb=fc815311aa1bd67877b404493838dfd85a86f596;p=swftools.git 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