Debian Codegraph @

README.md

raw
1 Gayathri Malayalam Typeface
2 ===========================
3 A gentle and modern Malayalam display typeface. Available in three weights, Gayathri is best suited for headlines, posters, titles and captions. Unicode compliant and libre licensed.
4
5 * **Design**: Binoy Dominic
6 * **Opentype engineering**: Kavya Manohar
7 * **Project coordination**: Santhosh Thottingal
8
9 This project was financially supported by [Kerala Bhasha Institute](https://www.keralabhashainstitute.org/)
10
11 Gayathri is part of [Swathanthra Malayalam Computing projects' Malayalam typefaces](https://smc.org.in/fonts)
12
13 Gayathri has wide coverage of Malayalam orthography with a total of 1116 glyphs including basic latin and punctuations. It comes with three weights: Regular, Bold and Thin.
14
15 Release announcement: [Malayalam](https://blog.smc.org.in/gayathri-malayalam-font-release/), [English](https://thottingal.in/blog/2019/02/21/gayathri-new-malayalam-typeface/)
16
17 ![GitHub Logo](docs/Gayathri_1200x630.jpg)
18
19 Building from source
20 --------------------
21 1. Install the python libraries required for build script:
22 ```
23 pip3 install -r requirements.txt
24 ```
25 2. Build the otf
26 ```
27 make
28 ```
29
30 If you want to build ttf use `make ttf`. For webfonts, use `make webfonts`.
31
32 Testing
33 -------
34 For testing use `make test`. You will require Font-Validator from https://github.com/HinTak/Font-Validator/ for testing. Also hb-view from harfbuzz package.
35
36 Development
37 -----------
38 Following development workflow is used for this typeface
39 1. Designer produces SVG files with correct dimensions in the 2048em size. Commits to the repository
40 2. Typeface Engineers prepared a big configuration file containing svg file name to UFO glif mapping. See sources/design/config. It has left, right bearings, glyph width, base position in em canvas, unicode value and glyph name.
41 3. Typeface Engineers execute a script `make ufo` to prepare or update the UFO from the svgs.
42 1. `Make ufo` first executes tools/import-svg-to-ufo.py to convert the svg to a UFO glif file. It uses the configuration for the svg defined in sources/design/config
43 2. `Make ufo` then executes `ufonormalizer` to clean up the UFO and do various normalization
44 3. Finally `ufolint` is executed to lint the UFO.
45 4. Typeface engineers construct the glyphs that use components(references) using a UFO editor like `trufont`
46 5. `make otf` Generates the OTF font
47 6. `make test` Generates a PDF with sample content for manual visual inspection.
48 7. Webfonts, TTF are also generated.
49 8. Gitlab CI pipeline executes `make otf ttf webfonts` and uploads the webfonts to a Gitlab pages so that a demo webpage is also prepared. From this pipeline results the generated font can also be downloaded.
50
51 Credits
52 -------
53
54 See FONTLOG.md for details on contributions.
55
56 License
57 -------
58 Licensed under the SIL Open Font License, Version 1.1. https://scripts.sil.org/OFL