summaryrefslogtreecommitdiff
path: root/src/outlines.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-03-05 21:34:57 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-03-05 21:34:57 +0000
commit2da1e199d6431d239a2ce5e4c2d55f128545cb44 (patch)
tree3a3850615aad5e6be4f057203c5d29cdb7a6a559 /src/outlines.c
parent73f1c1a927fa70d4c66445781a4ccf30d4c5c91d (diff)
downloadttf2f-2da1e199d6431d239a2ce5e4c2d55f128545cb44.tar.gz
ttf2f-2da1e199d6431d239a2ce5e4c2d55f128545cb44.tar.bz2
Make struct char_data packed
svn path=/trunk/tools/ttf2f/; revision=11915
Diffstat (limited to 'src/outlines.c')
-rw-r--r--src/outlines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/outlines.c b/src/outlines.c
index 962042c..14dab36 100644
--- a/src/outlines.c
+++ b/src/outlines.c
@@ -112,6 +112,7 @@ ttf2f_result outlines_write(const char *savein, const char *name,
current_chunk_offset += 42 + strlen(ctx->metrics->name_full) +
strlen(ctx->metrics->name_copyright);
+ /* Word align */
while (current_chunk_offset % 4) {
if (fputc(0x0, output) == EOF) goto error_write;
current_chunk_offset++;