output: Cache the script ltr versus rtl direction.
[pspp] / src / output / render.h
index 600bfd93449982e3608b717e029a787964a6ad10..c10f23716060924897da482dc106128fbd5cdcf3 100644 (file)
@@ -125,7 +125,14 @@ struct render_params
        points.) */
     int min_break[TABLE_N_AXES];
 
+    /* True if the driver supports cell margins.  (If false, the rendering
+       engine will insert a small space betweeen adjacent cells that don't have
+       an intervening rule.)  */
     bool supports_margins;
+
+    /* True if the local language has a right-to-left direction, otherwise
+       false.  (Use render_direction_rtl() to find out.) */
+    bool rtl;
   };
 
 /* An iterator for breaking render_pages into smaller chunks. */