summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-05-15 08:31:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2008-05-15 08:31:30 +0000
commit168e470deff278cbe71353ed8fcb5fb524eb6746 (patch)
tree446608ee78e3258eb58fcd5da21abe8ad641c704 /Build/source/texk/dvipng
parent5351eeea29b0ae4d11dc0fd4a09a7f6040a07f91 (diff)
dvipng-1.11
git-svn-id: svn://tug.org/texlive/trunk@8149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng')
-rw-r--r--Build/source/texk/dvipng/ChangeLog10
-rw-r--r--Build/source/texk/dvipng/ChangeLog.TL6
-rw-r--r--Build/source/texk/dvipng/Makefile.in-1.11 (renamed from Build/source/texk/dvipng/Makefile.in-1.10)0
-rw-r--r--Build/source/texk/dvipng/RELEASE20
-rw-r--r--Build/source/texk/dvipng/aclocal.m4-1.11 (renamed from Build/source/texk/dvipng/aclocal.m4-1.10)0
-rw-r--r--Build/source/texk/dvipng/config.h.in-1.11 (renamed from Build/source/texk/dvipng/config.h.in-1.10)0
-rwxr-xr-xBuild/source/texk/dvipng/configure18
-rwxr-xr-xBuild/source/texk/dvipng/configure-1.11 (renamed from Build/source/texk/dvipng/configure-1.10)18
-rw-r--r--Build/source/texk/dvipng/configure.ac2
-rw-r--r--Build/source/texk/dvipng/configure.ac-1.11 (renamed from Build/source/texk/dvipng/configure.ac-1.10)2
-rw-r--r--Build/source/texk/dvipng/dvipng.128
-rw-r--r--Build/source/texk/dvipng/dvipng.texi2
-rw-r--r--Build/source/texk/dvipng/special.c1
13 files changed, 62 insertions, 45 deletions
diff --git a/Build/source/texk/dvipng/ChangeLog b/Build/source/texk/dvipng/ChangeLog
index a7cb3bdf029..3252209ace5 100644
--- a/Build/source/texk/dvipng/ChangeLog
+++ b/Build/source/texk/dvipng/ChangeLog
@@ -1,5 +1,15 @@
+2008-05-14 Jan-Ake Larsson <jalar@mai.liu.se>
+
+ * Release 1.11
+
+ * configure.ac, dvipng.1, dvipng.texi, RELEASE: Prepare for 1.11
+
+ * special.c: Fix PS inclusion regression
+
2008-05-09 Jan-Ake Larsson <jalar@mai.liu.se>
+ * Release 1.10
+
* RELEASE: Prepare for 1.10
2008-05-08 Jan-Ake Larsson <jalar@mai.liu.se>
diff --git a/Build/source/texk/dvipng/ChangeLog.TL b/Build/source/texk/dvipng/ChangeLog.TL
index 7c7d263e17d..55f9805db0d 100644
--- a/Build/source/texk/dvipng/ChangeLog.TL
+++ b/Build/source/texk/dvipng/ChangeLog.TL
@@ -1,8 +1,12 @@
Changes for teTeX / TeX live.
-2008-05-14 Peter Breitenlohner <peb@mppmu.mpg.de>
+2008-05-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* Imported release 1.10 from savannah.nongnu.org.
+ * *-1.10 (removed), *-1.11 (new): Original files.
+ * configure.ac: Updated for release 1.10.
+
+2008-05-14 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.in-1.10, aclocal.m4-1.10, config.h.in-1.10,
configure.ac-1.10, configure-1.10 (all new): Original files
diff --git a/Build/source/texk/dvipng/Makefile.in-1.10 b/Build/source/texk/dvipng/Makefile.in-1.11
index 0e2ce2eaa00..0e2ce2eaa00 100644
--- a/Build/source/texk/dvipng/Makefile.in-1.10
+++ b/Build/source/texk/dvipng/Makefile.in-1.11
diff --git a/Build/source/texk/dvipng/RELEASE b/Build/source/texk/dvipng/RELEASE
index 393590cbfa7..8b5c0c63b0a 100644
--- a/Build/source/texk/dvipng/RELEASE
+++ b/Build/source/texk/dvipng/RELEASE
@@ -1,9 +1,11 @@
-Release notes for version 1.10 of the dvipng package:
+Release notes for version 1.11 of the dvipng package:
This program makes PNG graphics from DVI files as obtained from TeX
and its relatives.
+The 1.11 release is a regression fix for v 1.10.
+
From v 1.10, dvipng will be available under the LGPL rather than the
GPL. This is because the GPL restricts inclusion in some rendering
systems out there. I have decided to change to LGPL because a) there
@@ -12,14 +14,14 @@ b) dvipng has been available (pre-release and release) for five years
now, which should be enough of a head start for the GNU community.
-The main code addition is limited support for literal PostScript
-specials, using gs. For example, most of the PSTricks package can now
-be rendered using dvipng. Unfortunately, dvipng can only handle
-drawing PostScript code at the moment, not PostScript code intended to
-make dvips + gs scale, rotate, or move DVI glyphs (characters). This
-is because the graphics state cannot be communicated back to dvipng
-from gs. So no guarantees. Also, the performance in terms of runtime
-could be better.
+The main code addition in v 1.10 is limited support for literal
+PostScript specials, using gs. For example, most of the PSTricks
+package can now be rendered using dvipng. Unfortunately, dvipng can
+only handle drawing PostScript code at the moment, not PostScript code
+intended to make dvips + gs scale, rotate, or move DVI glyphs
+(characters). This is because the graphics state cannot be
+communicated back to dvipng from gs. So no guarantees. Also, the
+performance in terms of runtime could be better.
Other changes include internal changes to the DVI stack, DVI flags,
some build issues on AIX and glyph-index-checking fixes.
diff --git a/Build/source/texk/dvipng/aclocal.m4-1.10 b/Build/source/texk/dvipng/aclocal.m4-1.11
index 0cd4eddf92e..0cd4eddf92e 100644
--- a/Build/source/texk/dvipng/aclocal.m4-1.10
+++ b/Build/source/texk/dvipng/aclocal.m4-1.11
diff --git a/Build/source/texk/dvipng/config.h.in-1.10 b/Build/source/texk/dvipng/config.h.in-1.11
index 9906c92971d..9906c92971d 100644
--- a/Build/source/texk/dvipng/config.h.in-1.10
+++ b/Build/source/texk/dvipng/config.h.in-1.11
diff --git a/Build/source/texk/dvipng/configure b/Build/source/texk/dvipng/configure
index b25af7cb2a0..8237432c893 100755
--- a/Build/source/texk/dvipng/configure
+++ b/Build/source/texk/dvipng/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.62 for dvipng 1.10.
+# Generated by GNU Autoconf 2.62 for dvipng 1.11.
#
# Report bugs to <dvipng@nongnu.org>.
#
@@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='dvipng'
PACKAGE_TARNAME='dvipng'
-PACKAGE_VERSION='1.10'
-PACKAGE_STRING='dvipng 1.10'
+PACKAGE_VERSION='1.11'
+PACKAGE_STRING='dvipng 1.11'
PACKAGE_BUGREPORT='dvipng@nongnu.org'
ac_unique_file="dvipng.c"
@@ -1311,7 +1311,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures dvipng 1.10 to adapt to many kinds of systems.
+\`configure' configures dvipng 1.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1372,7 +1372,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of dvipng 1.10:";;
+ short | recursive ) echo "Configuration of dvipng 1.11:";;
esac
cat <<\_ACEOF
@@ -1497,7 +1497,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-dvipng configure 1.10
+dvipng configure 1.11
generated by GNU Autoconf 2.62
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1511,7 +1511,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by dvipng $as_me 1.10, which was
+It was created by dvipng $as_me 1.11, which was
generated by GNU Autoconf 2.62. Invocation command line was
$ $0 $@
@@ -8547,7 +8547,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by dvipng $as_me 1.10, which was
+This file was extended by dvipng $as_me 1.11, which was
generated by GNU Autoconf 2.62. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8596,7 +8596,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-dvipng config.status 1.10
+dvipng config.status 1.11
configured by $0, generated by GNU Autoconf 2.62,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/Build/source/texk/dvipng/configure-1.10 b/Build/source/texk/dvipng/configure-1.11
index 9eb5ee384ac..0b0becfb4e5 100755
--- a/Build/source/texk/dvipng/configure-1.10
+++ b/Build/source/texk/dvipng/configure-1.11
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for dvipng 1.10.
+# Generated by GNU Autoconf 2.61 for dvipng 1.11.
#
# Report bugs to <dvipng@nongnu.org>.
#
@@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='dvipng'
PACKAGE_TARNAME='dvipng'
-PACKAGE_VERSION='1.10'
-PACKAGE_STRING='dvipng 1.10'
+PACKAGE_VERSION='1.11'
+PACKAGE_STRING='dvipng 1.11'
PACKAGE_BUGREPORT='dvipng@nongnu.org'
ac_unique_file="dvipng.c"
@@ -1193,7 +1193,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures dvipng 1.10 to adapt to many kinds of systems.
+\`configure' configures dvipng 1.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1254,7 +1254,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of dvipng 1.10:";;
+ short | recursive ) echo "Configuration of dvipng 1.11:";;
esac
cat <<\_ACEOF
@@ -1358,7 +1358,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-dvipng configure 1.10
+dvipng configure 1.11
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1372,7 +1372,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by dvipng $as_me 1.10, which was
+It was created by dvipng $as_me 1.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -8476,7 +8476,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by dvipng $as_me 1.10, which was
+This file was extended by dvipng $as_me 1.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8525,7 +8525,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-dvipng config.status 1.10
+dvipng config.status 1.11
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/Build/source/texk/dvipng/configure.ac b/Build/source/texk/dvipng/configure.ac
index 94259eb57da..da5aaf0a479 100644
--- a/Build/source/texk/dvipng/configure.ac
+++ b/Build/source/texk/dvipng/configure.ac
@@ -27,7 +27,7 @@
#************************************************************************
# Process this file with autoconf to produce a configure script.
-AC_INIT([dvipng], [1.10], [dvipng@nongnu.org])
+AC_INIT([dvipng], [1.11], [dvipng@nongnu.org])
AC_CONFIG_SRCDIR([dvipng.c])
AC_ARG_ENABLE(debug,
diff --git a/Build/source/texk/dvipng/configure.ac-1.10 b/Build/source/texk/dvipng/configure.ac-1.11
index a2f28d0b547..ffb69e1c495 100644
--- a/Build/source/texk/dvipng/configure.ac-1.10
+++ b/Build/source/texk/dvipng/configure.ac-1.11
@@ -23,7 +23,7 @@
#************************************************************************
# Process this file with autoconf to produce a configure script.
-AC_INIT([dvipng], [1.10], [dvipng@nongnu.org])
+AC_INIT([dvipng], [1.11], [dvipng@nongnu.org])
AC_CONFIG_SRCDIR([dvipng.c])
AC_ARG_ENABLE(debug,
diff --git a/Build/source/texk/dvipng/dvipng.1 b/Build/source/texk/dvipng/dvipng.1
index 9c87e71010d..d0107a35785 100644
--- a/Build/source/texk/dvipng/dvipng.1
+++ b/Build/source/texk/dvipng/dvipng.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -25,11 +25,11 @@
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
-.\" double quote, and \*(R" will give a right double quote. | will give a
-.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
-.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
-.\" expand to `' in nroff, nothing in troff, for use with C<>.
-.tr \(*W-|\(bv\*(Tr
+.\" double quote, and \*(R" will give a right double quote. \*(C+ will
+.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "DVIPNG 1"
-.TH DVIPNG 1 "2008-04-29" "dvipng 1.10" "User commands"
+.TH DVIPNG 1 "2008-05-14" "dvipng 1.11" "User commands"
.SH "NAME"
dvipng \- A DVI\-to\-PNG translator
.SH "SYNOPSIS"
@@ -230,7 +230,7 @@ a web page), and for a text font height of \fIfont_px\fR pixels (in
Mozilla) the correct formula is
.Sp
.Vb 1
-\& <dpi> = <font_px> * 72.27 / 10 [px * TeXpt/in / TeXpt]
+\& <dpi> = <font_px> * 72.27 / 10 [px * TeXpt/in / TeXpt]
.Ve
.Sp
The last division by ten is due to the standard font height 10pt in
@@ -240,7 +240,7 @@ have to rescale that to pixels, using the screen resolution (default
is usually 96 dpi) which means the formula is
.Sp
.Vb 1
-\& <font_px> = <font_pt> * 96 / 72 [pt * px/in / (pt/in)]
+\& <font_px> = <font_pt> * 96 / 72 [pt * px/in / (pt/in)]
.Ve
.Sp
On some high-res screens, the value is instead 120 dpi. Good luck!
@@ -254,7 +254,7 @@ vertical positioning of the image in, e.g., web documents, where one
would use (Cascading StyleSheets 1)
.Sp
.Vb 1
-\& <IMG SRC="<filename.png>" STYLE="vertical-align: -<depth>px">
+\& <IMG SRC="<filename.png>" STYLE="vertical\-align: \-<depth>px">
.Ve
.Sp
The depth is a negative offset in this case, so the minus sign is
@@ -479,18 +479,18 @@ your \fBlibgd\fR is new enough. The default compression level is 1,
which selects maximum speed at the price of slightly larger PNGs. For an
older \fBlibgd\fR, the hard-soldered value 5 is used. The include file
\&\fBpng.h\fR says
-``Currently, valid values range from 0 \- 9, corresponding directly to
-the zlib compression levels 0 \- 9 (0 \- no compression, 9 \- \*(L"maximal\*(R"
+\&\*(L"Currently, valid values range from 0 \- 9, corresponding directly to
+the zlib compression levels 0 \- 9 (0 \- no compression, 9 \- \*(R"maximal\*(L"
compression). Note that tests have shown that zlib compression levels
3\-6 usually perform as well as level 9 for \s-1PNG\s0 images, and do
considerably fewer calculations. In the future, these values may not
-correspond directly to the zlib compression levels.''
+correspond directly to the zlib compression levels.\*(R"
.SH "NOTES"
.IX Header "NOTES"
The full manual is accessible in the info format, on most systems by typing
.PP
.Vb 1
-\& info dvipng
+\& info dvipng
.Ve
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
diff --git a/Build/source/texk/dvipng/dvipng.texi b/Build/source/texk/dvipng/dvipng.texi
index 1fa1e81ceab..f19d17de1bc 100644
--- a/Build/source/texk/dvipng/dvipng.texi
+++ b/Build/source/texk/dvipng/dvipng.texi
@@ -9,7 +9,7 @@ dvipng [options] [filename] -
@c man end
@end ifset
-@set version 1.10
+@set version 1.11
@set month-year May 2008
@c Put everything in one index (arbitrarily chosen to be the concept index).
diff --git a/Build/source/texk/dvipng/special.c b/Build/source/texk/dvipng/special.c
index 2aee471169d..22b29cca8ec 100644
--- a/Build/source/texk/dvipng/special.c
+++ b/Build/source/texk/dvipng/special.c
@@ -436,6 +436,7 @@ void SetSpecial(char * special, int32_t hh, int32_t vv)
FILE* psstream;
#endif
+ PSCodeInit(&image, NULL);
TEMPSTR(image.filename,kpse_find_file(psname,kpse_pict_format,0));
if (MmapFile(image.filename,&(image.fmmap)) || image.fmmap.size==0) {
Warning("Image file %s unusable, image will be left blank",