-#define FONTALIGN_THIN
-#define FONTALIGN_MEDIUM
-#define FONTALIGN_THICK
-
-void swf_FontCreateAlignZones(SWFFONT * f)
-{
- if(f->alignzones)
- return;
-
- f->alignzones = (ALIGNZONE*)rfx_calloc(sizeof(ALIGNZONE)*f->numchars);
- f->alignzone_flags = 0; // thin
-
- if(!f->layout) {
- int t;
- for(t=0;t<f->numchars;t++) {
- // just align the baseline
- f->alignzones[t].x = 0xffff;
- f->alignzones[t].y = 0;
- f->alignzones[t].dx = 0xffff;
- f->alignzones[t].dy = 0xffff;//floatToF16(460.80 / 1024.0);
- }
- } else {
- int t;
- for(t=0;t<f->numchars;t++) {
- // just align the baseline
- f->alignzones[t].x = 0xffff;
- f->alignzones[t].y = 0;
- f->alignzones[t].dx = 0xffff;
- f->alignzones[t].dy = 0xffff;//floatToF16(460.80 / 1024.0);
- }
- }
-
-/*
- "-^_~\xad\xaf+`\xac\xb7\xf7" //chars for which to detect one y value
- "#=:;\xb1" //chars for which to detect two y values
- "\"\xa8" //chars for which to detect two x values
-*/
-}
-
-