summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/hitexdir/hintview/src/get.h
diff options
context:
space:
mode:
authorMartin Ruckert <martin.ruckert@hm.edu>2022-02-23 17:27:52 +0000
committerMartin Ruckert <martin.ruckert@hm.edu>2022-02-23 17:27:52 +0000
commite5b3846c9784f7d4f5d8cf0d55ee71f68b4f570b (patch)
tree2458978cbb47065e46012d0f4392116a39792baa /Build/source/texk/web2c/hitexdir/hintview/src/get.h
parent24db278b60d9548c734f41c4c6a9a26a12b00749 (diff)
upgrading hitex to version 1.4 of the HINT file format
git-svn-id: svn://tug.org/texlive/trunk@62150 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/hitexdir/hintview/src/get.h')
-rw-r--r--Build/source/texk/web2c/hitexdir/hintview/src/get.h69
1 files changed, 35 insertions, 34 deletions
diff --git a/Build/source/texk/web2c/hitexdir/hintview/src/get.h b/Build/source/texk/web2c/hitexdir/hintview/src/get.h
index bd628745c41..0d6e924cd74 100644
--- a/Build/source/texk/web2c/hitexdir/hintview/src/get.h
+++ b/Build/source/texk/web2c/hitexdir/hintview/src/get.h
@@ -1,25 +1,25 @@
- /*507:*/
- #line 10108 "format.w"
+ /*515:*/
+ #line 10559 "format.w"
/*1:*/
#line 328 "format.w"
typedef struct{uint32_t c;uint8_t f;}Glyph;
/*:1*/ /*113:*/
- #line 2153 "format.w"
+ #line 2166 "format.w"
typedef struct{
Dimen h,d,w;
}Rule;
/*:113*/ /*122:*/
- #line 2267 "format.w"
+ #line 2280 "format.w"
typedef struct{
bool x;
Xdimen d;
}Kern;
/*:122*/ /*140:*/
- #line 2688 "format.w"
+ #line 2701 "format.w"
typedef struct{
Kind k;
@@ -27,37 +27,38 @@ uint32_t p;
uint32_t s;
}List;
/*:140*/ /*148:*/
- #line 3110 "format.w"
+ #line 3123 "format.w"
typedef enum{txt_font= 0x00,txt_global= 0x08,txt_local= 0x11,
txt_cc= 0x1D,txt_node= 0x1E,txt_hyphen= 0x1F,
txt_glue= 0x20,txt_ignore= 0xFB}Txt;
/*:148*/ /*159:*/
- #line 3377 "format.w"
+ #line 3390 "format.w"
typedef struct{Kind k;int n;}Ref;
/*:159*/ /*160:*/
- #line 3414 "format.w"
+ #line 3427 "format.w"
typedef struct{Dimen h,d,w,a;float32_t r;int8_t s,o;List l;}Box;
/*:160*/ /*187:*/
- #line 3970 "format.w"
+ #line 3983 "format.w"
typedef struct{uint8_t f;List l;}Lig;
/*:187*/ /*195:*/
- #line 4087 "format.w"
+ #line 4100 "format.w"
typedef struct{bool x;List p,q;uint8_t r;}Disc;
/*:195*/ /*228:*/
- #line 4608 "format.w"
+ #line 4658 "format.w"
typedef struct{
uint16_t n;
-Dimen w,h;
-Stretch p,m;
+float32_t a;
+Xdimen w,h;
+uint8_t wr,hr;
}Image;
- /*:228*/ /*264:*/
- #line 5247 "format.w"
+ /*:228*/ /*272:*/
+ #line 5687 "format.w"
typedef struct{
uint8_t*t;
@@ -65,16 +66,16 @@ int s;
int d;
uint16_t r;
}Outline;
- /*:264*/ /*291:*/
- #line 6063 "format.w"
+ /*:272*/ /*299:*/
+ #line 6503 "format.w"
typedef
struct{uint8_t pg;uint32_t pos;bool on;int link;}RangePos;
- /*:291*/
- #line 10109 "format.w"
+ /*:299*/
+ #line 10560 "format.w"
- /*325:*/
- #line 6800 "format.w"
+ /*333:*/
+ #line 7240 "format.w"
typedef struct{
uint64_t pos;
@@ -84,17 +85,17 @@ char*file_name;
uint8_t*buffer;
uint32_t bsize;
}Entry;
- /*:325*/
- #line 10110 "format.w"
+ /*:333*/
+ #line 10561 "format.w"
/*37:*/
- #line 1062 "format.w"
+ #line 1067 "format.w"
#define HGET_STRING(S) S= (char*)hpos;\
while(hpos<hend && *hpos!=0) { RNG("String character",*hpos,0x20,0x7E); hpos++;}\
hpos++;
/*:37*/ /*146:*/
- #line 2857 "format.w"
+ #line 2870 "format.w"
#define HGET_LIST(I,L) \
(L).s= hget_list_size(I); hget_size_boundary(I);\
@@ -103,8 +104,8 @@ uint32_t bsize;
{ uint32_t s= hget_list_size(I); \
if (s!=(L).s) \
QUIT("List sizes at 0x%x and " SIZE_F " do not match 0x%x != 0x%x",node_pos+1,hpos-hstart-I-1,(L).s,s);}
- /*:146*/ /*311:*/
- #line 6401 "format.w"
+ /*:146*/ /*319:*/
+ #line 6841 "format.w"
#define HGET_ERROR QUIT("HGET overrun in section %d at " SIZE_F "\n",section_no,hpos-hstart)
#define HEND ((hpos<=hend)?0:(HGET_ERROR,0))
@@ -114,8 +115,8 @@ uint32_t bsize;
#define HGET24(X) ((X)= (hpos[0]<<16)+(hpos[1]<<8)+hpos[2],hpos+= 3,HEND)
#define HGET32(X) ((X)= (hpos[0]<<24)+(hpos[1]<<16)+(hpos[2]<<8)+hpos[3],hpos+= 4,HEND)
#define HGETTAG(A) A= HGET8,DBGTAG(A,hpos-1)
- /*:311*/ /*336:*/
- #line 7028 "format.w"
+ /*:319*/ /*344:*/
+ #line 7468 "format.w"
#define HGET_SIZE(I) \
if ((I)&b100) { \
@@ -138,8 +139,8 @@ uint32_t bsize;
HGET16(i); HGET_SIZE(I); HGET_STRING(file_name); \
hset_entry(&(E),i,s,xs,file_name); \
}
- /*:336*/ /*456:*/
- #line 9384 "format.w"
+ /*:344*/ /*464:*/
+ #line 9827 "format.w"
#define HBACK(X) ((hpos-(X)<hstart)?(QUIT("HTEG underflow\n"),NULL):(hpos-= (X)))
@@ -148,8 +149,8 @@ uint32_t bsize;
#define HTEG24(X) (HBACK(3),(X)= (hpos[0]<<16)+(hpos[1]<<8)+hpos[2])
#define HTEG32(X) (HBACK(4),(X)= (hpos[0]<<24)+(hpos[1]<<16)+(hpos[2]<<8)+hpos[3])
#define HTEGTAG(X) X= HTEG8,DBGTAG(X,hpos)
- /*:456*/
- #line 10111 "format.w"
+ /*:464*/
+ #line 10562 "format.w"
extern Entry*dir;
@@ -187,4 +188,4 @@ extern void hteg_list(List*l);
extern void hff_hpos(void);
extern uint32_t hff_list_pos,hff_list_size;
extern uint8_t hff_tag;
- /*:507*/
+ /*:515*/