add search fun to bitmapfont