Commits

Smith Dhumbumroong  committed 04cd06d

Replace wrong patch with the correct one.

  • Participants
  • Parent commits 58414d3

Comments (0)

Files changed (2)

File pango-thai/21_thai-sara-am-mono.patch

---- pango1.0-1.24.3.orig/modules/thai/thai-fc.c2009-06-21 17:37:22.000000000 +0700
-+++ pango1.0-1.24.3.orig/modules/thai/thai-fc.c20092009-06-21 17:38:02.000000000 +0700
+--- pango1.0-1.24.3.orig/modules/thai/thai-fc.c	2009-06-21 17:37:22.000000000 +0700
++++ pango1.0-1.24.3.orig/modules/thai/thai-fc.c	2009-06-21 17:38:02.000000000 +0700
 @@ -171,6 +171,8 @@ 
  
    if (G_UNLIKELY (!font_info))
         */
 @@ -187,6 +189,26 @@ 
        else
-    font_info->font_set = THAI_FONT_TIS;
+ 	font_info->font_set = THAI_FONT_TIS;
  
 +      /* check if the font is monospace */
 +      font_info->is_monospace = FALSE;
        g_object_set_qdata_full (G_OBJECT (font), info_id, font_info, (GDestroyNotify)g_free);
      }
  
---- pango1.0-1.24.3.orig/modules/thai/thai-shaper.check2009-06-21 17:37:26.000000000 +0700
-+++ pango1.0-1.24.3.orig/modules/thai/thai-shaper.check20092009-06-21 17:38:02.000000000 +0700
+--- pango1.0-1.24.3.orig/modules/thai/thai-shaper.c	2009-06-21 17:37:26.000000000 +0700
++++ pango1.0-1.24.3.orig/modules/thai/thai-shaper.c	2009-06-21 17:38:02.000000000 +0700
 @@ -164,7 +164,8 @@ 
      {
        case 1:
-    if (is_char_type (cluster[0],
--if  BelowVowel|BelowDiac|AboveVowel|AboveDiac|Tone|SaraAm))
-+AboveDiac  BelowVowel|BelowDiac|AboveVowel|AboveDiac|Tone)
-+Tone    || (is_char_type (cluster[0], SaraAm) && !font_info->is_monospace))
-      {
-        gint n;
-        glyph_lists[0] = get_null_base_glyph (font_info);
---- pango1.0-1.24.3.orig/modules/thai/thai-shaper.h2009-06-21 17:37:35.000000000 +0700
-+++ pango1.0-1.24.3.orig/modules/thai/thai-shaper.h20092009-06-21 17:38:02.000000000 +0700
+ 	if (is_char_type (cluster[0],
+-			  BelowVowel|BelowDiac|AboveVowel|AboveDiac|Tone|SaraAm))
++			  BelowVowel|BelowDiac|AboveVowel|AboveDiac|Tone)
++	    || (is_char_type (cluster[0], SaraAm) && !font_info->is_monospace))
+ 	  {
+ 	    gint n;
+ 	    glyph_lists[0] = get_null_base_glyph (font_info);
+--- pango1.0-1.24.3.orig/modules/thai/thai-shaper.h	2009-06-21 17:37:35.000000000 +0700
++++ pango1.0-1.24.3.orig/modules/thai/thai-shaper.h	2009-06-21 17:38:02.000000000 +0700
 @@ -50,6 +50,7 @@ 
  {
    PangoFont       *font;
  };
  
  /*
-

File pango-thai/PKGBUILD

         21_thai-sara-am-mono.patch)
 url="http://www.pango.org/"
 sha256sums=('7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f'
-            'ed51c1db7f756121068333092d3dc9ebd855254a8aa39bd9e7a58a7112bc4dd4')
+            'ace536291831242085b84aef84aacf030d8b5960f9d411a4befdec8ff45a1721')
 
 build() {
   cd "${srcdir}/${_pkgname}-${pkgver}"