summaryrefslogtreecommitdiff
path: root/fonts/cyrillic/cmcyr-encoding-patch/README.cmcyr-encoding-patch
blob: 58fac4fb2a046c6c3e0d1d48593f31d2de252002 (plain)
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
27
28
29
30
31
32
33
34
35
36
Type1 outlines of CMCYR fonts (from BaKoMa collection) as put into 
public domain by Basil K. Malyshev are not usable with dvips and 
other software that reads PFB files.  This caused by minor errors
in font encoding definition.  Fonts in this archive are patched 
versions of Basil's fonts with these encoding issues resolved.

38 of 52 CMCYR fonts from BaKoMa collection have `Level-B' version
label and all contain the following bug in encoding.  There are some
misterious PostScript code in the very end of the encoding:

   dup dup 161 10 getinterval 0 exch putinterval 
   dup dup 173 23 getinterval 10 exch putinterval 
   dup dup 127 exch 196 get put 
   readonly def

I used t1disasm to convert a font into editable format, run it
through a sed script that strips above code from encoding, and
then t1asm font back.  No changes to outline data.  Just a minor
encoding fix.

Full list of patched files:
   
   cmcb10.pfb    cmccsc9.pfb   cmcssbx1.pfb  cmcssqi8.pfb  cmctt8.pfb
   cmcbx5.pfb    cmcinch7.pfb  cmcssdc1.pfb  cmcti10.pfb   cmctt9.pfb
   cmcbx6.pfb    cmcitt10.pfb  cmcssi10.pfb  cmcti12.pfb   cmcu10.pfb
   cmcbx7.pfb    cmcsl10.pfb   cmcssi12.pfb  cmcti7.pfb    cmcyr5.pfb
   cmcbxsl1.pfb  cmcsl12.pfb   cmcssi17.pfb  cmcti8.pfb    cmcyr6.pfb
   cmcbxti1.pfb  cmcsl8.pfb    cmcssi8.pfb   cmcti9.pfb    cmcyr7.pfb
   cmccsc10.pfb  cmcsl9.pfb    cmcssi9.pfb   cmctt10.pfb
   cmccsc8.pfb   cmcsltt1.pfb  cmcssq8.pfb   cmctt12.pfb

That's all in this patch.

--
Iliya Peregoudov <zooloo@freemail.ru>
December 25, 2002