Merge: gamnit: customize writing with BMFont
authorJean Privat <jean@pryen.org>
Sat, 17 Jun 2017 00:24:33 +0000 (20:24 -0400)
committerJean Privat <jean@pryen.org>
Sat, 17 Jun 2017 00:24:33 +0000 (20:24 -0400)
commit47a22e48af43fb1389f0f02da8f97e8a9365e574
tree20dc50dbe9d480e7851aad7cbfeb8b0a2f1e23e0
parentb86e1680f3295f9e0edde0d22bac3078b28ac278
parentd9b142c4f5c5b6d06744157a75e4f69d45b84279
Merge: gamnit: customize writing with BMFont

Add format services to `TestSprites` implemented (only) by `BMFont`: `align, valign, wrap, max_width` and `max_height`. You can see the result in the screenshot of the new showcase/test program:

![screenshot from 2017-06-15 15 53 28](https://user-images.githubusercontent.com/208057/27199185-1b9a36dc-51e3-11e7-9700-8dde5724e98a.png)

Pull-Request: #2499
Reviewed-by: Jean Privat <jean@pryen.org>
lib/gamnit/bmfont.nit