html2ms: rewrite from scratch

front
cinap_lenrek 2011-09-18 20:35:57 +02:00
parent 35fcb73f86
commit 6152c8d41d
2 changed files with 485 additions and 546 deletions

File diff suppressed because it is too large Load Diff

View File

@ -626,7 +626,7 @@ popenfile(Page *p)
else if(cistrncmp(buf, "<?xml", 5) == 0 ||
cistrncmp(buf, "<!DOCTYPE", 9) == 0 ||
cistrncmp(buf, "<HTML", 5) == 0){
p->data = "htmlfmt -c utf8 | lp -dstdout";
p->data = "html2ms | troff -ms | lp -dstdout";
p->open = popengs;
}
else if(memcmp(buf, "\xF7\x02\x01\x83\x92\xC0\x1C;", 8) == 0){