shithub: pdffs

Download patch

ref: d7a4f95d177d9a3ad24b54051b85a4351e682719
parent: 23c3f961d78789878f39211fb6f1ac85697d4da1
author: Noam Preil <noam@pixelhero.dev>
date: Tue Sep 6 21:49:17 EDT 2022

op: implement '

--- a/op.c
+++ b/op.c
@@ -811,10 +811,12 @@
 static int
 thshow(Op *op, Page *p)
 {
-	if(op->flags != 0){
-		fprint(2, "TODO: thshow != Tj\n");
+	if(op->flags & TwTc){
+		werrstr("TODO thshow TwTc");
 		return 0;
 	}
+	if(op->flags & Nextline)
+		tpmove0(op, p);
 	Object *o = arrayget(p->stack, 0);
 	if(!tstr(p, o->str, o->len))
 		return 0;