Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Fixes #143: IllegalArgumentException in ribbon band title calculation #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dhadka
Copy link

@dhadka dhadka commented Sep 24, 2015

If the band's width (titleRectangle.width) is too small to fit any characters in the title, then title.substring(0, title.length() - 1) will throw an IllegalArgumentException when title.length() == 0.

This may be caused by custom Windows display settings. On two Windows machines running identical code, only one experienced this error.

@buildhive
Copy link

Insubstantial » insubstantial #46 SUCCESS
This pull request looks good
(what's this?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants