1 diff --git a/haru/pdf.c b/haru/pdf.c
2 index d16f573..3129427 100644
5 @@ -105,7 +105,7 @@ static awk_scalar_t HPDF_CS_PATTERN_node;
7 static awk_scalar_t HPDF_BUTT_END_node;
8 static awk_scalar_t HPDF_ROUND_END_node;
9 -static awk_scalar_t HPDF_PROJECTING_SCUARE_END_node;
10 +static awk_scalar_t HPDF_PROJECTING_SQUARE_END_node;
13 static awk_scalar_t HPDF_MITER_JOIN_node;
14 @@ -248,7 +248,7 @@ static awk_scalar_t HPDF_ENCODER_UNKNOWN_node;
16 static awk_scalar_t HPDF_BYTE_TYPE_SINGLE_node;
17 static awk_scalar_t HPDF_BYTE_TYPE_LEAD_node;
18 -static awk_scalar_t HPDF_BYTE_TYPE_TRIAL_node;
19 +static awk_scalar_t HPDF_BYTE_TYPE_TRAIL_node;
20 static awk_scalar_t HPDF_BYTE_TYPE_UNKNOWN_node;
23 @@ -308,7 +308,7 @@ static const struct varinit varinit[] = {
24 ENTRY(HPDF_CS_PATTERN, 1)
25 ENTRY(HPDF_BUTT_END, 1)
26 ENTRY(HPDF_ROUND_END, 1)
27 - ENTRY(HPDF_PROJECTING_SCUARE_END, 1)
28 + ENTRY(HPDF_PROJECTING_SQUARE_END, 1)
29 ENTRY(HPDF_MITER_JOIN, 1)
30 ENTRY(HPDF_ROUND_JOIN, 1)
31 ENTRY(HPDF_BEVEL_JOIN, 1)
32 @@ -417,7 +417,7 @@ static const struct varinit varinit[] = {
33 ENTRY(HPDF_ENCODER_UNKNOWN, 1)
34 ENTRY(HPDF_BYTE_TYPE_SINGLE, 1)
35 ENTRY(HPDF_BYTE_TYPE_LEAD, 1)
36 - ENTRY(HPDF_BYTE_TYPE_TRIAL, 1)
37 + ENTRY(HPDF_BYTE_TYPE_TRAIL, 1)
38 ENTRY(HPDF_BYTE_TYPE_UNKNOWN, 1)
39 ENTRY(HPDF_TALIGN_LEFT, 1)
40 ENTRY(HPDF_TALIGN_RIGHT, 1)
41 diff --git a/haru/pdf.h b/haru/pdf.h
42 index a4ef39a..07cf168 100644
47 #define DEFAULT_HPDF_BUTT_END HPDF_BUTT_END
48 #define DEFAULT_HPDF_ROUND_END HPDF_ROUND_END
49 -#define DEFAULT_HPDF_PROJECTING_SCUARE_END HPDF_PROJECTING_SCUARE_END
50 +#define DEFAULT_HPDF_PROJECTING_SQUARE_END HPDF_PROJECTING_SQUARE_END
53 #define DEFAULT_HPDF_MITER_JOIN HPDF_MITER_JOIN
56 #define DEFAULT_HPDF_BYTE_TYPE_SINGLE HPDF_BYTE_TYPE_SINGLE
57 #define DEFAULT_HPDF_BYTE_TYPE_LEAD HPDF_BYTE_TYPE_LEAD
58 -#define DEFAULT_HPDF_BYTE_TYPE_TRIAL HPDF_BYTE_TYPE_TRIAL
59 +#define DEFAULT_HPDF_BYTE_TYPE_TRAIL HPDF_BYTE_TYPE_TRAIL
60 #define DEFAULT_HPDF_BYTE_TYPE_UNKNOWN HPDF_BYTE_TYPE_UNKNOWN