Tartarus CVS: zap: christian

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Thu, 15 Apr 2004 12:52:16 +0100


CVS Root:       /home/cvs
Module:         zap
Changes by:     christian
Date:           Thu Apr 15 2004  12:52:16 BST

Log message:
Add support in PrepareDataLine for applying encodings to incoming data,
mapping it to other UCS code points. Two special cases are supported:
UTF8 decodes as UTF8, and UTF16 (currently) decodes as UCS-2. In the case of
variable length encodings, there is still a one-to-one mapping between
character data and colour/substyle data bytes - only the last colour byte
has any effect.
There is also now support for input character data being 16 or 32 bits wide,
again for 16 bit data you must double up the colour data, and only the last
byte has any effect.
These changes are pretty much the same way as the Font manager tackles the
same problem.
A couple of other bugfixes / optimisations.

Modified files:
    sources/!ZapRedraw: MakeFile,fe1
    sources/!ZapRedraw/h: Errors,fff Version,fff ZapRedHdr,fff
    sources/!ZapRedraw/s: Cache,fff Commands,fff DSA32,fff
                      DSARedraw,fff ZapRedraw,fff

Links:
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/MakeFile%2Cfe1.diff?r1=1.8&r2=1.9
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/h/Errors%2Cfff.diff?r1=1.2&r2=1.3
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/h/Version%2Cfff.diff?r1=1.22&r2=1.23
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/h/ZapRedHdr%2Cfff.diff?r1=1.12&r2=1.13
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/Cache%2Cfff.diff?r1=1.16&r2=1.17
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/Commands%2Cfff.diff?r1=1.9&r2=1.10
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/DSA32%2Cfff.diff?r1=1.5&r2=1.6
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/DSARedraw%2Cfff.diff?r1=1.15&r2=1.16
http://cvs.tartarus.org//zap/sources/%21ZapRedraw/s/ZapRedraw%2Cfff.diff?r1=1.23&r2=1.24