Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • librsvg librsvg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 202
    • Issues 202
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • librsvglibrsvg
  • Issues
  • #19
Closed (duplicated) (duplicated)
Open
Issue created Jun 17, 2008 by Bugzilla@bugzilla-migration💬Reporter

[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
Time tracking