• Federico Mena Quintero's avatar
    Add a testing mode so reftests can use predictable text rendering · 25457b72
    Federico Mena Quintero authored
    This adds an rsvg_handle_internal_set_testing() API, which should only
    be called by the test suite.  Internally, it sets cairo_font_options_t
    that should yield reproducible text rendering.
    For example, I get different rendering results from text objects when I
    run "make check" as a user, than when I run it as root.
rsvg-gobject.c 13.4 KB