Issue Details (XML | Word | Printable)

Key: FWK-77
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Antoine Véret
Reporter: andre schmitt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JCaptcha Framework

FontGenerator.setBadFontNamePrefix("") excludes all Fonts

Created: 24/Apr/07 10:51 PM   Updated: 03/May/07 10:57 AM   Resolved: 02/May/07 11:06 PM
Component/s: CORE
Affects Version/s: 1.0_RC4
Fix Version/s: 1.0_RC6


 Description  « Hide
If you use setBadFontNamePrefix() with an empty string it excludes all fonts, what is quiet unexpected.
You want it to exclude no font at all in this case.

Sort Order: Ascending order - Click to sort in descending order
Antoine Véret added a comment - 02/May/07 11:06 PM
Bug fixed and the following constructor added

public RandomFontGenerator(Integer minFontSize, Integer maxFontSize, String[] badFontNamePrefixes)