Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR for Release 0.6.0 #38

Merged
merged 87 commits into from
Aug 24, 2013
Merged

PR for Release 0.6.0 #38

merged 87 commits into from
Aug 24, 2013

Conversation

danbernier
Copy link
Owner

Goals for this release:

Stuff I decided not to fix for this release:

simpsus and others added 30 commits March 2, 2013 15:00
during the drawing and skip information afterwards
2 minor things and the ShapeBasedPlacer
If you're passing a Font, you probably know what you're doing,
so use the font sized as it is.

If you're passing a PFont, default it to the size it's already
at. (You're probably shaping a big ol' word for a
ShapeBasedImage.)

But, if you're passing a PFont, allow a font-size override.
This is for the WordCramEngine, which has to size the font
for each word, based on the WordSizer.
There are now 4 versions:

* The main one, that takes a java Font, size, and angle
* One that takes a Font, and uses its default size, and angle of 0
* A PFont version of each of those

Also deleted ShapeBasedPlacer's fromTextGlyphs method, since WordShaper
should now suffice.
since ImageShaper.shape() is now fast enough. I think that passing
a PImage and a Processing color as args will be fine - WordCram is
very dependent on Processing, I don't think it'll ever be extracted.

Also delete ShapeBasedPlacer.fromImageFile(), which used those
methods. ImageShaper has a nice-enough API that we don't need it.
Make WordCrams from shapes, from image masks
PrintStreamObserver as standard console Feedback
WordCramEngine can handle one Observer
moved word skip reasons to a singleton
drawNext returns the processed Word
Observer interface
PrintStreamObserver implementation
WordCramEngine can have one Observer
WordCram.drawNext returns processed Word
moved the skipped reason to an enum
Observer implementation, take 2
@danbernier danbernier merged commit e05c960 into master Aug 24, 2013
@danbernier danbernier deleted the rel-060 branch December 1, 2013 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants