blob: d880bbcf75d28225f00b945bba9dbe086aab6af4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
TODO: Generate HTML page for detailed comparison
---------------------------------------------------------------------
INSTRUCTIONS
NOTE: One version of FreeType is referred as "base" version and the
other as the "test" version.
1. Get the two versions ready
-------------------------------------
Make two folders named "test" and "base" preferably in the home
directory.
Next, download an older version of FreeType (For example : 2.6.5)
( This being the "test" version of the two)
Go to 'include/freetype/ftoption.h' and uncomment this line
#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
2. Install the two versions
-------------------------------------
Go to the "test" version's folder and change the default
installation directory to the "test" folder created.
./configure --prefix=<path>
Compile and install the library
make
make install
Repeat step 2. for the "base" version as well.
3. Compile the code
-------------------------------------
Return to this folder and make the binary
make
(set resolution in DPI by passing argument
example: make DPI=100, if not specified,default is 72)
3. Run the executable
-------------------------------------
./sprite <a> <b> <font_file> <pt_size> <render_mode>
<a> is the libfreetype.so from the base vesion.
<b> is the libfreetype.so from the test vesion.
( <a> and <b> are in <base/test version's installation folder>/lib/ )
( The path to these should be absolute. )
Open index.html for "list-view"
---------------------------------------------------------------------
FEATURES
Generates sprite sheets in the ./images folder.
Generates "list-view" web-page i.e index.html
By clicking on the Headers of the respective columns,they can be
arranged (in increasing/decreasing order) based on
-> Glyph-Index
-> Name
-> Difference Metric
|