The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.02_05

  • BUG FIXES
    • Fixed strings with unicode (accented) characters being split improperly (reported by sukria) [issue #1]
      • Releasing all the other queued up changes in master branch. There will still probably be problems with words not displaying properly or being outside of the playing field. This will (hopefully) be fixed in the 0.04 release.

Changes for version 0.02_02

  • BUG FIXES
    • _max_font_size() was returning sizes that were too small. It now returns a size that will scale properly in cloud()
  • 'font_path' option is now set for GD::Text objects at startup, this means that methods using fonts outside of cloud() should work properly. They WERE defaulting to the core libgd (awful) fonts.
    • FEATURES
      • Added a 'border_padding' option to new() that takes either a number in pixels or a percentage.
      • Fonts now scale properly according to the aspect ratio we have to fill,
    • but because of how we're placing words some still get left outside the image bounds. This should be less noticeable when using the 'border_padding' option.
  • Images are now TrueColor, and not palette-based.

Changes for version 0.02_01

  • BUG FIXES
    • Long words were overrunning the image bounds. Added _max_font_size() which tries the longest word in each font, scaling the font size down until it will fit width the image's width. (Eventually this will need to be changed to handle vertical words)
    • Long FIRST words were overrunning the image bounds too. The first (largest) word was not being checked to make sure its placement fit within the image.
  • TESTS
    • Added tests so every method is covered. Added more tests for coverage.

Changes for version 0.01_01

  • First version, released on an unsuspecting world.

Modules

Create word cloud images
Exports hash of English "stop" words, words we should not include in any word clouds.

Provides

in lib/Image/WordCloud/BoundingBox.pm