Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37844003
en ru br
ALT Linux repos
S:1.06-alt1
5.0: 0.45-alt1

Group :: Development/Perl
RPM: perl-Font-TTF

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: Font-TTF-1.04-alt-syntax.patch
Download


--- Font-TTF-1.04/lib/Font/TTF/OldCmap.pm~	2014-01-10 02:09:34.000000000 +0000
+++ Font-TTF-1.04/lib/Font/TTF/OldCmap.pm	2014-03-07 08:27:31.007184699 +0000
@@ -269,7 +269,7 @@
             for ($j = 0; $j < $num; $j++)
             {
                 $delta = $segs->[$j]{'VAL'}[0]; $flat = 1;
-                for ($k = $k < $segs->[$j]{'LEN'}; $k++)
+                for ($k = 1; $k < $segs->[$j]{'LEN'}; $k++)
                 {
                     if ($segs->[$j]{'VAL'}[$k] == 0)
                     { $flat = 0; }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin