basic text-rendering support