diff options
author | George Williams <gww@silcom.com> | 2003-01-22 19:55:21 +0000 |
---|---|---|
committer | George Williams <gww@silcom.com> | 2003-01-22 19:55:21 +0000 |
commit | 533aa2b7439f3cef1cfcfc0fbfdc16b2857e59f7 (patch) | |
tree | 957d33a780409b2bbb461927bd649c14c153c15c | |
parent | 06da06f93cc270090edaa7b4038d6c7d43609082 (diff) |
Change copyrights.
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | fondu.c | 8 | ||||
-rw-r--r-- | frommacbinary.c | 2 | ||||
-rw-r--r-- | macfonts.h | 2 | ||||
-rw-r--r-- | readnfnt.c | 2 | ||||
-rw-r--r-- | res2data.c | 2 | ||||
-rw-r--r-- | showfond.c | 8 | ||||
-rw-r--r-- | tomacbinary.c | 2 | ||||
-rw-r--r-- | ufond.h | 2 | ||||
-rw-r--r-- | ufondbdf.c | 2 | ||||
-rw-r--r-- | ufondpfb.c | 2 | ||||
-rw-r--r-- | ufondttf.c | 2 |
12 files changed, 18 insertions, 18 deletions
@@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: |