Roxen.git/
server/
font_handlers/
builtin.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-02-01
2001-02-01 09:43:14 by Per Hedbor <ph@opera.com>
d2d4bfd33605b4731a51133a5b69a37e40ac3c36 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Do not try to use lock->lock when running without threads
Rev: server/font_handlers/builtin.pike:1.8
4:
#else inherit "ttf"; #endif
-
constant cvs_version = "$Id: builtin.pike,v 1.
7
2000
/
12
/
11
12
:
49
:
58
per Exp $";
+
constant cvs_version = "$Id: builtin.pike,v 1.
8
2001
/
02
/
01
09
:
43
:
14
per Exp $";
constant name = "Builtin fonts"; constant doc = "Fonts included in pike (and roxen)";
66:
{ case "roxenbuiltin": #if constant(__rbf) && constant(grbf)
+
#ifdef THREADS
object key = lock->lock();
-
+
#endif
#if constant(Image.FreeType.Face) if( !roxenbuiltin ) catch(roxenbuiltin = grbf()); if( roxenbuiltin ) return FTFont( roxenbuiltin, size, "-" );