2001-11-15
2001-11-15 10:49:12 by Anders Johansson <anders@roxen.com>
-
7ff1c0a0bf62a965e6547143ecac7c3dc9c6af2e
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 5.2
Fix [bug 2528 (#2528)]. Failed to compile ttf font handler.
Rev: server/font_handlers/ttf.pike:1.12
4: Inside #if !constant(Image.FreeType.Face) and #if constant(has_Image_TTF)
#if !constant(Image.FreeType.Face)
#if constant(has_Image_TTF)
#include <config.h>
- constant cvs_version = "$Id: ttf.pike,v 1.11 2001/11/14 13:36:09 grubba Exp $";
+ constant cvs_version = "$Id: ttf.pike,v 1.12 2001/11/15 10:49:12 anders Exp $";
constant name = "TTF fonts";
constant doc = "True Type font loader. Uses freetype to render text.";
217: Inside #if !constant(Image.FreeType.Face)
return ({ res });
}
- array(string) has_font( string name, int size, int(0..1) force )
+ array(string) has_font( string name, int size, int(0..1)|void force )
{
#ifdef THREADS
object key = lock->lock();