[tex-k] The dvitype utility can't dump XDV files

Peter Breitenlohner peb at mppmu.mpg.de
Thu Oct 14 15:32:04 CEST 2010


On Thu, 14 Oct 2010, Peter Dyballa wrote:

> Am 13.10.2010 um 16:56 schrieb Peter Breitenlohner:
>> 
>> ...  As a prerequisite one would need a very
>> precise description of the XDV format.
>
> It must be in xetex.ch. There the changed DVI type ID is documented ? at the 
> beginning of almost 10,000 lines. ...

It is, but unfortunately not "very precise".

Apart from a somewhat sloppy notation in xetex.ch where, e.g., l.3614
 	\yskip\hang|pic_file| 251 flags[1] t[4][6] p[2] len[2] path[l]
ought to read
 	\yskip\hang|pic_file| 251 flags[1] t[4][6] p[2] len[2] path[len]
and moreover t[4][6] should probably be specified either as six 4-Byte or as
four 6-Byte quantities

the description (A) of |define_native_font| (252) in xetex.ch is not
consistent with the implementation (B) in XeTeX_ext.c.

A&B: if flags & COLORED => additional fields
A&B: if flags & VARIATIONS => additional fields
A: if flags & MATRIX => additional fields
B: if flags & EXTEND => additional field
B: if flags & SLANT => additional field
B: if flags & EMBOLDEN => additional field

It may well be that all these are hardly ever used, but...

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tex-k mailing list