summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/t1.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/t1.c')
-rw-r--r--Build/source/texk/dvipng/t1.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/Build/source/texk/dvipng/t1.c b/Build/source/texk/dvipng/t1.c
index 3fadfac3f6c..ba8a4a17d9a 100644
--- a/Build/source/texk/dvipng/t1.c
+++ b/Build/source/texk/dvipng/t1.c
@@ -4,21 +4,22 @@
Part of the dvipng distribution
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License along with this program. If not, see
- <http://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301 USA.
- Copyright (C) 2002-2008 Jan-Åke Larsson
+ Copyright (C) 2002-2005 Jan-Åke Larsson
************************************************************************/
@@ -131,7 +132,7 @@ bool InitT1(struct font_entry * tfontp)
if ((libt1=T1_InitLib( NO_LOGFILE | IGNORE_CONFIGFILE
| IGNORE_FONTDATABASE | T1_NO_AFM)) == NULL) {
Warning("an error occured during t1lib initialisation, disabling it");
- option_flags &= ~USE_LIBT1;
+ flags &= ~USE_LIBT1;
return(false);
}
# ifdef DEBUG
@@ -179,7 +180,7 @@ void DoneT1(struct font_entry *tfontp)
int error = T1_DeleteFont( tfontp->T1id );
if (error)
Warning("font file %s could not be closed", tfontp->name);
- while(c<NFNTCHARS) {
+ while(c<NFNTCHARS-1) {
if (tfontp->chr[c]!=NULL) {
UnLoadT1((struct char_entry*)tfontp->chr[c]);
free(tfontp->chr[c]);