1. 26 Sep, 2017 1 commit
  2. 01 Sep, 2017 1 commit
  3. 30 Aug, 2017 1 commit
  4. 09 Aug, 2017 1 commit
    • Chun-wei Fan's avatar
      build: Check for PangoFT2/FontConfig availability · 46c8688a
      Chun-wei Fan authored
      On Windows the GTK+ stack does not hard depend on PangoFT2 (thus
      Fontconfig--GTK+ uses PangoWin32 to do the Font discovery and
      configuration stuff by default, unless one uses an envvar to force
      PangoFT2 usage), unlike *NIX platforms, so we need to check for
      it by doing:
      
      -On Windows, enable the test code that uses PangoFT2/FontConfig if
       PangoFT2 and FontConfig is found during configure.  On Visual Studio
       builds, this is set to be disabled in config.h.win32(.in), and can be
       manually enabled by uncommenting #define HAVE_PANGOFT2 1 in
       config.h.win32 prior to the build (or rebuild).  This continues to have
       FontConfig and PangoFT2 to act as an optional dependency.
      
      -On non-Windows platforms, make PangoFT2 and FontConfig a hard dependency,
       which is what the current code assumes.
      
      We might probably need to make the custom TTF load via PangoWin32 and/or
      the native Windows API to run the tests when PangoFT2 and FontConfig are
      not found on Windows.
      
      Also bump the Pango dependency to 1.38 as the test code uses API that is
      introduced in 1.38.x.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=779405
      46c8688a
  5. 06 Jun, 2017 1 commit
  6. 02 Jun, 2017 1 commit
  7. 22 May, 2017 1 commit
    • Federico Mena Quintero's avatar
      pattern.rs: Fully implement NodePattern in Rust. Yay! · 3cf93f38
      Federico Mena Quintero authored
      We had an auxiliary Pattern structure, which is what the patterns
      machinery used to resolve patterns at rendering time.  However, the SVG
      data for patterns was still being kept in the C code.  Now we have a
      Rust NodePattern, as expected, and the C code does not have any patterns
      machinery anymore (other than RsvgPaintServer's to actually call up the
      pattern.)
      3cf93f38
  8. 18 May, 2017 2 commits
  9. 17 Mar, 2017 2 commits
  10. 03 Mar, 2017 1 commit
  11. 17 Feb, 2017 6 commits
  12. 08 Feb, 2017 3 commits
  13. 02 Feb, 2017 1 commit
  14. 11 Jan, 2017 1 commit
  15. 04 Jan, 2017 2 commits
  16. 19 Dec, 2016 1 commit
    • 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.
      25457b72
  17. 12 Dec, 2016 1 commit
  18. 02 Dec, 2016 1 commit
  19. 01 Dec, 2016 3 commits
  20. 25 Nov, 2016 1 commit
  21. 22 Nov, 2016 2 commits
  22. 17 Nov, 2016 1 commit
  23. 16 Nov, 2016 2 commits
  24. 15 Nov, 2016 1 commit
  25. 11 Nov, 2016 2 commits
    • Federico Mena Quintero's avatar
      Ensure gradient stop offsets are in nondecreasing order. · f3fb509b
      Federico Mena Quintero authored
      The test tests/fixtures/reftests/svg1.1/pservers-grad-16-b.svg was not
      passing.
      
      This test has gradient stop offsets in the wrong order.  Cairo
      automatically sorts them, but the SVG spec mandates that they should be
      adjusted to be in nondecreasing order.
      
      I was actually confused two commits ago; I thought the spec mandated
      that the stop offsets were invalid if they weren't ordered.
      f3fb509b
    • Federico Mena Quintero's avatar
      Radial gradients: fix the focus point so it lies within the gradient's circle · ac4ca7e2
      Federico Mena Quintero authored
      An SVG radial gradient is from a focus point (fx, fy) towards a
      circle (cx, cy, r).  The focus point is assumed to be inside the circle.
      
      If the focus point is specified to be outside the circle, we need to
      find the closest point to it in the circumference, i.e. the point in the
      circumference that intersects the line that passes through (cx, cy)
      and (fx, fy).
      
      This computation makes us pass the reference test - regenerated the
      corresponding image.
      ac4ca7e2