public void merge(BitmapFont newFont) {
        charSet.merge(newFont.charSet);
        final int size1 = this.pages.length;
        final int size2 = newFont.pages.length;

        Material[] tmp = new Material[size1+size2];
        System.arraycopy(this.pages, 0, tmp, 0, size1);
        System.arraycopy(newFont.pages, 0, tmp, size1, size2);

        this.pages = tmp;

//        this.pages = Arrays.copyOf(this.pages, size1+size2);
//        System.arraycopy(newFont.pages, 0, this.pages, size1, size2);
    }
Merge two fonts.
If two font have the same style, merge will fail.
@param newFont Style must be assigned to this.
author: Yonghoon
jme3-core/src/main/java/com/jme3/font/BitmapFont.java