font resolution works!
[pspp] / src / output / cairo-fsm.h
index b61f099035246de8a5237d37c1b97a56f9f785b9..37f4b8b40be32a9bd856b4e31d6705d3ccbc3b10 100644 (file)
@@ -49,7 +49,13 @@ struct xr_fsm_style
     struct cell_color fg;
     bool use_system_colors;
     bool transparent;
-    double font_scale;
+
+    /* Resolution, in units per inch, used for measuring font "points".  If
+       this is 72.0, for example, then 1pt = 1 device unit, which is
+       appropriate for rendering to a surface created by
+       cairo_ps_surface_create() with its default transformation matrix of 72
+       units/inch.  For a screen-based surface, it is traditionally 96.0. */
+    double font_resolution;
   };
 struct xr_fsm_style *xr_fsm_style_ref (const struct xr_fsm_style *);
 struct xr_fsm_style *xr_fsm_style_unshare (struct xr_fsm_style *);