chiark / gitweb /
It seems that the "yen" glyph is almost always drawn with two horizontal
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 3 Oct 2009 17:31:42 +0000 (18:31 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 3 Oct 2009 17:31:42 +0000 (18:31 +0100)
strokes.  After some experimentation, here's a new version that has that
and doesn't look too horrid.

ttxt.c

diff --git a/ttxt.c b/ttxt.c
index bbb700aeb2af779477cd2727783579b9726a09e4..608a65a30769c17b086367a7ea306b75a9b57ffc 100644 (file)
--- a/ttxt.c
+++ b/ttxt.c
@@ -141,7 +141,7 @@ struct glyph {
  {{004,004,004,004,004,004,004,000,000,000}, 0x007c, "bar" },
  {{004,000,004,004,004,004,004,000,000,000}, 0x00a1, "exclamdown" },
  {{000,004,017,024,024,024,017,004,000,000}, 0x00a2, "cent" },
- {{021,021,012,004,016,004,004,000,000,000}, 0x00a5, "yen" },
+ {{021,012,037,004,037,004,004,000,000,000}, 0x00a5, "yen" },
  {{017,020,016,021,016,001,036,000,000,000}, 0x00a7, "section" },
  {{022,000,000,000,000,000,000,000,000,000}, 0x00a8, "dieresis" },
  {{037,000,000,000,000,000,000,000,000,000}, 0x00af, "macron" },