mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-30 15:33:25 -04:00
Clip character names to boxes in glyph complement.
Ideally, I'd do something more elegant with over-long glyph names, but at least keeping them in the boxes doesn't look terrible.
This commit is contained in:
parent
6a099893dd
commit
7864d4d1c8
@ -2328,13 +2328,13 @@ glyph_complement()
|
||||
/* unicode glyphname exemplify -- */
|
||||
printf("/exemplify {\n");
|
||||
printf(" xfont setfont dup 14 14 moveto glyphshow\n");
|
||||
printf(" 0 0 moveto 0 40 lineto 40 40 lineto 40 0 lineto closepath\n");
|
||||
printf(" 1 setlinewidth gsave stroke grestore clip\n");
|
||||
printf(" 0.1 setlinewidth\n");
|
||||
printf(" 14 10 moveto 14 30 lineto 26 30 lineto 26 10 lineto\n");
|
||||
printf(" closepath stroke\n");
|
||||
printf(" 20 36 moveto str cvs label\n");
|
||||
printf(" 20 2 moveto label\n");
|
||||
printf(" 0 0 moveto 0 40 lineto 40 40 lineto 40 0 lineto closepath\n");
|
||||
printf(" 1 setlinewidth stroke\n");
|
||||
printf("} def\n");
|
||||
printf("/colnum {\n");
|
||||
printf(" nfont setfont 20 42 moveto centre\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user