summaryrefslogtreecommitdiff
path: root/external/graphite/graphite2.issue1115.patch.1
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-17 19:54:11 +0200
committerDavid Tardon <dtardon@redhat.com>2013-10-18 06:56:32 +0000
commitd985257069d22d1a2d4b1491685094082c174e60 (patch)
tree65745eaea029b198882668f551d40b75c9956cf6 /external/graphite/graphite2.issue1115.patch.1
parent27d330950f975322bd68edf836d7e3b91f76e57f (diff)
fdo#70393: move graphite to a subdir of external
Change-Id: If0f3c19fd539d2b1323016df032b9f959a0adf66 Reviewed-on: https://gerrit.libreoffice.org/6305 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/graphite/graphite2.issue1115.patch.1')
-rw-r--r--external/graphite/graphite2.issue1115.patch.122
1 files changed, 22 insertions, 0 deletions
diff --git a/external/graphite/graphite2.issue1115.patch.1 b/external/graphite/graphite2.issue1115.patch.1
new file mode 100644
index 000000000000..f19c8a3749f4
--- /dev/null
+++ b/external/graphite/graphite2.issue1115.patch.1
@@ -0,0 +1,22 @@
+--- graphite/src/Code.cpp
++++ graphite/src/Code.cpp
+@@ -169,8 +169,8 @@ Machine::Code::Code(bool is_constraint,
+ bytecode_end,
+ pre_context,
+ rule_length,
+- silf.numClasses(),
+- face.glyphs().numAttrs(),
++ static_cast<uint16>(silf.numClasses()),
++ static_cast<uint16>(face.glyphs().numAttrs()),
+ face.numFeatures(),
+ {1,1,1,1,1,1,1,1,
+ 1,1,1,1,1,1,1,255,
+@@ -178,7 +178,7 @@ Machine::Code::Code(bool is_constraint,
+ 1,1,1,1,1,1,0,0,
+ 0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,
+- 0,0,0,0,0,0,0, silf.numUser()}
++ 0,0,0,0,0,0,0, static_cast<byte>(silf.numUser())}
+ };
+
+ decoder dec(lims, *this);