adding basic support for text print
adding font-weight support