Ignore:
Timestamp:
Sep 27, 2008, 3:12:46 PM (11 years ago)
Author:
Sam Hocevar
Message:

Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/tools/makefont.c

    r2819 r2821  
    3131#include <pango/pangoft2.h>
    3232
    33 #include "cucul.h"
     33#include "caca.h"
    3434
    3535/* Split our big strings into chunks of 480 characters, because it is
     
    167167        glyphs += blocklist[b + 1] - blocklist[b];
    168168        for(i = blocklist[b]; i < blocklist[b + 1]; i++)
    169             if(cucul_utf32_is_fullwidth(i))
     169            if(caca_utf32_is_fullwidth(i))
    170170                fullglyphs++;
    171171    }
     
    178178
    179179    /* Let's go! */
    180     printf("/* libcucul font file\n");
     180    printf("/* libcaca font file\n");
    181181    printf(" * \"%s\": %i dpi, %i bpp, %ix%i/%ix%i glyphs\n",
    182182           font, dpi, bpp, stdwidth, height, fullwidth, height);
     
    232232            unsigned int k, current_size = stdsize;
    233233
    234             if(cucul_utf32_is_fullwidth(i))
     234            if(caca_utf32_is_fullwidth(i))
    235235            {
    236236                current_width = fullwidth;
     
    238238            }
    239239            gtab[n].unicode = i;
    240             bytes = cucul_utf32_to_utf8(gtab[n].buf, gtab[n].unicode);
     240            bytes = caca_utf32_to_utf8(gtab[n].buf, gtab[n].unicode);
    241241            gtab[n].buf[bytes] = '\0';
    242242
Note: See TracChangeset for help on using the changeset viewer.