Update text.js

Idea of a supporting to proportional fonts.