Debian Codegraph @

pycontrib/FontCompare/README.md

raw symbols SCIP
1 FontCompare
2 ===========
3
4 To implement a tool for improving the aesthetic quality of fonts of Indic scripts
5
6 Project Abstract
7 ----------------
8
9 There are a lot of fonts for Roman scripts but when it comes to fonts for Indic scripts like Devanagari, Bengali, Telugu, there is a dearth of good quality Open Type fonts. This tool would facilitate in providing tests enabling Font developers to contribute more to Open Type Indic fonts.
10
11 This project is part of Google Summer of Code 2013.
12
13 Student Name: Mayank Jha
14
15 Mentor: Shreyank Gupta
16
17 Melange URL: http://www.google-melange.com/gsoc/project/google/gsoc2013/mjnovice/42001
18
19 How to Install and Run the application:
20
21 A) Installation
22
23 1. Change into the folder containing the source.
24
25 2. As this is a fontforge utility so to be able to use it you need to
26 install the fontforge bindings for python onto your system.
27
28 Run the required command on the terminal as given below
29
30 For Debian based Linux distros:
31
32 sudo apt-get install python-fontforge
33
34 For Redhat based Linux distros:
35
36 yum install fontforge-python
37
38 You also need to install PyQt4 separately, as currently the setuptools
39 does not support automatic detection and installation of Python bindings
40 for Qt.
41
42 The commands for the installation:
43
44 For Debian based Linux distros:
45
46 sudo apt-get install python-qt4
47
48 For Redhat based Linux distros:
49
50 yum install pyqt4
51
52 3. Run "sudo python setup.py install" from the shell prompt, supply the
53 password if prompted for.
54
55 B) Running
56 From the shell prompt, type in "fontcompare" and you would be able to
57 run and use the application.
58
59 C) How to Use:
60 The very basic feature of Font Compare is to compare two fonts based
61 on their glyphs, bearing, size and many other factors.
62
63 Basic Usage Steps:
64 i) Click on "Load Test font" button , which would load the font to be
65 tested.
66
67 ii) Now click on the "Begin Test!" button to run the various tests.
68
69 You can see that the detailed glyph wise test results can be viewed
70 in the lower right corner, whereas categorised scored based on the
71 degree of similarity can be seen graphically in the upper part of the
72 GUI.
73
74 This branch of FontCompare compares the fonts, with a preset values
75 of standards and bitmaps, implemented using the concept of mockfonts.
76
77 NOTE:: Support for the user to be able to generate these mockfonts as
78 standards at will, would be added soon. The reason I chose to create
79 mockfonts, is that it would prevent the need for the user to download
80 standard fonts separately, as it was used to be done in the master
81 branch, although it does occupy a bit more memory but works smoother.