[librsvg] Set correct value when unicode-bidi: inherit;



commit 8573a7cd9549c698b5024aafd3b3dd8569449f8e
Author: KUROSAWA Takeshi <taken spc gmail com>
Date:   Sat Nov 26 00:06:19 2011 +0900

    Set correct value when unicode-bidi: inherit;
    
    Bug #664533.

 rsvg-styles.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-styles.c b/rsvg-styles.c
index 5437ef5..d137cd6 100644
--- a/rsvg-styles.c
+++ b/rsvg-styles.c
@@ -703,7 +703,7 @@ rsvg_parse_style_pair (RsvgHandle * ctx,
     } else if (g_str_equal (name, "unicode-bidi")) {
         state->has_unicode_bidi = TRUE;
         if (g_str_equal (value, "inherit")) {
-            state->unicode_bidi = PANGO_DIRECTION_LTR;
+            state->unicode_bidi = UNICODE_BIDI_NORMAL;
             state->has_unicode_bidi = FALSE;
         } else if (g_str_equal (value, "embed"))
             state->unicode_bidi = UNICODE_BIDI_EMBED;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]