1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
From 5b30ee424a2034dea0983d321f1da5334b61dd90 Mon Sep 17 00:00:00 2001
From: Didier Raboud <odyx@debian.org>
Date: Tue, 4 Oct 2016 11:43:59 +0200
Subject: Fix various spelling errors:
precission
supress
langauge
---
icc2ps/cmscgats.c | 2 +-
icc2ps/cmsio1.c | 2 +-
icc2ps/cmsmatsh.c | 4 ++--
icc2ps/cmsps2.c | 4 ++--
icc2ps/icc2ps.c | 4 ++--
oakdecode.c | 2 +-
qpdldecode.c | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/icc2ps/cmscgats.c b/icc2ps/cmscgats.c
index 042429f..db4ab3f 100644
--- a/icc2ps/cmscgats.c
+++ b/icc2ps/cmscgats.c
@@ -620,7 +620,7 @@ void ReadReal(LPIT8 it8, int inum)
if (it8->ch == '.') { // Decimal point
double frac = 0.0; // fraction
- int prec = 0; // precission
+ int prec = 0; // precision
NextCh(it8); // Eats dec. point
diff --git a/icc2ps/cmsio1.c b/icc2ps/cmsio1.c
index 9f9d6e4..1bd4e23 100644
--- a/icc2ps/cmsio1.c
+++ b/icc2ps/cmsio1.c
@@ -1162,7 +1162,7 @@ LCMSBOOL ReadCLUT(LPLCMSICCPROFILE Icc, size_t Offset, LPLUT NewLUT)
AdjustEndianessArray16(NewLUT ->T, NewLUT->Tsize / sizeof(WORD));
}
else {
- cmsSignalError(LCMS_ERRC_ABORTED, "Unknow precission of '%d'", CLUT.prec);
+ cmsSignalError(LCMS_ERRC_ABORTED, "Unknow precision of '%d'", CLUT.prec);
return FALSE;
}
diff --git a/icc2ps/cmsmatsh.c b/icc2ps/cmsmatsh.c
index 634c9f3..971f931 100644
--- a/icc2ps/cmsmatsh.c
+++ b/icc2ps/cmsmatsh.c
@@ -75,7 +75,7 @@ int ComputeTables(LPGAMMATABLE Table[3], LPWORD Out[3], LPL16PARAMS p16)
AllLinear += cmsIsLinear(PtrW, p16 -> nSamples);
}
- // If is all linear, then supress table interpolation (this
+ // If is all linear, then suppress table interpolation (this
// will speed greately some trivial operations.
// Return 1 if present, 0 if all linear
@@ -192,7 +192,7 @@ LPMATSHAPER cmsAllocMatShaper(LPMAT3 Matrix, LPGAMMATABLE Tables[], DWORD Behavi
AllLinear += cmsIsLinear(PtrW, NewMatShaper -> p16.nSamples);
}
- // If is all linear, then supress table interpolation (this
+ // If is all linear, then suppress table interpolation (this
// will speed greately some trivial operations
if (AllLinear != 3)
diff --git a/icc2ps/cmsps2.c b/icc2ps/cmsps2.c
index 6c352a7..31592e7 100644
--- a/icc2ps/cmsps2.c
+++ b/icc2ps/cmsps2.c
@@ -54,7 +54,7 @@ LCMSAPI DWORD LCMSEXPORT cmsGetPostScriptCRDEx(cmsHPROFILE hProfile, int Intent,
Color Space Arrays (CSA)
==================================================================================
- In order to obtain precission, code chooses between three ways to implement
+ In order to obtain precision, code chooses between three ways to implement
the device -> XYZ transform. These cases identifies monochrome profiles (often
implemented as a set of curves), matrix-shaper and LUT-based.
@@ -1456,7 +1456,7 @@ int WriteOutputLUT(LPMEMSTREAM m, cmsHPROFILE hProfile, int Intent, DWORD dwFlag
OutputFormat = CHANNELS_SH(nChannels) | BYTES_SH(2);
// For absolute colorimetric, the LUT is encoded as relative
- // in order to preserve precission.
+ // in order to preserve precision.
RelativeEncodingIntent = Intent;
if (RelativeEncodingIntent == INTENT_ABSOLUTE_COLORIMETRIC)
diff --git a/icc2ps/icc2ps.c b/icc2ps/icc2ps.c
index 7c7df2b..8f78a55 100644
--- a/icc2ps/icc2ps.c
+++ b/icc2ps/icc2ps.c
@@ -139,8 +139,8 @@ void Help(void)
fprintf(stderr, "%cb - Black point compensation (CRD only)\n", SW);
fprintf(stderr, "%cu - Do NOT generate resource name on CRD\n", SW);
- fprintf(stderr, "%cc<0,1,2> - Precission (0=LowRes, 1=Normal (default), 2=Hi-res) (CRD only)\n", SW);
- fprintf(stderr, "%cn<gridpoints> - Alternate way to set precission, number of CLUT points (CRD only)\n", SW);
+ fprintf(stderr, "%cc<0,1,2> - Precision (0=LowRes, 1=Normal (default), 2=Hi-res) (CRD only)\n", SW);
+ fprintf(stderr, "%cn<gridpoints> - Alternate way to set precision, number of CLUT points (CRD only)\n", SW);
fprintf(stderr, "\n");
fprintf(stderr, "This program is intended to be a demo of the little cms\n"
diff --git a/oakdecode.c b/oakdecode.c
index 0653954..2ec1b1e 100644
--- a/oakdecode.c
+++ b/oakdecode.c
@@ -101,7 +101,7 @@ usage(void)
"Options:\n"
" -d basename Basename of .pbm file for saving decompressed planes\n"
" -r basename Basename of .jbg file for saving raw planes\n"
-" -i Supress display of image records\n"
+" -i Suppress display of image records\n"
" -o Print file offsets\n"
" -D lvl Set Debug level [%d]\n"
, Debug
diff --git a/qpdldecode.c b/qpdldecode.c
index d6336df..633ba97 100644
--- a/qpdldecode.c
+++ b/qpdldecode.c
@@ -82,7 +82,7 @@ usage(void)
"\n"
" Decode a QPDL stream into human readable form.\n"
"\n"
-" A Quick Page Description Langauge (QPDL) is the printer language"
+" A Quick Page Description language (QPDL) is the printer language"
" used by some Samsung printers, such as the CLP-600n.\n"
"\n"
" Also known as SPLC."
|