Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
<HTML>
3
<HEAD>
4
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
5
<LINK REL="Start" HREF="index.html">
6
<LINK REL="Contents" HREF="toc.html">
7
<LINK REL="Prev" HREF="473Specifyingfonts.html">
8
<LINK REL="Next" HREF="475UnderstandingtextalignmentinJpGraph.html">
9
<STYLE TYPE="text/css"><!--
10
BODY { font-family: serif }
11
H1 { font-family: sans-serif }
12
H2 { font-family: sans-serif }
13
H3 { font-family: sans-serif }
14
H4 { font-family: sans-serif }
15
H5 { font-family: sans-serif }
16
H6 { font-family: sans-serif }
17
SUB { font-size: smaller }
18
SUP { font-size: smaller }
19
PRE { font-family: monospace }
20
A { text-decoration: none }
21
--></STYLE>
22
</HEAD>
23
<BODY>
24
<A HREF="toc.html">Contents</A>
25
<A HREF="473Specifyingfonts.html">Previous</A>
26
<A HREF="475UnderstandingtextalignmentinJpGraph.html">Next</A>
27
<HR NOSHADE>
28
<H3><A NAME="4_7_4">4.7.4 Adding additional fonts to JpGraph</A></H3>
29
<P><STRONG> Note:</STRONG> This information is only given here for very
30
 advanced users. No free support will be given in the case you run into
31
 difficulties trying to add new fonts. At the moment adding new fonts
32
 require code modifications as outlined below.</P>
33
<P> In order to add you favorite fonts there are three steps you need to
34
 follow :</P>
35
<OL>
36
<LI> Define a new &quot;FF_&quot; constant naming your font family with a suitable
37
 high index number</LI>
38
<LI>Get the TTF file(s) and add it to your font directory. You need
39
 separate files for each of the styles you want to support. You then
40
 need to add the file names of the font as definitions in the class TTF.
41
 Use the previous defined &quot;FF_&quot; name as index in the font specification
42
 array.</LI>
43
</OL>
44
<P></P>
45
<HR NOSHADE>
46
<A HREF="toc.html">Contents</A>
47
<A HREF="473Specifyingfonts.html">Previous</A>
48
<A HREF="475UnderstandingtextalignmentinJpGraph.html">Next</A>
49
</BODY>
50
</HTML>