ericdrowell/KineticJS — pull request #1039 by vmichnowicz (2014-11-07 03:24:13+00:00)
Title: Add Bitmap text plugin

Bitmap text with support for multiple text styles via HTML tags. Also allow for line breaks and custom color fill.

````
var text = new Kinetic.BitmapText(),
img = new Image();

img.src = 'data:image/gif;base64...';

text.setAttrs({
text: 'normal textBOLD Text
italic text',
image: img,
fill: 'blue', // Fill all non-transparent parts of image with this color
chars: {
standard: {
a: [0, 0, 8, 10],
b: [9, 0, 8, 10],
c: [17, 0, 6, 10],
},
b: {
a: [0, 12, 10, 10],
b: [11, 12, 9, 10],
c: [21, 12, 8, 10],
},
i: {
a: [0, 23, 8, 10],
b: [8, 23, 8, 10],
c: [17, 23, 7, 10],
}
});
````