Type1 字体 cmcbxti10 的字形 111 在顶部和底部有一些突起。请考虑以下 MetaPost 文件:
prologues := 3;
outputtemplate := "glyph%c.eps";
beginfig(1);
picture a;
a = glyph "afii10026" of "cmcbxti10";
draw a withcolor .9 white;
draw pathpart a withcolor red;
endfig;
beginfig(2);
picture a;
a = glyph "afii10027" of "cmcbxti10";
draw a withcolor .9 white;
draw pathpart a withcolor red;
endfig;
end.
如何使 glyph1.eps 看起来像没有重音的 glyph2.eps?
答案1
通过使用以下带有t1disasm
/ 的补丁,可以修复此问题t1asm
:
--- cmcbxti1.pps
+++ cmcbxti1.pps
@@ -730,29 +730,21 @@
hsbw
0 51 hstem
635 51 hstem
- 34 4 callsubr
- 243 -21 rmoveto
- 13 0 6 12 6 9 rrcurveto
- -42 hlineto
- -1 0 -2 -1 hvcurveto
- -10 8 -8 10 vhcurveto
- closepath
- 35 4 callsubr
- -227 21 rmoveto
- 53 0 53 3 53 0 rrcurveto
- 55 0 55 -3 56 0 rrcurveto
+ 16 hmoveto
+ 52 0 52 3 52 0 rrcurveto
+ 54 0 54 -3 55 0 rrcurveto
8 2 3 3 4 7 rrcurveto
5 19 rlineto
0 11 -6 6 -10 3 rrcurveto
- -12 0 -13 0 -13 0 rrcurveto
- 342 450 rlineto
- -112 -447 rlineto
+ -14 0 -16 0 -15 0 rrcurveto
+ 359 444 rlineto
+ -110 -441 rlineto
-30 -3 -37 0 -30 0 rrcurveto
-8 -2 -4 -3 -3 -7 rrcurveto
-5 -19 rlineto
-9 5 -11 11 vhcurveto
- 53 0 53 3 53 0 rrcurveto
- 55 0 55 -3 56 0 rrcurveto
+ 52 0 52 3 52 0 rrcurveto
+ 54 0 54 -3 55 0 rrcurveto
8 2 3 3 4 7 rrcurveto
5 19 rlineto
0 11 -6 6 -10 3 rrcurveto
@@ -762,20 +754,20 @@
7 2 4 3 4 7 rrcurveto
4 19 rlineto
9 -5 11 -10 vhcurveto
- -53 0 -53 -3 -53 0 rrcurveto
- -56 0 -55 3 -55 0 rrcurveto
+ -52 0 -52 -3 -52 0 rrcurveto
+ -55 0 -54 3 -54 0 rrcurveto
-8 -2 -4 -3 -3 -7 rrcurveto
-5 -19 rlineto
0 -11 6 -6 10 -3 rrcurveto
- 11 0 14 0 13 0 rrcurveto
- -342 -450 rlineto
- 111 447 rlineto
+ 14 0 16 0 15 0 rrcurveto
+ -360 -444 rlineto
+ 110 441 rlineto
30 3 37 0 31 0 rrcurveto
7 2 4 3 4 7 rrcurveto
4 19 rlineto
9 -5 11 -10 vhcurveto
- -53 0 -53 -3 -53 0 rrcurveto
- -56 0 -55 3 -55 0 rrcurveto
+ -52 0 -52 -3 -52 0 rrcurveto
+ -55 0 -54 3 -54 0 rrcurveto
-8 -2 -4 -3 -3 -7 rrcurveto
-5 -19 rlineto
0 -11 6 -6 10 -3 rrcurveto
@@ -786,13 +778,6 @@
-5 -19 rlineto
-9 5 -11 11 vhcurveto
closepath
- 36 4 callsubr
- 655 686 rmoveto
- 43 hlineto
- 0 0 2 1 hvcurveto
- 10 -8 8 -10 vhcurveto
- -12 0 -6 -12 -7 -9 rrcurveto
- closepath
endchar
} |-
/afii10024 {