tdf#76239 fake file version for font files
Change-Id: I59a9401c0bdc2d641ea54498af0eb1e589ab12f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user