diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-04-05 12:31:26 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-04-05 13:40:04 +0200 |
commit | a45b3a21c67476c703ddd5d5b4755364671c26c1 (patch) | |
tree | a755086e3fa8dd4a11d044f7765875b6f6ad0e19 /source/pdf/pdf-appearance.c | |
parent | 353a05d9e8e8023e1c3c24816f712bdcb05502ca (diff) | |
download | mupdf-a45b3a21c67476c703ddd5d5b4755364671c26c1.tar.xz |
Clean up bidi enum names.
And use the same enum for both the internal bidi code and the layout code.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r-- | source/pdf/pdf-appearance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index c64e73af..45d81c63 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -1916,7 +1916,7 @@ static void add_text(fz_context *ctx, font_info *font_rec, fz_text *text, char * str += n; str_len -= n; gid = fz_encode_character(ctx, font, ucs); - fz_show_glyph(ctx, text, font, &tm, gid, ucs, 0, 0, FZ_DIR_UNSET, FZ_LANG_UNSET); + fz_show_glyph(ctx, text, font, &tm, gid, ucs, 0, 0, FZ_BIDI_NEUTRAL, FZ_LANG_UNSET); tm.e += fz_advance_glyph(ctx, font, gid, 0) * font_rec->da_rec.font_size; } } |