Commit 5c1b8f6e authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent ab0561ee
......@@ -1385,7 +1385,7 @@ HAVE_DOT = YES
# directory and reference it in all dot files that doxygen generates. This
# font does not include all possible unicode characters however, so when you need
# these (or just want a differently looking font) you can specify the font name
# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
# using DOT_FONTNAME. You need to make sure dot is able to find the font,
# which can be done by putting it in a standard location or by setting the
# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
# containing the font.
......
......@@ -312,7 +312,7 @@ public:
DColor getSubPixelColor(float x, float y) const;
DColor getSubPixelColorFast(float x, float y) const;
/** If the image has an alpha channel, check there there exist pixels
/** If the image has an alpha channel, check if there exist pixels
* which actually have non-opaque color, that is alpha < 1.0.
* Note that all pixels are scanned to reach a return value of "false".
* If hasAlpha() is false, always returns false.
......
......@@ -12726,7 +12726,7 @@ namespace cimg_library {
return CImg<Tfloat>(*this,false).exp();
}
//! Compute the log of each each pixel value.
//! Compute the log of each pixel value.
CImg<T>& log() {
cimg_for(*this,ptr,T) (*ptr) = (T)cimg_std::log((double)(*ptr));
return *this;
......@@ -12736,7 +12736,7 @@ namespace cimg_library {
return CImg<Tfloat>(*this,false).log();
}
//! Compute the log10 of each each pixel value.
//! Compute the log10 of each pixel value.
CImg<T>& log10() {
cimg_for(*this,ptr,T) (*ptr) = (T)cimg_std::log10((double)(*ptr));
return *this;
......@@ -36373,7 +36373,7 @@ namespace cimg_library {
return _save_cimg(0,filename,compress);
}
// Insert the instance image into into an existing .cimg file, at specified coordinates.
// Insert the instance image into an existing .cimg file, at specified coordinates.
const CImgList<T>& _save_cimg(cimg_std::FILE *const file, const char *const filename,
const unsigned int n0,
const unsigned int x0, const unsigned int y0,
......@@ -36481,7 +36481,7 @@ namespace cimg_library {
return *this;
}
//! Insert the instance image into into an existing .cimg file, at specified coordinates.
//! Insert the instance image into an existing .cimg file, at specified coordinates.
const CImgList<T>& save_cimg(const char *const filename,
const unsigned int n0,
const unsigned int x0, const unsigned int y0,
......@@ -36489,7 +36489,7 @@ namespace cimg_library {
return _save_cimg(0,filename,n0,x0,y0,z0,v0);
}
//! Insert the instance image into into an existing .cimg file, at specified coordinates.
//! Insert the instance image into an existing .cimg file, at specified coordinates.
const CImgList<T>& save_cimg(cimg_std::FILE *const file,
const unsigned int n0,
const unsigned int x0, const unsigned int y0,
......@@ -754,7 +754,7 @@ dng_memory_block * dng_iptc::Spool (dng_memory_allocator &allocator,
// Figure out character set to use. Due to bugs in Photoshop CS2 and
// before, we only write UTF-8 in cases where it is required to preserve
// all the characters. Is is not ideal since it makes the files not
// all the characters. It is not ideal since it makes the files not
// portable across systems with different encodings. Perhaps we can
// switch to using UTF-8 in all cases in the CS4 timeframe.
......
......@@ -598,7 +598,7 @@ void dng_resample_task::Start (uint32 threadCount,
fKernel,
*allocator);
// Find upper bound on source source tile.
// Find upper bound on source tile.
fSrcTileSize.v = Round_int32 (tileSize.v / fRowScale) + fWeightsV.Width () + 2;
fSrcTileSize.h = Round_int32 (tileSize.h / fColScale) + fWeightsH.Width () + 2;
......
......@@ -2632,7 +2632,7 @@ void dng_xmp::SyncExif (dng_exif &exif,
exif.fFocalPlaneResolutionUnit > 0x0FFFF,
options);
// ImageDescription: (XMP is is always preferred)
// ImageDescription: (XMP is always preferred)
if (fSDK->GetAltLangDefault (XMP_NS_DC,
"description",
......@@ -2674,7 +2674,7 @@ void dng_xmp::SyncExif (dng_exif &exif,
}
// Artist: (XMP is is always preferred)
// Artist: (XMP is always preferred)
{
......@@ -2738,7 +2738,7 @@ void dng_xmp::SyncExif (dng_exif &exif,
}
// Software: (XMP is is always preferred)
// Software: (XMP is always preferred)
if (fSDK->GetString (XMP_NS_XAP,
"CreatorTool",
......@@ -2780,7 +2780,7 @@ void dng_xmp::SyncExif (dng_exif &exif,
}
// Copyright: (XMP is is always preferred)
// Copyright: (XMP is always preferred)
if (fSDK->GetAltLangDefault (XMP_NS_DC,
"rights",
......@@ -2905,7 +2905,7 @@ void dng_xmp::SyncExif (dng_exif &exif,
preferXMP);
// Generate default lens name from lens info if required.
// Ignore names names that end in "f/0.0" due to third party bug.
// Ignore names that end in "f/0.0" due to third party bug.
if ((exif.fLensName.IsEmpty () ||
exif.fLensName.EndsWith ("f/0.0")) && exif.fLensInfo [0].IsValid ())
......
......@@ -726,7 +726,7 @@ void DFontProperties::Private::_k_family_chosen_slot(const QString& family)
Q_FOREACH (const QString& style, styles)
{
// Sometimes the font database will report an invalid style,
// that falls back back to another when set.
// that falls back to another when set.
// Remove such styles, by checking set/get round-trip.
QFont testFont = dbase.font(currentFamily, style, 10);
......
......@@ -96,7 +96,7 @@ public:
qlonglong showfotoItemId(int row) const;
/**
* Return the index of a given ShowfotoItemInfo, it it exists in the model.
* Return the index of a given ShowfotoItemInfo, if it exists in the model.
*/
QModelIndex indexForShowfotoItemInfo(const ShowfotoItemInfo& info) const;
QList<QModelIndex> indexesForShowfotoItemInfo(const ShowfotoItemInfo& info) const;
......
......@@ -38,7 +38,7 @@ int main (int argc, char **argv)
{
if(argc != 2)
{
qDebug() << "erasetag - erase tag from from image";
qDebug() << "erasetag - erase tag from image";
qDebug() << "Usage: <image>";
return -1;
}
......
......@@ -6,7 +6,7 @@
* Date : 2016-08-14
* Description : CLI tool to test to load metadata from images through multi-core threads.
*
* Copyright (C) 2016 by by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2016 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
......
......@@ -6,7 +6,7 @@
* Date : 2016-08-14
* Description : CLI tool to test to load metadata from images through multi-core threads.
*
* Copyright (C) 2016 by by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2016 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
......
......@@ -138,7 +138,7 @@ FaceItem::FaceItem(QGraphicsItem* const parent, QGraphicsScene* const scene, con
o.setAlignment(Qt::AlignCenter);
doc->setDefaultTextOption(o);
// Get coordinates of the name relative the the scene
// Get coordinates of the name relative to the scene
QRectF r = d->faceName->mapRectToScene(d->faceName->boundingRect());
// Draw the bounding name rectangle with the scene coordinates
......
......@@ -81,7 +81,7 @@ protected:
/**
* Abstract method for retrieving the value from the database for the given key.
*
* This method has to be implemented by by all child classes. It is called by the
* This method has to be implemented by all child classes. It is called by the
* getValue() method.
*
* @param key the key representing the value in the database
......
......@@ -97,7 +97,7 @@ public:
qlonglong camItemId(int row) const;
/**
* Return the index of a given CamItemInfo, it it exists in the model.
* Return the index of a given CamItemInfo, if it exists in the model.
*/
QModelIndex indexForCamItemInfo(const CamItemInfo& info) const;
QList<QModelIndex> indexesForCamItemInfo(const CamItemInfo& info) const;
......
......@@ -206,7 +206,7 @@ MaintenanceDlg::MaintenanceDlg(QWidget* const parent)
// --------------------------------------------------------------------------------------
d->vbox3 = new DVBox;
new QLabel(i18n("<qt><i>Note: If activated, the Core DB is always cleaned. You can select additional databases for cleaning. .</i></qt>"),d->vbox3);
new QLabel(i18n("<qt><i>Note: If activated, the Core DB is always cleaned. You can select additional databases for cleaning.</i></qt>"),d->vbox3);
d->cleanThumbsDb = new QCheckBox(i18n("Also clean up the thumbnail database. This may take much time."),d->vbox3);
d->cleanFacesDb = new QCheckBox(i18n("Also clean up the faces database. This may take much time."),d->vbox3);
d->expanderBox->insertItem(Private::DbCleanup, d->vbox3,
......
......@@ -81,7 +81,7 @@ KBViewTrans::KBViewTrans(bool zoomIn, float relAspect)
m_yScale = 0.0;
int i = 0;
// randomly select sizes of start end end viewport
// randomly select sizes of start and end viewport
double s[2];
do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment