summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <gww@silcom.com>2003-01-22 19:55:21 +0000
committerGeorge Williams <gww@silcom.com>2003-01-22 19:55:21 +0000
commit533aa2b7439f3cef1cfcfc0fbfdc16b2857e59f7 (patch)
tree957d33a780409b2bbb461927bd649c14c153c15c
parent06da06f93cc270090edaa7b4038d6c7d43609082 (diff)
Change copyrights.
-rw-r--r--LICENSE2
-rw-r--r--fondu.c8
-rw-r--r--frommacbinary.c2
-rw-r--r--macfonts.h2
-rw-r--r--readnfnt.c2
-rw-r--r--res2data.c2
-rw-r--r--showfond.c8
-rw-r--r--tomacbinary.c2
-rw-r--r--ufond.h2
-rw-r--r--ufondbdf.c2
-rw-r--r--ufondpfb.c2
-rw-r--r--ufondttf.c2
12 files changed, 18 insertions, 18 deletions
diff --git a/LICENSE b/LICENSE
index 5ad2c3a..e8c4d01 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-PfaEdit is copyright (C) 2000,2001,2002 by George Williams
+PfaEdit is copyright (C) 2000,2001,2002,2003 by George Williams
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff --git a/fondu.c b/fondu.c
index ca5bcd1..c729e63 100644
--- a/fondu.c
+++ b/fondu.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -312,8 +312,8 @@ static FOND *BuildFondList(FILE *f,long rlistpos,int subcnt,long rdata_pos,
cur->stylewidths = calloc(cnt,sizeof(struct stylewidths));
for ( j=0; j<cnt; ++j ) {
cur->stylewidths[j].style = getushort(f);
- cur->stylewidths[j].widthtab = malloc((cur->last-cur->first+1)*sizeof(short));
- for ( k=cur->first; k<=cur->last; ++k )
+ cur->stylewidths[j].widthtab = malloc((cur->last-cur->first+3)*sizeof(short));
+ for ( k=cur->first; k<=cur->last+2; ++k )
cur->stylewidths[j].widthtab[k] = getushort(f);
}
}
@@ -326,7 +326,7 @@ static FOND *BuildFondList(FILE *f,long rlistpos,int subcnt,long rdata_pos,
cur->stylekerns = calloc(cnt,sizeof(struct stylekerns));
for ( j=0; j<cnt; ++j ) {
cur->stylekerns[j].style = getushort(f);
- cur->stylekerns[j].kernpairs = getushort(f)+1;
+ cur->stylekerns[j].kernpairs = getushort(f);
cur->stylekerns[j].kerns = malloc(cur->stylekerns[j].kernpairs*sizeof(struct kerns));
for ( k=0; k<cur->stylekerns[j].kernpairs; ++k ) {
cur->stylekerns[j].kerns[k].ch1 = getc(f);
diff --git a/frommacbinary.c b/frommacbinary.c
index 4424dfa..d9ab869 100644
--- a/frommacbinary.c
+++ b/frommacbinary.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 by George Williams */
+/* Copyright (C) 2002-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/macfonts.h b/macfonts.h
index 41461d8..e05199e 100644
--- a/macfonts.h
+++ b/macfonts.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/readnfnt.c b/readnfnt.c
index d9dde25..aef57a4 100644
--- a/readnfnt.c
+++ b/readnfnt.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/res2data.c b/res2data.c
index 8ea7d9c..eef9d08 100644
--- a/res2data.c
+++ b/res2data.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 by George Williams */
+/* Copyright (C) 2002-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/showfond.c b/showfond.c
index 1f9f037..01d8203 100644
--- a/showfond.c
+++ b/showfond.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -176,9 +176,9 @@ static FOND *BuildFondList(FILE *f,long rlistpos,int subcnt,long rdata_pos,
cur->stylewidths = calloc(cnt,sizeof(struct stylewidths));
for ( j=0; j<cnt; ++j ) {
cur->stylewidths[j].style = getushort(f);
- cur->stylewidths[j].widthtab = malloc((cur->last-cur->first+1)*sizeof(short));
+ cur->stylewidths[j].widthtab = malloc((cur->last-cur->first+3)*sizeof(short));
printf( " Style=%x\n", cur->stylewidths[j].style);
- for ( k=cur->first; k<=cur->last; ++k )
+ for ( k=cur->first; k<=cur->last+2; ++k )
cur->stylewidths[j].widthtab[k] = getushort(f);
}
if ( cnt>0 ) {
@@ -196,7 +196,7 @@ static FOND *BuildFondList(FILE *f,long rlistpos,int subcnt,long rdata_pos,
cur->stylekerns = calloc(cnt,sizeof(struct stylekerns));
for ( j=0; j<cnt; ++j ) {
cur->stylekerns[j].style = getushort(f);
- cur->stylekerns[j].kernpairs = getushort(f)+1;
+ cur->stylekerns[j].kernpairs = getushort(f);
cur->stylekerns[j].kerns = malloc(cur->stylekerns[j].kernpairs*sizeof(struct kerns));
printf( " Style=%x kernpairs=%d\n", cur->stylekerns[j].style,cur->stylekerns[j].kernpairs);
for ( k=0; k<cur->stylekerns[j].kernpairs; ++k ) {
diff --git a/tomacbinary.c b/tomacbinary.c
index d5f0420..e1f297f 100644
--- a/tomacbinary.c
+++ b/tomacbinary.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 by George Williams */
+/* Copyright (C) 2002-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/ufond.h b/ufond.h
index a578787..dfe0dd3 100644
--- a/ufond.h
+++ b/ufond.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/ufondbdf.c b/ufondbdf.c
index a6162b8..58ade0d 100644
--- a/ufondbdf.c
+++ b/ufondbdf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/ufondpfb.c b/ufondpfb.c
index 660c21f..2ae46ba 100644
--- a/ufondpfb.c
+++ b/ufondpfb.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/ufondttf.c b/ufondttf.c
index 24ea464..28f346a 100644
--- a/ufondttf.c
+++ b/ufondttf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 by George Williams */
+/* Copyright (C) 2001-2003 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: