- memcpy(row2, row, sizeof(float)*(width+1));
- memcpy(column2, column, sizeof(float)*(height+1));
- //draw_char(f, t, row2, column2, bounds);
+ //memcpy(column, column_global, sizeof(float)*(height+1));
+
+ memset(column, 0, sizeof(float)*(height+1));
+ int s;
+ int drawn = 0;
+ printf("[font %d] pairing %c with ", f->id, f->glyph2ascii[t]);
+ for(s=0;s<f->use->num_neighbors;s++) {
+ if(f->use->neighbors[s].char2 == t) {
+ printf("%c (%d) ", f->glyph2ascii[f->use->neighbors[s].char1], f->use->neighbors[s].num);
+ draw_char(f, f->use->neighbors[s].char1, row, column, bounds);
+ drawn++;
+ }
+ }
+ printf("\n");
+
+ for(s=0;s<=height;s++) {
+ column[t] /= drawn*2;
+ }
+
+ memset(row, 0, sizeof(float)*(width+1));
+ draw_char(f, t, row, column, bounds);