[tlbuild] more library fun

Peter Breitenlohner peb at mppmu.mpg.de
Thu Dec 19 16:15:42 CET 2013


On Thu, 19 Dec 2013, Norbert Preining wrote:

> * same question as before with libpaper - is system-paper
>  supported? Would it make sense? In Debian we are using
>  libpaper extensively.

Hi Norbert,

is supported.  In fact I am using it with libpaper-1.1.24+nmu2 from debian
plus the attached patch for the JIS paper sizes.

Unfortunately Reuben Thomas is going into directions that are perhaps not so
useful for us.

(1) He has first somewhat improved libpaper, but then replaced it by a paper
executable (perl script) that reads a data file.  See
https://github.com/rrthomas/paper

(2) His lates psutils use just that.  See
https://github.com/rrthomas/psutils

So I don't yet know how to proceed.

> * libpng: it seems that current dvipdf-x needs libpng >= 1.5, as
>  compiling with the Debian headers from 1.2.27 or so did not work.
>  I just wanted to confirm.

I think libpng 1.4 and 1.5 shoukd be OK, but libpng 1.6 still has some
unresolved problems (with certain png images).

Regards
Peter
-------------- next part --------------
diff -ur libpaper-1.1.24+nmu2.orig/lib/paperspecs libpaper-1.1.24+nmu2/lib/paperspecs
--- libpaper-1.1.24+nmu2.orig/lib/paperspecs	2012-05-03 21:05:12.000000000 +0200
+++ libpaper-1.1.24+nmu2/lib/paperspecs	2013-10-24 11:32:28.000000000 +0200
@@ -40,6 +40,18 @@
 c6 114 162 mm
 c7 81 114 mm
 c8 57 81 mm
+jisb0 1030 1456 mm
+jisb1 728 1030 mm
+jisb2 515 728 mm
+jisb3 364 515 mm
+jisb4 257 364 mm
+jisb5 182 257 mm
+jisb6 128 182 mm
+jisb7 91 128 mm
+jisb8 64 91 mm
+jisb9 45 64 mm
+jisb10 32 45 mm
+b5var 182 230 mm
 DL 110 220 mm
 Comm10 297 684
 Monarch 279 540
diff -ur libpaper-1.1.24+nmu2.orig/lib/paperspecs.h libpaper-1.1.24+nmu2/lib/paperspecs.h
--- libpaper-1.1.24+nmu2.orig/lib/paperspecs.h	2012-05-04 12:11:27.000000000 +0200
+++ libpaper-1.1.24+nmu2/lib/paperspecs.h	2013-10-24 11:32:42.000000000 +0200
@@ -43,6 +43,18 @@
     { "c6", 323.149606, 459.212598 },
     { "c7", 229.606299, 323.149606 },
     { "c8", 161.574803, 229.606299 },
+    { "jisb0", 2919.685039, 4127.244094 },
+    { "jisb1", 2063.622047, 2919.685039 },
+    { "jisb2", 1459.842520, 2063.622047 },
+    { "jisb3", 1031.811024, 1459.842520 },
+    { "jisb4", 728.503937, 1031.811024 },
+    { "jisb5", 515.905512, 728.503937 },
+    { "jisb6", 362.834646, 515.905512 },
+    { "jisb7", 257.952756, 362.834646 },
+    { "jisb8", 181.417323, 257.952756 },
+    { "jisb9", 127.559055, 181.417323 },
+    { "jisb10", 90.708661, 127.559055 },
+    { "b5var", 515.905512, 651.968504 },
     { "DL", 311.811024, 623.622047 },
     { "Comm10", 297.000000, 684.000000 },
     { "Monarch", 279.000000, 540.000000 },


More information about the tlbuild mailing list