tdf#76239 fake file version for font files

Change-Id: I59a9401c0bdc2d641ea54498af0eb1e589ab12f3
This commit is contained in:
Andras Timar
2015-11-10 15:01:40 +01:00
parent 0871a03bbd
commit a322355727

View File

@@ -551,6 +551,11 @@ sub get_fileversion
$fileversion = $version . "." . $subversion . "." . $microversion . "." . $vervariant;
}
}
# fake file version for font files (tdf#76239)
if ( $onefile->{'Name'} =~ /\.ttf$|\.TTF$/ )
{
$fileversion = "1.0.0.0";
}
return $fileversion;
}