From 9491825ddff7a294d1f49061bae7044e426aeb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 6 Nov 2015 05:38:49 +0100 Subject: Imported Upstream version 1.8.3 --- target/ColorChecker.ti2 | 0 target/ECI2002.ti2 | 0 target/ECI2002R.ti2 | 0 target/FograStrip2.ti1 | 0 target/FograStrip2_2.ti2 | 0 target/FograStrip3.ti1 | 0 target/FograStrip3_3.ti2 | 0 target/Jamfile | 0 target/License.txt | 0 target/Readme.txt | 0 target/afiles | 0 target/alphix.c | 0 target/alphix.h | 0 target/filmtarg.c | 0 target/i1_RGB_Scan_1.4.ti2 | 0 target/ifarp.c | 4 ++-- target/ifarp.h | 5 +++-- target/ofps.c | 0 target/ofps.h | 0 target/ppoint.c | 0 target/ppoint.h | 0 target/prand.c | 0 target/prand.h | 0 target/printtarg.c | 14 +++++++++----- target/randix.c | 0 target/randix.h | 0 target/simdlat.c | 0 target/simdlat.h | 0 target/simplat.c | 0 target/simplat.h | 0 target/targen.c | 2 +- target/targen.h | 0 32 files changed, 15 insertions(+), 10 deletions(-) mode change 100644 => 100755 target/ColorChecker.ti2 mode change 100644 => 100755 target/ECI2002.ti2 mode change 100644 => 100755 target/ECI2002R.ti2 mode change 100644 => 100755 target/FograStrip2.ti1 mode change 100644 => 100755 target/FograStrip2_2.ti2 mode change 100644 => 100755 target/FograStrip3.ti1 mode change 100644 => 100755 target/FograStrip3_3.ti2 mode change 100644 => 100755 target/Jamfile mode change 100644 => 100755 target/License.txt mode change 100644 => 100755 target/Readme.txt mode change 100644 => 100755 target/afiles mode change 100644 => 100755 target/alphix.c mode change 100644 => 100755 target/alphix.h mode change 100644 => 100755 target/filmtarg.c mode change 100644 => 100755 target/i1_RGB_Scan_1.4.ti2 mode change 100644 => 100755 target/ifarp.c mode change 100644 => 100755 target/ifarp.h mode change 100644 => 100755 target/ofps.c mode change 100644 => 100755 target/ofps.h mode change 100644 => 100755 target/ppoint.c mode change 100644 => 100755 target/ppoint.h mode change 100644 => 100755 target/prand.c mode change 100644 => 100755 target/prand.h mode change 100644 => 100755 target/printtarg.c mode change 100644 => 100755 target/randix.c mode change 100644 => 100755 target/randix.h mode change 100644 => 100755 target/simdlat.c mode change 100644 => 100755 target/simdlat.h mode change 100644 => 100755 target/simplat.c mode change 100644 => 100755 target/simplat.h mode change 100644 => 100755 target/targen.c mode change 100644 => 100755 target/targen.h (limited to 'target') diff --git a/target/ColorChecker.ti2 b/target/ColorChecker.ti2 old mode 100644 new mode 100755 diff --git a/target/ECI2002.ti2 b/target/ECI2002.ti2 old mode 100644 new mode 100755 diff --git a/target/ECI2002R.ti2 b/target/ECI2002R.ti2 old mode 100644 new mode 100755 diff --git a/target/FograStrip2.ti1 b/target/FograStrip2.ti1 old mode 100644 new mode 100755 diff --git a/target/FograStrip2_2.ti2 b/target/FograStrip2_2.ti2 old mode 100644 new mode 100755 diff --git a/target/FograStrip3.ti1 b/target/FograStrip3.ti1 old mode 100644 new mode 100755 diff --git a/target/FograStrip3_3.ti2 b/target/FograStrip3_3.ti2 old mode 100644 new mode 100755 diff --git a/target/Jamfile b/target/Jamfile old mode 100644 new mode 100755 diff --git a/target/License.txt b/target/License.txt old mode 100644 new mode 100755 diff --git a/target/Readme.txt b/target/Readme.txt old mode 100644 new mode 100755 diff --git a/target/afiles b/target/afiles old mode 100644 new mode 100755 diff --git a/target/alphix.c b/target/alphix.c old mode 100644 new mode 100755 diff --git a/target/alphix.h b/target/alphix.h old mode 100644 new mode 100755 diff --git a/target/filmtarg.c b/target/filmtarg.c old mode 100644 new mode 100755 diff --git a/target/i1_RGB_Scan_1.4.ti2 b/target/i1_RGB_Scan_1.4.ti2 old mode 100644 new mode 100755 diff --git a/target/ifarp.c b/target/ifarp.c old mode 100644 new mode 100755 index 544f316..03fc914 --- a/target/ifarp.c +++ b/target/ifarp.c @@ -310,6 +310,7 @@ ifarp_del(ifarp *s) { /* Constructor */ ifarp *new_ifarp( +int verb, /* Verbosity */ int di, /* Dimensionality of device space */ double ilimit, /* Ink limit (sum of device coords max) */ int inp, /* Number of points to generate */ @@ -320,7 +321,6 @@ void *od /* context for Perceptual function */ ) { ifarp *s; int e, i; - int verb = 1; #ifdef DEBUG printf("new_ifarp called with di %d, inp %d, fxno = %d\n",di,inp,fxno); @@ -855,7 +855,7 @@ char *argv[]; error ("Creation of xcolorant lu object failed"); /* Create the required points */ - s = new_ifarp(di, 1.5, npoints, NULL, 0, sa_percept, (void *)NULL); + s = new_ifarp(1, di, 1.5, npoints, NULL, 0, sa_percept, (void *)NULL); #ifdef DEBUG /* Dump perceptual map */ diff --git a/target/ifarp.h b/target/ifarp.h old mode 100644 new mode 100755 index 083411b..ee18840 --- a/target/ifarp.h +++ b/target/ifarp.h @@ -59,9 +59,10 @@ struct _ifarp { }; typedef struct _ifarp ifarp; /* Constructor */ -extern ifarp *new_ifarp(int di, double ilimit, int npoints, +extern ifarp *new_ifarp(int verb, int di, double ilimit, int npoints, fxpos *fxlist, int fxno, - void (*percept)(void *od, double *out, double *in), void *od); + void (*percept)(void *od, double *out, double *in), void *od +); #define IFARP_H #endif /* IFARP_H */ diff --git a/target/ofps.c b/target/ofps.c old mode 100644 new mode 100755 diff --git a/target/ofps.h b/target/ofps.h old mode 100644 new mode 100755 diff --git a/target/ppoint.c b/target/ppoint.c old mode 100644 new mode 100755 diff --git a/target/ppoint.h b/target/ppoint.h old mode 100644 new mode 100755 diff --git a/target/prand.c b/target/prand.c old mode 100644 new mode 100755 diff --git a/target/prand.h b/target/prand.h old mode 100644 new mode 100755 diff --git a/target/printtarg.c b/target/printtarg.c old mode 100644 new mode 100755 index 863537f..1b03b3c --- a/target/printtarg.c +++ b/target/printtarg.c @@ -2912,8 +2912,8 @@ void usage(char *diag, ...) { fprintf(stderr," -b Force B&W spacers\n"); fprintf(stderr," -n Force no spacers\n"); fprintf(stderr," -f Create PostScript DeviceN Color fallback\n"); - fprintf(stderr," -w g|r|s|n White colorspace encoding DeviceGray (def), DeviceRGB, Separation or DeviceN\n"); - fprintf(stderr," -k g|c|s|n Black colorspace encoding DeviceGray (def), DeviceCMYK, Separation or DeviceN\n"); + fprintf(stderr," -w g|r|s|n White colorspace encoding: DeviceGray (def), DeviceRGB, Separation or DeviceN\n"); + fprintf(stderr," -k g|c|s|n Black colorspace encoding: DeviceGray (def), DeviceCMYK, Separation or DeviceN\n"); fprintf(stderr," -o k|r|n CMY colorspace encoding DeviceCMYK (def), inverted DeviceRGB or DeviceN\n"); fprintf(stderr," -e Output EPS compatible file\n"); fprintf(stderr," -t [res] Output 8 bit TIFF raster file, optional res DPI (default 100)\n"); @@ -3645,12 +3645,16 @@ char *argv[]; } } - if (verb) { - if (pap != NULL) + if (pap != NULL) { + sprintf(buf, "%.1fx%.1f",pap->w, pap->h); + if (verb) printf("Paper chosen is %s [%.1f x %.1f mm]\n", pap->name, pap->w, pap->h); - else + } else { + sprintf(buf, "%.1fx%.1f",cwidth, cheight); + if (verb) printf("Paper chosen is custom %.1f x %.1f mm\n", cwidth, cheight); } + ocg->add_kword(ocg, 0, "PAPER_SIZE", buf, NULL); if (rstart == -1) { rstart = clk % npat; diff --git a/target/randix.c b/target/randix.c old mode 100644 new mode 100755 diff --git a/target/randix.h b/target/randix.h old mode 100644 new mode 100755 diff --git a/target/simdlat.c b/target/simdlat.c old mode 100644 new mode 100755 diff --git a/target/simdlat.h b/target/simdlat.h old mode 100644 new mode 100755 diff --git a/target/simplat.c b/target/simplat.c old mode 100644 new mode 100755 diff --git a/target/simplat.h b/target/simplat.h old mode 100644 new mode 100755 diff --git a/target/targen.c b/target/targen.c old mode 100644 new mode 100755 index 4d1d7ac..a29ef63 --- a/target/targen.c +++ b/target/targen.c @@ -2165,7 +2165,7 @@ int main(int argc, char *argv[]) { /* for some of these (new_prand). */ if (uselat) { /* A "greedy"/incremental far point approach */ - t = new_ifarp(di, uilimit, fsteps, fxlist, fxno, + t = new_ifarp(verb, di, uilimit, fsteps, fxlist, fxno, (void(*)(void *, double *, double *))pdata->dev_to_perc, (void *)pdata); sprintf(buf,"%d",fsteps - fxno); pp->add_kword(pp, 0, "IFP_PATCHES", buf, NULL); diff --git a/target/targen.h b/target/targen.h old mode 100644 new mode 100755 -- cgit v1.2.3