added fontIndex and second font path
added npm pacakge.json style