| 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="46Alternativestostreamingbacktheimage.html">
|
|
|
8 |
<LINK REL="Next" HREF="471InstallingTrueTypefonts.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="46Alternativestostreamingbacktheimage.html">Previous</A>
|
|
|
26 |
<A HREF="471InstallingTrueTypefonts.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H2><A NAME="4_7">4.7 Working with fonts in JpGraph</A></H2>
|
|
|
29 |
<P> JpGraph supports both a set of built in bit-mapped fonts as well as
|
|
|
30 |
True Type Fonts. For scale values on axis it is strongly recommended
|
|
|
31 |
that you just use the built in bitmap fonts for the simple reason that
|
|
|
32 |
they are, for most people, easier to read (they are also quicker to
|
|
|
33 |
render). Try to use TTF only for headlines and perhaps the title for a
|
|
|
34 |
graph and it's axis. By default the TTF will be drawn with
|
|
|
35 |
anti-aliasing turned on.</P>
|
|
|
36 |
<P> In many of the example you can see examples of both TrueType and
|
|
|
37 |
Bitmap fonts.</P>
|
|
|
38 |
<P> There are a number of subtle differences in the way builtin fonts
|
|
|
39 |
and TrueType fonts are rendered to the screen. However, JpGraph,
|
|
|
40 |
abstracts away 99.9% of the differences so it will be, for the user,
|
|
|
41 |
completely transparent to switch between the different fonts.</P>
|
|
|
42 |
<HR NOSHADE>
|
|
|
43 |
<A HREF="toc.html">Contents</A>
|
|
|
44 |
<A HREF="46Alternativestostreamingbacktheimage.html">Previous</A>
|
|
|
45 |
<A HREF="471InstallingTrueTypefonts.html">Next</A>
|
|
|
46 |
</BODY>
|
|
|
47 |
</HTML>
|