Roxen.git/
server/
font_handlers/
builtin.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2005-02-25
2005-02-25 16:11:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>
6d837a4d703a3e328ca34c0574b661d278e2c388 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Disabled roxenbuiltin in personal edition.
Rev: server/font_handlers/builtin.pike:1.15
7:
#else inherit "ttf"; #endif
-
constant cvs_version = "$Id: builtin.pike,v 1.
14
2004
/
06
/
30
16:
58
:
48
mast
Exp $";
+
constant cvs_version = "$Id: builtin.pike,v 1.
15
2005
/
02
/
25
16:
11
:
14
grubba
Exp $";
constant name = "Builtin fonts"; constant doc = "Fonts included in pike (and roxen)";
69:
switch( replace(lower_case(name)," ","_")-"_" ) { case "roxenbuiltin":
+
Configuration conf = roxen->current_configuration->get();
+
License.Key license_key = conf && conf->getvar("license")->get_key();
+
if (license_key && license_key->type() == "personal")
+
return Image.Font();
#if constant(__rbf) && constant(grbf) #ifdef THREADS object key = lock->lock();