Roxen.git/
server/
font_handlers/
old.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-03-23
2001-03-23 03:13:19 by Per Hedbor <ph@opera.com>
6dea54d4c699fec4ddad0804013c7d2d2f29eb45 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed [Bug
1358 (#1358)
]
Rev: server/font_handlers/old.pike:1.9
2:
// Copyright © 1996 - 2000, Roxen IS. #include <config.h>
-
constant cvs_version = "$Id: old.pike,v 1.
8
2001/
02
/
02
06
:
59
:
04
nilsson
Exp $";
+
constant cvs_version = "$Id: old.pike,v 1.
9
2001/
03
/
23
03
:
13
:
19
per
Exp $";
constant name = "Compatibility bitmap fonts"; constant doc =
85:
{ string base_dir; array available;
+
if( String.width( name ) > 8 )
+
return 0;
foreach(roxen->query("font_dirs"), string dir) { base_dir = dir+size+"/"+fix_name(name);
116:
Font open( string name, int size, int bold, int italic ) {
+
if( String.width( name ) > 8 )
+
return 0;
string f = make_font_name( name, size, bold, italic ); Image.Font fn = MyFont(); foreach( roxen->query( "font_dirs"), string dir )