Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
librsvg
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 178
    • Issues 178
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • librsvg
  • Issues
  • #19

Closed
Open
Created Jun 17, 2008 by bugzilla-migration@bugzilla-migrationReporter

[BZ#538841] Images not rendering with small patterns

Submitted by fib..@..com

Link to original bug (#538841)

Description

Please describe the problem: If a certain rsvg execution causes a pattern tile to have a (horizontal or vertical) size of less than one pixel in the rendered image, the whole image will fail to render.

Steps to reproduce: Consider, for example, the following SVG file:

I would expect the filling of the first square to be indistinguishable from a solid red filling - and this is in fact what I get when I render the image at a width of 100 pixels or more (rsvg -w 100 File.svg File.png). However, when rendering it at a width of less than a 100 pixels (note that this would require a pattern tile to have a width of less than one pixel), all I get is a fully transparent PNG file of the required size.

Actual results: I get a transparent PNG file.

Expected results: I would expect a PNG file containing a solid red square with a thick black border, underneath a solid green square.

Does this happen every time? Yes.

Other information:

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None