Changeset 862 for libcaca


Ignore:
Timestamp:
Apr 24, 2006, 10:55:46 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • On win32, only disable the built-in fonts, not all the font functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/font.c

    r861 r862  
    1919#include "common.h"
    2020
    21 #if !defined(USE_WIN32)
    2221#if !defined(__KERNEL__)
    2322#   if defined(HAVE_ENDIAN_H)
     
    3837
    3938/* Internal fonts */
     39#if !defined(USE_WIN32)
    4040#include "font_mono9.h"
    4141#include "font_monobold12.h"
     42#endif
    4243
    4344/* Helper structures for font loading */
     
    119120    if(size == 0)
    120121    {
     122#if !defined(USE_WIN32)
    121123        if(!strcasecmp(data, "Monospace 9"))
    122124            return cucul_load_font(mono9_data, mono9_size);
    123125        if(!strcasecmp(data, "Monospace Bold 12"))
    124126            return cucul_load_font(monobold12_data, monobold12_size);
     127#endif
    125128
    126129        return NULL;
     
    441444 */
    442445
    443 #endif
Note: See TracChangeset for help on using the changeset viewer.