html2ms: rewrite from scratch
parent
35fcb73f86
commit
6152c8d41d
File diff suppressed because it is too large
Load Diff
|
@ -626,7 +626,7 @@ popenfile(Page *p)
|
||||||
else if(cistrncmp(buf, "<?xml", 5) == 0 ||
|
else if(cistrncmp(buf, "<?xml", 5) == 0 ||
|
||||||
cistrncmp(buf, "<!DOCTYPE", 9) == 0 ||
|
cistrncmp(buf, "<!DOCTYPE", 9) == 0 ||
|
||||||
cistrncmp(buf, "<HTML", 5) == 0){
|
cistrncmp(buf, "<HTML", 5) == 0){
|
||||||
p->data = "htmlfmt -c utf8 | lp -dstdout";
|
p->data = "html2ms | troff -ms | lp -dstdout";
|
||||||
p->open = popengs;
|
p->open = popengs;
|
||||||
}
|
}
|
||||||
else if(memcmp(buf, "\xF7\x02\x01\x83\x92\xC0\x1C;", 8) == 0){
|
else if(memcmp(buf, "\xF7\x02\x01\x83\x92\xC0\x1C;", 8) == 0){
|
||||||
|
|
Loading…
Reference in New Issue