On 24 Jun 2002, Juliusz Chroboczek wrote:

JS> For jisx0212.1990-0.enc and gb2312.1980-0.enc, FIRSTINDEX should be
JS> be '0x20 0x20'. For gbk-0.enc, it appears to have to be
JS> '0x81 0x40'.

JC> I'd rather you sent the patch -- this way, you'll become the contact
JC> person if something's wrong.  You're doubtless better qualified than I
JC> am to do that.

  As you wrote, I've just sent the patch to [EMAIL PROTECTED] and been
given A.1143.  For your reference, I'm attaching the patch at the end.
I used '0x80 0x40' for gbk-0.enc instead of '0x81 0x40'. There's not
much reason other than just to keep it sorta aligned(?) 'nicely'.


JS>   Is it an requirement in matrix encodings or optional?

JC> It's optional but strongly recommended.
...

 Thank you for the kind explanation. I'll refer to your answer
to make my case for keeping FIRSTINDEX intact font encoding
files in RedHat 7.x stronger.

  Jungshik
Index: gbk-0.enc
===================================================================
RCS file: /cvs/xc/fonts/encodings/large/gbk-0.enc,v
retrieving revision 1.1
diff -u -r1.1 gbk-0.enc
--- gbk-0.enc   2001/03/06 18:03:15     1.1
+++ gbk-0.enc   2002/06/24 22:38:08
@@ -1,6 +1,7 @@
 STARTENCODING gbk-0
 # $XFree86: xc/fonts/encodings/large/gbk-0.enc,v 1.1 2001/03/06 18:03:15 dawes Exp $
 SIZE 0xFF 0xFF
+FIRSTINDEX 0x80 0x40
 STARTMAPPING unicode
 UNDEFINE 0 0xFFFF
 0x8140  0x4E02
Index: jisx0212.1990-0.enc
===================================================================
RCS file: /cvs/xc/fonts/encodings/large/jisx0212.1990-0.enc,v
retrieving revision 1.1
diff -u -r1.1 jisx0212.1990-0.enc
--- jisx0212.1990-0.enc 1999/05/30 02:27:56     1.1
+++ jisx0212.1990-0.enc 2002/06/24 22:38:13
@@ -1,5 +1,6 @@
 STARTENCODING jisx0212.1990-0
 SIZE 0x6E 0x80
+FIRSTINDEX 0x20 0x20
 STARTMAPPING unicode
 UNDEFINE 0x0000 0x6D7F
 0x222F  0x02D8
Index: gb2312.1980-0.enc
===================================================================
RCS file: /cvs/xc/fonts/encodings/large/gb2312.1980-0.enc,v
retrieving revision 1.3
diff -u -r1.3 gb2312.1980-0.enc
--- gb2312.1980-0.enc   2001/03/06 18:03:14     1.3
+++ gb2312.1980-0.enc   2002/06/24 22:38:21
@@ -1,5 +1,6 @@
 STARTENCODING gb2312.1980-0
 SIZE 0x78 0x80
+FIRSTINDEX 0x20 0x20
 STARTMAPPING unicode
 UNDEFINE 0 0x777F
 0x2121  0x2123  0x3000

Reply via email to