Update text.d

Part of #56