Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rwxr-xr-xconfig.guess2
-rw-r--r--include/lcms2.h2
-rw-r--r--ltmain.sh4
-rw-r--r--src/cmscgats.c2
-rw-r--r--src/cmscnvrt.c2
-rw-r--r--src/cmserr.c2
-rw-r--r--src/cmsgamma.c4
-rw-r--r--src/cmsio0.c4
-rw-r--r--src/cmsplugin.c2
-rw-r--r--src/cmstypes.c4
-rw-r--r--testbed/Makefile.am2
-rw-r--r--testbed/Makefile.in2
-rw-r--r--testbed/testcms2.c4
-rw-r--r--utils/delphi/lcms2dll.pas4
-rw-r--r--utils/jpgicc/jpgicc.c2
-rw-r--r--utils/samples/itufax.c2
17 files changed, 23 insertions, 23 deletions
diff --git a/ChangeLog b/ChangeLog
index 655a5aa..6739c22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -146,7 +146,7 @@ Fixed a 0 byte allocation issue in _cmsCreateSubAllocChunk
Pascal unit now is supported by Free Pascal Compiler
Fixed a bug on ReadRAWtag
Added dictionary metatag support
-Fixed a bug in black preservation and sligtly non-monotonic curves
+Fixed a bug in black preservation and slightly non-monotonic curves
Added named color functionality
Fixed a bug that made crash black preservation on CMYK2CMYK devicelinks
Added functions to retrieve formatters from transforms
diff --git a/config.guess b/config.guess
index 6c32c86..e746461 100755
--- a/config.guess
+++ b/config.guess
@@ -1100,7 +1100,7 @@ EOF
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i586.
# Note: whatever this is, it MUST be the same as what config.sub
- # prints for the "djgpp" host, or else GDB configury will decide that
+ # prints for the "djgpp" host, or else GDB configuration will decide that
# this is a cross-build.
echo i586-pc-msdosdjgpp
exit ;;
diff --git a/include/lcms2.h b/include/lcms2.h
index 9e7ee4c..345672c 100644
--- a/include/lcms2.h
+++ b/include/lcms2.h
@@ -1644,7 +1644,7 @@ CMSAPI cmsUInt32Number CMSEXPORT cmsGetSupportedIntentsTHR(cmsContext ContextID
// Misc
#define cmsFLAGS_BLACKPOINTCOMPENSATION 0x2000
#define cmsFLAGS_NOWHITEONWHITEFIXUP 0x0004 // Don't fix scum dot
-#define cmsFLAGS_HIGHRESPRECALC 0x0400 // Use more memory to give better accurancy
+#define cmsFLAGS_HIGHRESPRECALC 0x0400 // Use more memory to give better accuracy
#define cmsFLAGS_LOWRESPRECALC 0x0800 // Use less memory to minimize resources
// For devicelink creation
diff --git a/ltmain.sh b/ltmain.sh
index b395429..1b425a2 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -189,7 +189,7 @@ func_basename ()
# to NONDIR_REPLACEMENT.
# value returned in "$func_dirname_result"
# basename: Compute filename of FILE.
-# value retuned in "$func_basename_result"
+# value returned in "$func_basename_result"
# Implementation must be kept synchronized with func_dirname
# and func_basename. For efficiency, we do not delegate to
# those functions but instead duplicate the functionality here.
@@ -4394,7 +4394,7 @@ EOF
{
/* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
namespace, but it is not one of the ones we know about and
- have already dealt with, above (inluding dump-script), then
+ have already dealt with, above (including dump-script), then
report an error. Otherwise, targets might begin to believe
they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
namespace. The first time any user complains about this, we'll
diff --git a/src/cmscgats.c b/src/cmscgats.c
index e5ad269..6532f64 100644
--- a/src/cmscgats.c
+++ b/src/cmscgats.c
@@ -129,7 +129,7 @@ typedef struct _Table {
// File stream being parsed
typedef struct _FileContext {
- char FileName[cmsMAX_PATH]; // File name if being readed from file
+ char FileName[cmsMAX_PATH]; // File name if being read from file
FILE* Stream; // File stream or NULL if holded in memory
} FILECTX;
diff --git a/src/cmscnvrt.c b/src/cmscnvrt.c
index 082f1f8..1219cf9 100644
--- a/src/cmscnvrt.c
+++ b/src/cmscnvrt.c
@@ -873,7 +873,7 @@ int BlackPreservingSampler(register const cmsUInt16Number In[], register cmsUInt
return TRUE;
}
- // K differ, mesure and keep Lab measurement for further usage
+ // K differ, measure and keep Lab measurement for further usage
// this is done in relative colorimetric intent
cmsDoTransform(bp->hProofOutput, Out, &ColorimetricLab, 1);
diff --git a/src/cmserr.c b/src/cmserr.c
index 30408f8..1c2d0d0 100644
--- a/src/cmserr.c
+++ b/src/cmserr.c
@@ -435,7 +435,7 @@ void* _cmsSubAllocDup(_cmsSubAllocator* s, const void *ptr, cmsUInt32Number size
// There is no error handling at all. When a function fails, it returns proper value.
// For example, all create functions does return NULL on failure. Other return FALSE
// It may be interesting, for the developer, to know why the function is failing.
-// for that reason, lcms2 does offer a logging function. This function does recive
+// for that reason, lcms2 does offer a logging function. This function does receive
// a ENGLISH string with some clues on what is going wrong. You can show this
// info to the end user, or just create some sort of log.
// The logging function should NOT terminate the program, as this obviously can leave
diff --git a/src/cmsgamma.c b/src/cmsgamma.c
index dccade2..8bd212c 100644
--- a/src/cmsgamma.c
+++ b/src/cmsgamma.c
@@ -817,7 +817,7 @@ cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cm
//
// Parameters goes as: Curve, a, b, c, d, e, f
// Type is the ICC type +1
-// if type is negative, then the curve is analyticaly inverted
+// if type is negative, then the curve is analytically inverted
cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[])
{
cmsCurveSegment Seg0;
@@ -1258,7 +1258,7 @@ cmsBool CMSEXPORT cmsSmoothToneCurve(cmsToneCurve* Tab, cmsFloat64Number lambda
}
// Is a table linear? Do not use parametric since we cannot guarantee some weird parameters resulting
-// in a linear table. This way assures it is linear in 12 bits, which should be enought in most cases.
+// in a linear table. This way assures it is linear in 12 bits, which should be enough in most cases.
cmsBool CMSEXPORT cmsIsToneCurveLinear(const cmsToneCurve* Curve)
{
int i;
diff --git a/src/cmsio0.c b/src/cmsio0.c
index 0019180..90c79d0 100644
--- a/src/cmsio0.c
+++ b/src/cmsio0.c
@@ -1564,7 +1564,7 @@ void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig)
if (!IsTypeSupported(TagDescriptor, BaseType)) goto Error;
- TagSize -= 8; // Alredy read by the type base logic
+ TagSize -= 8; // Already read by the type base logic
// Get type handler
TypeHandler = _cmsGetTagTypeHandler(Icc ->ContextID, BaseType);
@@ -1815,7 +1815,7 @@ cmsUInt32Number CMSEXPORT cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature si
return Icc ->TagSizes[i];
}
- // Already readed, or previously set by cmsWriteTag(). We need to serialize that
+ // Already read, or previously set by cmsWriteTag(). We need to serialize that
// data to raw in order to maintain consistency.
_cmsUnlockMutex(Icc->ContextID, Icc ->UsrMutex);
diff --git a/src/cmsplugin.c b/src/cmsplugin.c
index d54b4d1..a4a5d5c 100644
--- a/src/cmsplugin.c
+++ b/src/cmsplugin.c
@@ -33,7 +33,7 @@
// Little-Endian to Big-Endian
-// Adjust a word value after being readed/ before being written from/to an ICC profile
+// Adjust a word value after being read/ before being written from/to an ICC profile
cmsUInt16Number CMSEXPORT _cmsAdjustEndianess16(cmsUInt16Number Word)
{
#ifndef CMS_USE_BIG_ENDIAN
diff --git a/src/cmstypes.c b/src/cmstypes.c
index 1990b81..521bef0 100644
--- a/src/cmstypes.c
+++ b/src/cmstypes.c
@@ -166,7 +166,7 @@ typedef cmsBool (* PositionTableEntryFn)(struct _cms_typehandler_struct* self,
cmsUInt32Number SizeOfTag);
// Helper function to deal with position tables as described in ICC spec 4.3
-// A table of n elements is readed, where first comes n records containing offsets and sizes and
+// A table of n elements is read, where first comes n records containing offsets and sizes and
// then a block containing the data itself. This allows to reuse same data in more than one entry
static
cmsBool ReadPositionTable(struct _cms_typehandler_struct* self,
@@ -1480,7 +1480,7 @@ void *Type_MLU_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsU
// True begin of the string
BeginOfThisString = Offset - SizeOfHeader - 8;
- // Ajust to wchar_t elements
+ // Adjust to wchar_t elements
mlu ->Entries[i].Len = (Len * sizeof(wchar_t)) / sizeof(cmsUInt16Number);
mlu ->Entries[i].StrW = (BeginOfThisString * sizeof(wchar_t)) / sizeof(cmsUInt16Number);
diff --git a/testbed/Makefile.am b/testbed/Makefile.am
index 85e8711..50e3439 100644
--- a/testbed/Makefile.am
+++ b/testbed/Makefile.am
@@ -12,7 +12,7 @@ check_PROGRAMS = testcms
# CFLAGS = --pedantic -Wall -std=c99 -O2
# The testsuite binary is statically linked. This is necessary as it uses some
-# of the internal funtions that are not necessarily exported by the shared
+# of the internal functions that are not necessarily exported by the shared
# library.
testcms_LDADD = $(top_builddir)/src/liblcms2.la
testcms_LDFLAGS = -static @LDFLAGS@
diff --git a/testbed/Makefile.in b/testbed/Makefile.in
index 8577093..efc8c2b 100644
--- a/testbed/Makefile.in
+++ b/testbed/Makefile.in
@@ -330,7 +330,7 @@ AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/
# CFLAGS = --pedantic -Wall -std=c99 -O2
# The testsuite binary is statically linked. This is necessary as it uses some
-# of the internal funtions that are not necessarily exported by the shared
+# of the internal functions that are not necessarily exported by the shared
# library.
testcms_LDADD = $(top_builddir)/src/liblcms2.la
testcms_LDFLAGS = -static @LDFLAGS@
diff --git a/testbed/testcms2.c b/testbed/testcms2.c
index 16c54f4..7bf17ad 100644
--- a/testbed/testcms2.c
+++ b/testbed/testcms2.c
@@ -70,7 +70,7 @@ void Die(const char* Reason, ...)
// maximum requested as a single block and maximum allocated at a given time. Results are printed at the end
static cmsUInt32Number SingleHit, MaxAllocated=0, TotalMemory=0;
-// I'm hidding the size before the block. This is a well-known technique and probably the blocks coming from
+// I'm hiding the size before the block. This is a well-known technique and probably the blocks coming from
// malloc are built in a way similar to that, but I do on my own to be portable.
typedef struct {
cmsUInt32Number KeepSize;
@@ -9074,7 +9074,7 @@ int main(int argc, char* argv[])
Check("RGB->Lab->RGB with alpha on FLT", ChecksRGB2LabFLT);
Check("Parametric curve on Rec709", CheckParametricRec709);
Check("Floating Point sampled curve with non-zero start", CheckFloatSamples);
- Check("Floating Point segmented curve with short sampled segement", CheckFloatSegments);
+ Check("Floating Point segmented curve with short sampled segment", CheckFloatSegments);
Check("Read RAW portions", CheckReadRAW);
Check("Check MetaTag", CheckMeta);
Check("Null transform on floats", CheckFloatNULLxform);
diff --git a/utils/delphi/lcms2dll.pas b/utils/delphi/lcms2dll.pas
index b8cccdc..9af7a0d 100644
--- a/utils/delphi/lcms2dll.pas
+++ b/utils/delphi/lcms2dll.pas
@@ -1328,7 +1328,7 @@ FUNCTION cmsCloseIOhandler(io: LPcmsIOHANDLER): cmsBool; StdCall;
FUNCTION cmsMD5computeID(hProfile: cmsHPROFILE): cmsBool; StdCall;
-// Profile high level funtions ------------------------------------------------------------------------------------------
+// Profile high level functions ------------------------------------------------------------------------------------------
FUNCTION cmsOpenProfileFromFile(ICCProfile : PAnsiChar; sAccess: PAnsiChar): cmsHPROFILE; StdCall;
FUNCTION cmsOpenProfileFromFileTHR(ContextID: cmsContext; ICCProfile, sAccess: PAnsiChar): cmsHPROFILE; StdCall;
@@ -1448,7 +1448,7 @@ cmsFLAGS_SOFTPROOFING = $4000; // Do softproofing
// Misc
cmsFLAGS_BLACKPOINTCOMPENSATION = $2000;
cmsFLAGS_NOWHITEONWHITEFIXUP = $0004; // Don't fix scum dot
-cmsFLAGS_HIGHRESPRECALC = $0400; // Use more memory to give better accurancy
+cmsFLAGS_HIGHRESPRECALC = $0400; // Use more memory to give better accuracy
cmsFLAGS_LOWRESPRECALC = $0800; // Use less memory to minimize resouces
// For devicelink creation
diff --git a/utils/jpgicc/jpgicc.c b/utils/jpgicc/jpgicc.c
index 93ac7f5..ea9e655 100644
--- a/utils/jpgicc/jpgicc.c
+++ b/utils/jpgicc/jpgicc.c
@@ -170,7 +170,7 @@ void Lab2ITU(const cmsCIELab* Lab, cmsUInt16Number Out[3])
// once for each node. In[] will contain the Lab PCS value to convert to ITUFAX
// on PCS2ITU, or the ITUFAX value to convert to Lab in ITU2PCS
// You can change the number of sample points if desired, the algorithm will
-// remain same. 33 points gives good accurancy, but you can reduce to 22 or less
+// remain same. 33 points gives good accuracy, but you can reduce to 22 or less
// is space is critical
#define GRID_POINTS 33
diff --git a/utils/samples/itufax.c b/utils/samples/itufax.c
index 72651c8..6bad87e 100644
--- a/utils/samples/itufax.c
+++ b/utils/samples/itufax.c
@@ -59,7 +59,7 @@ void Lab2ITU(LPcmsCIELab Lab, WORD Out[3])
// once for each node. In[] will contain the Lab PCS value to convert to ITUFAX
// on InputDirection, or the ITUFAX value to convert to Lab in OutputDirection
// You can change the number of sample points if desired, the algorithm will
-// remain same. 33 points gives good accurancy, but you can reduce to 22 or less
+// remain same. 33 points gives good accuracy, but you can reduce to 22 or less
// is space is critical
#define GRID_POINTS 33