chiark / gitweb /
Add an appropriate GaspTable, even if I haven't seen anything pay
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 6 Oct 2009 22:40:26 +0000 (23:40 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 6 Oct 2009 22:40:26 +0000 (23:40 +0100)
attention to it yet.

ttxt.c

diff --git a/ttxt.c b/ttxt.c
index 7262d877ceb9e206b63c312cb6167ada53daf962..7b54da1e490567201be4af64c7ed2a2177d4f74c 100644 (file)
--- a/ttxt.c
+++ b/ttxt.c
@@ -545,6 +545,8 @@ main(int argc, char **argv)
        printf(" StdHW 5 [100]\n");
        printf(" StdVW 5 [100]\n");
        printf("EndPrivate\n");
+       /* Force monochrome at 10 and 20 pixels, and greyscale elsewhere. */
+       printf("GaspTable: 5 9 2 10 0 19 3 20 0 65535 3\n");
        printf("Lookup: 1 0 0 \"smcp: lower-case to small caps\" {\"smcp\"} "
            "['smcp' ('latn' <'dflt'>)]\n");
        printf("Lookup: 1 0 0 \"c2sc: upper-case to small caps\" {\"c2sc\"} "