Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Different size icons not being handled correctly #6

@pfiaux

Description

@pfiaux

I tried generating a sprite sheet with a set of icons that have different sizes. This worked correctly on the online version of iconizr (they all get scaled down to the specified size).
In the node version the generated spritesheet was messed up in different ways:

  • The large ones scaled to the size defined.
  • The small ones scaled with a similar factor as the large ones rendering them really small.
  • The offsets generated in the sprite sheet and the less/css were inconsistent. For 32px there was offsets of 8px or even odd numbers like 17px.
  • Possibly as a side effect of the issues above the png sprite sheet generated all blank (but it has the correct size).

Is there a way to handle different sizes or is this a limitation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions