Changeset 2821 for libcaca/trunk/tools/makefont.c
- Timestamp:
- Sep 27, 2008, 3:12:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/tools/makefont.c
r2819 r2821 31 31 #include <pango/pangoft2.h> 32 32 33 #include "c ucul.h"33 #include "caca.h" 34 34 35 35 /* Split our big strings into chunks of 480 characters, because it is … … 167 167 glyphs += blocklist[b + 1] - blocklist[b]; 168 168 for(i = blocklist[b]; i < blocklist[b + 1]; i++) 169 if(c ucul_utf32_is_fullwidth(i))169 if(caca_utf32_is_fullwidth(i)) 170 170 fullglyphs++; 171 171 } … … 178 178 179 179 /* Let's go! */ 180 printf("/* libc uculfont file\n");180 printf("/* libcaca font file\n"); 181 181 printf(" * \"%s\": %i dpi, %i bpp, %ix%i/%ix%i glyphs\n", 182 182 font, dpi, bpp, stdwidth, height, fullwidth, height); … … 232 232 unsigned int k, current_size = stdsize; 233 233 234 if(c ucul_utf32_is_fullwidth(i))234 if(caca_utf32_is_fullwidth(i)) 235 235 { 236 236 current_width = fullwidth; … … 238 238 } 239 239 gtab[n].unicode = i; 240 bytes = c ucul_utf32_to_utf8(gtab[n].buf, gtab[n].unicode);240 bytes = caca_utf32_to_utf8(gtab[n].buf, gtab[n].unicode); 241 241 gtab[n].buf[bytes] = '\0'; 242 242
Note: See TracChangeset
for help on using the changeset viewer.