summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfontengine_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qfontengine_x11.cpp')
-rw-r--r--src/kernel/qfontengine_x11.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qfontengine_x11.cpp b/src/kernel/qfontengine_x11.cpp
index fe63cff2e..5693e238d 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;