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

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2018-05-18 17:51:31 +0300
committerGitHub <noreply@github.com>2018-05-18 17:51:31 +0300
commit1312ed00af489c8fd19c32018c8dc3b86d1885eb (patch)
tree6496eb3531fca14db94539620c73541390c759fa
parent1d4d9fbe7a6aaf58045d25d23aaa28f8106b0561 (diff)
parent2979fbc782619edfc4b221c6f20907dc822dc8a3 (diff)
Merge pull request #64 from mono/pango-ideographic-space
[Pango] Get the font shaper for ideographic spaces
-rw-r--r--packages/pango.py5
-rw-r--r--packages/patches/pango-get-shaper-for-ideographic-space.patch23
2 files changed, 27 insertions, 1 deletions
diff --git a/packages/pango.py b/packages/pango.py
index 0691078..28020a4 100644
--- a/packages/pango.py
+++ b/packages/pango.py
@@ -36,7 +36,10 @@ class PangoPackage (GnomeXzPackage):
'patches/pango-coretext-fix-yosemite-crasher.patch',
'patches/pango-system-font-single.patch',
- 'patches/pango-system-font-check-version.patch'
+ 'patches/pango-system-font-check-version.patch',
+
+ # https://devdiv.visualstudio.com/DevDiv/_workitems/edit/573960
+ 'patches/pango-get-shaper-for-ideographic-space.patch'
])
def prep(self):
diff --git a/packages/patches/pango-get-shaper-for-ideographic-space.patch b/packages/patches/pango-get-shaper-for-ideographic-space.patch
new file mode 100644
index 0000000..f6a8d9e
--- /dev/null
+++ b/packages/patches/pango-get-shaper-for-ideographic-space.patch
@@ -0,0 +1,23 @@
+diff --git a/pango/.libs/libpango-1.0.0.dylib b/pango/.libs/libpango-1.0.0.dylib
+index 61cf31d..ac8ae15 100755
+Binary files a/pango/.libs/libpango-1.0.0.dylib and b/pango/.libs/libpango-1.0.0.dylib differ
+diff --git a/pango/.libs/pango-context.o b/pango/.libs/pango-context.o
+index 0fa9fe2..039e046 100644
+Binary files a/pango/.libs/pango-context.o and b/pango/.libs/pango-context.o differ
+diff --git a/pango/pango-context.c b/pango/pango-context.c
+index 8e96713..d66f8bd 100644
+--- a/pango/pango-context.c
++++ b/pango/pango-context.c
+@@ -1459,7 +1459,8 @@ itemize_state_process_run (ItemizeState *state)
+ */
+ if (G_UNLIKELY (!g_unichar_isgraph (wc) &&
+ g_unichar_type (wc) != G_UNICODE_PRIVATE_USE &&
+- g_unichar_type (wc) != G_UNICODE_UNASSIGNED))
++ g_unichar_type (wc) != G_UNICODE_UNASSIGNED) &&
++ wc != 0x3000)
+ {
+ shape_engine = NULL;
+ font = NULL;
+diff --git a/tests/cxx-test b/tests/cxx-test
+index 683868f..428d903 100755
+Binary files a/tests/cxx-test and b/tests/cxx-test differ