Browse Source

* Regenerated fonts and reactivated them under Win32.

tags/v0.99.beta14
Sam Hocevar sam 19 years ago
parent
commit
c5d74fb9f7
3 changed files with 911 additions and 786 deletions
  1. +2
    -6
      cucul/font.c
  2. +305
    -256
      cucul/font_mono9.h
  3. +604
    -524
      cucul/font_monobold12.h

+ 2
- 6
cucul/font.c View File

@@ -39,10 +39,8 @@
#include "cucul_internals.h" #include "cucul_internals.h"


/* Internal fonts */ /* Internal fonts */
#if !defined(USE_WIN32)
#include "font_mono9.h" #include "font_mono9.h"
#include "font_monobold12.h" #include "font_monobold12.h"
#endif


/* Helper structures for font loading */ /* Helper structures for font loading */
#if !defined(_DOXYGEN_SKIP_ME) #if !defined(_DOXYGEN_SKIP_ME)
@@ -127,12 +125,10 @@ cucul_font_t *cucul_load_font(void const *data, unsigned int size)


if(size == 0) if(size == 0)
{ {
#if !defined(USE_WIN32)
if(!strcasecmp(data, "Monospace 9")) if(!strcasecmp(data, "Monospace 9"))
return cucul_load_font(mono9_data, mono9_size); return cucul_load_font((char *)&mono9_data, mono9_size);
if(!strcasecmp(data, "Monospace Bold 12")) if(!strcasecmp(data, "Monospace Bold 12"))
return cucul_load_font(monobold12_data, monobold12_size); return cucul_load_font((char *)&monobold12_data, monobold12_size);
#endif


#if defined(HAVE_ERRNO_H) #if defined(HAVE_ERRNO_H)
errno = ENOENT; errno = ENOENT;


+ 305
- 256
cucul/font_mono9.h
File diff suppressed because it is too large
View File


+ 604
- 524
cucul/font_monobold12.h
File diff suppressed because it is too large
View File


||||||
x
 
000:0
Loading…
Cancel
Save