Hello community,

here is the log from the commit of package indic-fonts for openSUSE:Factory 
checked in at 2016-06-03 16:34:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/indic-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.indic-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "indic-fonts"

Changes:
--------
--- /work/SRC/openSUSE:Factory/indic-fonts/indic-fonts.changes  2014-04-02 
17:22:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.indic-fonts.new/indic-fonts.changes     
2016-06-03 16:34:55.000000000 +0200
@@ -1,0 +2,14 @@
+Thu May 12 14:45:16 UTC 2016 - [email protected]
+
+- gujrati fonts [bsc#977195]: remove hinting instructions for all 
+  letters except gujrati symbols in
+  * aakar medium
+  * padmaa Bold
+  * padmaa Medium
+  * Rekha medium
+  Fonts updated from:
+  https://github.com/kartikm/fonts-aakar
+  https://github.com/samyakbhuta/fonts-padmaa
+  https://github.com/kartikm/fonts-rekha
+
+-------------------------------------------------------------------

New:
----
  clear-latin-instrs.ff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ indic-fonts.spec ++++++
--- /var/tmp/diff_new_pack.ID6G48/_old  2016-06-03 16:34:56.000000000 +0200
+++ /var/tmp/diff_new_pack.ID6G48/_new  2016-06-03 16:34:56.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package indic-fonts
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,21 @@
 #
 
 
+%define lohit_version 20140220
+
 Name:           indic-fonts
-Version:        20140220
+Version:        20160512
 Release:        0
 Summary:        Professional Indian Language TrueType Fonts
 License:        GPL-2.0+ and OFL-1.1
 Group:          System/X11/Fonts
 Url:            https://fedorahosted.org/lohit/
-Source0:        
https://fedorahosted.org/releases/l/o/lohit/lohit-ttf-%{version}.tar.gz
+Source0:        
https://fedorahosted.org/releases/l/o/lohit/lohit-ttf-%{lohit_version}.tar.gz
 # Other free indic fonts collected by
 # Amish Munshi <[email protected]> (he is not working at Novell anymore):
 Source1:        indic-fonts.tar.bz2
+Source2:        clear-latin-instrs.ff
+BuildRequires:  fontforge
 BuildRequires:  fontpackages-devel
 Recommends:     pothana2000
 Provides:       scalable-font-bn
@@ -46,10 +50,17 @@
 open source. All fonts are available under GPL-2.0+ or OFL-1.1.
 
 %prep
-%setup -q -n lohit-ttf-%{version} -a 1
+%setup -q -n lohit-ttf-%{lohit_version} -a 1
 mv indic/doc docs-for-non-lohit-fonts
 
 %build
+# bsc#977195
+pushd indic/fonts/gujrati
+for file in aakar-medium.ttf padmaa-Bold.1.1.ttf padmaa-Medium-0.5.ttf 
Rekha.ttf; do
+  fontforge -lang=ff -script %{SOURCE2} $file
+  mv fixed.$file $file
+done
+popd
 
 %install
 mkdir -p %{buildroot}%{_ttfontsdir}/

++++++ clear-latin-instrs.ff ++++++
Open($argv[1])

i = 0x20
while (i < 0x2FF)
  Select(i)
  ClearInstrs()
  ++i
endloop

i = 0x2000
while (i < 0x206F)
  Select(i)
  ClearInstrs()
  ++i
endloop

SetFontNames($fontname, $familyname, $fullname, $weight, $copyright + " SUSE 
removed instructions for non-gujarati glyphs [bsc#977195].", $fontversion + 
".suse")

Generate('fixed.' + $argv[1])

++++++ indic-fonts.tar.bz2 ++++++
Files old/indic/fonts/gujrati/Rekha-medium.ttf and 
new/indic/fonts/gujrati/Rekha-medium.ttf differ
Files old/indic/fonts/gujrati/Rekha.ttf and new/indic/fonts/gujrati/Rekha.ttf 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/indic/fonts/gujrati/SOURCE 
new/indic/fonts/gujrati/SOURCE
--- old/indic/fonts/gujrati/SOURCE      1970-01-01 01:00:00.000000000 +0100
+++ new/indic/fonts/gujrati/SOURCE      2016-05-16 15:42:19.000000000 +0200
@@ -0,0 +1,8 @@
+Some of fonts are taken from:
+
+  https://github.com/kartikm/fonts-aakar
+  https://github.com/samyakbhuta/fonts-padmaa
+  https://github.com/kartikm/fonts-rekha
+
+and modified to not contain byte code instructions for
+non indic letters, see bsc#977195.
Files old/indic/fonts/gujrati/aakar-medium.ttf and 
new/indic/fonts/gujrati/aakar-medium.ttf differ
Files old/indic/fonts/gujrati/padmaa-Bold.0.6.ttf and 
new/indic/fonts/gujrati/padmaa-Bold.0.6.ttf differ
Files old/indic/fonts/gujrati/padmaa-Bold.1.1.ttf and 
new/indic/fonts/gujrati/padmaa-Bold.1.1.ttf differ


Reply via email to