Issue Bug Closed

#23515SpriteGeneration generates wrong output if there are several icons sizes which are same width and nearly same count

Steffen Ritter 09/08/10, 14:26 updated 03/29/11, 17:44

Description

The spriteGenerator sorts icons into groups depending on their size.
It also arranges icons in the sprite from the width in the sprite descending.

This information is stored in an array with the “width” of the icons as key.
If there are two icon groups, which icons have the same width and same icon-count (in fact width * ceilg(sqrt(icon-count)) equals) they overwrite each other in the array, and one group is positioned at 0,0.

(issue imported from #M15662)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.