summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/qfontengine_x11.cpp8
-rw-r--r--src/kernel/qpainter_x11.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qfontengine_x11.cpp b/src/kernel/qfontengine_x11.cpp
index fe63cff2..5693e238 100644
--- a/src/kernel/qfontengine_x11.cpp
+++ b/src/kernel/qfontengine_x11.cpp
@@ -2255,8 +2255,8 @@ static inline char *tag_to_string(FT_ULong tag)
#define DefaultScript FT_MAKE_TAG('D', 'F', 'L', 'T')
enum {
- RetquiresGsub = 1,
- RetquiresGpos = 2
+ RequiresGsub = 1,
+ RequiresGpos = 2
};
struct OTScripts {
@@ -2440,7 +2440,7 @@ bool TQOpenType::checkScript(unsigned int script)
uint tag = ot_scripts[script].tag;
int requirements = ot_scripts[script].flags;
- if (requirements & RetquiresGsub) {
+ if (requirements & RequiresGsub) {
if (!gsub)
return FALSE;
@@ -2454,7 +2454,7 @@ bool TQOpenType::checkScript(unsigned int script)
}
}
- if (requirements & RetquiresGpos) {
+ if (requirements & RequiresGpos) {
if (!gpos)
return FALSE;
diff --git a/src/kernel/qpainter_x11.cpp b/src/kernel/qpainter_x11.cpp
index 3aad7164..d2127be2 100644
--- a/src/kernel/qpainter_x11.cpp
+++ b/src/kernel/qpainter_x11.cpp
@@ -2813,7 +2813,7 @@ void TQPainter::drawTiledPixmap( int x, int y, int w, int h,
else
sy = sy % sh;
/*
- Retquirements for optimizing tiled pixmaps:
+ Requirements for optimizing tiled pixmaps:
- not an external device
- not scale or rotshear
- not mono pixmap