summaryrefslogtreecommitdiff
path: root/source/fitz/trace-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-07 19:32:37 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-08 17:57:09 +0100
commit94a5846502cd1f05ec4127872ef06dcd8606f34b (patch)
tree33fa0f4e8a4cedeecd8bde94782eed15f5110a9c /source/fitz/trace-device.c
parent0d74d784804c8ac5013a74d6008b33afbc122074 (diff)
downloadmupdf-94a5846502cd1f05ec4127872ef06dcd8606f34b.tar.xz
Remove broken bidi reordering code.
TODO: Implement visual to logical reordering on the fly when building the structured text line.
Diffstat (limited to 'source/fitz/trace-device.c')
-rw-r--r--source/fitz/trace-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/trace-device.c b/source/fitz/trace-device.c
index 2b7b24aa..65c91924 100644
--- a/source/fitz/trace-device.c
+++ b/source/fitz/trace-device.c
@@ -39,7 +39,7 @@ static void
fz_trace_text_span(fz_context *ctx, fz_output *out, fz_text_span *span)
{
int i;
- fz_write_printf(ctx, out, "<span font=\"%s\" wmode=\"%d\"", fz_font_name(ctx, span->font), span->wmode);
+ fz_write_printf(ctx, out, "<span font=\"%s\" wmode=\"%d\" bidi=\"%d\"", fz_font_name(ctx, span->font), span->wmode, span->bidi_level);
fz_write_printf(ctx, out, " trm=\"%g %g %g %g\">\n", span->trm.a, span->trm.b, span->trm.c, span->trm.d);
for (i = 0; i < span->len; i++)
{