File: GDL-source-readme.txt

package info (click to toggle)
fonts-evertype-conakry 0.002%2Bsource-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 472 kB
  • sloc: makefile: 2; sh: 1
file content (26 lines) | stat: -rw-r--r-- 1,767 bytes parent folder | download | duplicates (4)
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
The GDL code for the Conakry font consists of the following files:

* conakry.gdl - this is an file auto-generated by running make_gdl over conakry.ttf. It contains glyph definitions and various class defintions. This is the main file that would be passed to the Graphite compiler (grcompiler) to build the Graphite-enabled version of the font. It #includes the other two files.

* conakry_aux.gdh - this contains some hand-crafted definitions that are specific to the conakry font. Currently it contains a flag to indicate whether or not to allow diacritics to be manipulated separately from the base characters, and some glyph metrics that will be used when that option is turned on.

* nko.gdh - this file contains rules that handle the behaviors of the N'Ko script, specifically (1) shaping and (2) diacritic placement. It also includes general-purpose classes to handle diacritics (double-diacritics and Roman diacritics) that are not auto-generated by make_gdl.


To use this set of files as a basis for another N'Ko font:

* Make sure that the Postscript names in the font match those used in Conakry for corresponding glyphs.

* Install the make_gdl utility and run it over the new font as follows:

    perl make_gdl -i newfont_aux.gdh -l last newfont.ttf newfont.gdl

This will create a file called newfont.gdl.

* Make a copy of conakry_aux.gdh and call it newfont_aux.gdh. Any modifications to the behavior should be added to this file.

* Run the Graphite compiler to add Graphite tables to your font:

    grcompiler -d newfont.gdl newfont.ttf

This will create a font called newfont_gr.ttf containing the Graphite tables. the "-d" switch will create a set of debugger files that can be used to debug the behavior of the font.