[lohit-kannada-fonts] fixed zwj problem of bug 576105

Pravin Satpute pravins at fedoraproject.org
Tue Nov 23 05:04:41 UTC 2010


commit 106a7ac675eb82684b0891a148a5b4f30b0f65eb
Author: pravins <pravins at localhost.localdomain>
Date:   Tue Nov 23 10:48:04 2010 +0530

    fixed zwj problem of bug 576105

 bug-576105-1.patch       |  110 ++++++++++++++++++++++++++++++++++++++++++++++
 lohit-kannada-fonts.spec |    8 +++-
 2 files changed, 117 insertions(+), 1 deletions(-)
---
diff --git a/bug-576105-1.patch b/bug-576105-1.patch
new file mode 100644
index 0000000..bd91210
--- /dev/null
+++ b/bug-576105-1.patch
@@ -0,0 +1,110 @@
+diff -rup lohit-kannada-2.4.5/Lohit-Kannada.sfd lohit-kannada-2.4.5_mod/Lohit-Kannada.sfd
+--- lohit-kannada-2.4.5/Lohit-Kannada.sfd	2010-11-23 09:52:23.090675587 +0530
++++ lohit-kannada-2.4.5_mod/Lohit-Kannada.sfd	2010-11-23 09:57:59.974674662 +0530
+@@ -19,7 +19,7 @@ OS2Version: 1
+ OS2_WeightWidthSlopeOnly: 0
+ OS2_UseTypoMetrics: 1
+ CreationTime: 1161073346
+-ModificationTime: 1287393996
++ModificationTime: 1290486476
+ PfmFamily: 33
+ TTFWeight: 400
+ TTFWidth: 5
+@@ -50,6 +50,7 @@ OS2SupYOff: 512
+ OS2StrikeYSize: 50
+ OS2StrikeYPos: 250
+ OS2Vendor: 'MODI'
++Lookup: 5 0 0 "'psts' Post Base Substitutions lookup 18"  {"'psts' Post Base Substitutions lookup 18-1"  } ['psts' ('DFLT' <'dflt' > 'deva' <'dflt' > 'knda' <'dflt' > 'latn' <'dflt' > ) ]
+ Lookup: 4 0 0 "'abvs' Above Base Substitutions in Kannada lookup 0"  {"'abvs' Above Base Substitutions in Kannada lookup 0"  } ['abvs' ('knda' <'dflt' > ) ]
+ Lookup: 4 0 0 "'akhn' Akhand in Kannada lookup 1"  {"'akhn' Akhand in Kannada lookup 1"  } ['akhn' ('knda' <'dflt' > ) ]
+ Lookup: 4 0 0 "'blwf' Below Base Forms in Kannada lookup 2"  {"'blwf' Below Base Forms in Kannada lookup 2"  } ['blwf' ('knda' <'dflt' > ) ]
+@@ -71,6 +72,7 @@ Lookup: 1 0 0 "Single Substitution looku
+ Lookup: 260 0 0 "'blwm' Below Base Mark in Kannada lookup 0"  {"'blwm' Below Base Mark in Kannada lookup 0"  } ['blwm' ('knda' <'dflt' > ) ]
+ Lookup: 258 0 0 "'kern' Horizontal Kerning in Kannada lookup 1"  {"'kern' Horizontal Kerning in Kannada lookup 1"  } ['kern' ('knda' <'dflt' > ) ]
+ Lookup: 258 0 0 "'kern' Horizontal Kerning lookup 2"  {"'kern' Horizontal Kerning lookup 2-1"  } ['kern' ('DFLT' <'dflt' > 'deva' <'dflt' > 'knda' <'dflt' > 'latn' <'dflt' > ) ]
++Lookup: 258 0 0 "'kern' Horizontal Kerning lookup 3"  {"'kern' Horizontal Kerning lookup 3-1"  } ['kern' ('DFLT' <'dflt' > 'deva' <'dflt' > 'knda' <'dflt' > 'latn' <'dflt' > ) ]
+ DEI: 91125
+ KernClass2: 4 2 "'kern' Horizontal Kerning lookup 2-1" 
+  763 U0C96_U0CCB.blwf U0C99_U0CCB.blwf U0C9A_U0CCB.blwf U0C9B_U0CCB.blwf U0C9C_U0CCB.blwf U0CA1_U0CCB.blwf U0CA2_U0CCB.blwf U0CA3_U0CCB.blwf U0CA5_U0CCB.blwf U0CA6_U0CCB.blwf U0CA7_U0CCB.blwf U0CA8_U0CCB.blwf U0CAA_U0CCB.blwf U0CAB_U0CCB.blwf U0CAC_U0CCB.blwf U0CAD_U0CCB.blwf U0CAE_U0CCB.blwf U0CAF_U0CCB.blwf U0CB1_U0CCB.blwf U0CB2_U0CCB.blwf U0CB5_U0CCB.blwf U0C96_U0CCD.blwf U0C99_U0CCD.blwf U0C9A_0CCD.blwf U0C9B_U0CCD.blwf U0C9C_U0CCD.blwf U0C9E_U0CCD.blwf U0C9F_U0CCD.blwf U0CA1_U0CCD.blwf U0CA2_U0CCD.blwf U0CA3_U0CCD.blwf U0CA5_U0CCD.blwf U0CA6_U0CCD.blwf U0CA7_U0CCD.blwf U0CA8_U0CCD.blwf U0CAA_U0CCD.blwf U0CAB_U0CCD.blwf U0CAC_U0CCD.blwf U0CAD_U0CCD.blwf U0CAE_U0CCD.blwf U0CAF_U0CCD.blwf U0CB1_U0CCD.blwf U0CB2_U0CCD.blwf U0CB5_U0CCD.blwf U0CB8_U0CCD.blwf
+@@ -78,6 +80,13 @@ KernClass2: 4 2 "'kern' Horizontal Kerni
+  84 U0C97_U0CCB.blwf U0C95_U0CCD.blwf U0C97_U0CCD.blwf U0CB3_U0CCD.blwf U0CB6_U0CCD.blwf
+  358 exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at bracketleft backslash bracketright asciicircum underscore grave braceleft bar braceright asciitilde cent multiply divide uni0964 uni0965
+  0 {} 0 {} 0 {} 286 {} 0 {} 400 {} 0 {} 200 {}
++ContextSub2: glyph "'psts' Post Base Substitutions lookup 18-1"  0 0 0 1
++ String: 18 afii301 parenright
++ BString: 0 
++ FString: 0 
++ 1
++  SeqLookup: 1 "Single Substitution lookup 17" 
++EndFPST
+ ChainSub2: coverage "'blws' Below Base Substitutions in Kannada lookup 9"  0 0 0 1
+  1 1 0
+   Coverage: 16 U0CB0_U0CCD.blwf
+@@ -366,7 +375,7 @@ NameList: Adobe Glyph List
+ DisplaySize: -36
+ AntiAlias: 1
+ FitToEm: 1
+-WinInfo: 136 34 16
++WinInfo: 0 34 16
+ Grid
+ 239 468 m 5
+  239 452 243.5 438.333 252.5 427 c 132
+@@ -5771,6 +5780,7 @@ SplineSet
+  0 -488 l 1,6,-1
+  0 -488 l 1,0,-1
+ EndSplineSet
++Kerns2: 615 200 "'kern' Horizontal Kerning lookup 3-1" 
+ EndChar
+ 
+ StartChar: minus
+@@ -5927,27 +5937,28 @@ SplineSet
+ EndSplineSet
+ EndChar
+ 
+-StartChar: glyph92
++StartChar: shifted_rightparen
+ Encoding: 65537 -1 97
+-Width: 800
++Width: 639
+ GlyphClass: 2
+ Flags: W
+ LayerCount: 2
+ Fore
+ SplineSet
+-100 -380 m 1,0,-1
+- 100 320 l 1,1,-1
+- 700 320 l 1,2,-1
+- 700 -380 l 1,3,-1
+- 100 -380 l 1,4,-1
+- 100 -380 l 1,0,-1
+-150 -330 m 1,5,-1
+- 650 -330 l 1,6,-1
+- 650 270 l 1,7,-1
+- 150 270 l 1,8,-1
+- 150 -330 l 1,9,-1
+- 150 -330 l 1,5,-1
++273 -220 m 1,0,1
++ 370 -104 370 -104 421.5 40 c 128,-1,2
++ 473 184 473 184 473 340 c 0,3,4
++ 473 495 473 495 421.5 639 c 128,-1,5
++ 370 783 370 783 273 899 c 1,6,-1
++ 339 899 l 1,7,8
++ 437 783 437 783 488 639 c 128,-1,9
++ 539 495 539 495 539 340 c 0,10,11
++ 539 184 539 184 488 40 c 128,-1,12
++ 437 -104 437 -104 339 -220 c 1,13,-1
++ 273 -220 l 1,14,-1
++ 273 -220 l 1,0,1
+ EndSplineSet
++Ligature2: "'akhn' Akhand in Kannada lookup 1" afii301 parenright
+ EndChar
+ 
+ StartChar: glyph94
+@@ -54042,6 +54053,7 @@ SplineSet
+  100 -220 l 1,14,-1
+  100 -220 l 1,0,1
+ EndSplineSet
++Substitution2: "Single Substitution lookup 17" shifted_rightparen
+ EndChar
+ 
+ StartChar: asterisk
diff --git a/lohit-kannada-fonts.spec b/lohit-kannada-fonts.spec
index 5cf0961..7c45de7 100644
--- a/lohit-kannada-fonts.spec
+++ b/lohit-kannada-fonts.spec
@@ -3,7 +3,7 @@
 
 Name:           %{fontname}-fonts
 Version:        2.4.5
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Free Kannada font
 
 Group:          User Interface/X
@@ -17,6 +17,7 @@ BuildRequires:  fontpackages-devel
 Requires:       fontpackages-filesystem
 Patch1: bug-578032.patch
 Patch2: bug-576105.patch
+Patch3: bug-576105-1.patch
 Obsoletes: lohit-fonts-common < %{version}-%{release}
 
 %description
@@ -27,6 +28,7 @@ This package provides a free Kannada truetype/opentype font.
 %setup -q -n %{fontname}-%{version} 
 %patch1 -p1 -b .1-fix-font-conf
 %patch2 -p1 -b .2-increase-kerning
+%patch3 -p1 -b .2-handline-zwj
 
 %build
 make
@@ -56,6 +58,10 @@ rm -fr %{buildroot}
 
 
 %changelog
+* Mon Oct 18 2010 Pravin Satpute <psatpute at redhat.com> - 2.4.5-4
+- fixed zwj problem of bug 576105
+- will work when, zwj processing will be fixed in pango
+
 * Mon Oct 18 2010 Pravin Satpute <psatpute at redhat.com> - 2.4.5-3
 - fixed bug 576105
 


More information about the fonts-bugs mailing list