Remove the license string from the font repository

Saves 2KB

Change-Id: Ifc4add09a00b1906fad60185f95d0691915d9c94
This commit is contained in:
Santhosh Thottingal
2014-01-25 00:00:21 +00:00
parent 366c1c7648
commit 219b222c34
2 changed files with 1 additions and 7 deletions

View File

@@ -14,7 +14,6 @@ foreach ( glob( '../fonts/*/font.ini' ) as $inifile ) {
$conf = parse_ini_file( $inifile, true ); $conf = parse_ini_file( $inifile, true );
$languages = array(); $languages = array();
$version = null; $version = null;
$license = null;
foreach ( $conf as $fontname => $font ) { foreach ( $conf as $fontname => $font ) {
if ( isset( $font['languages'] ) ) { if ( isset( $font['languages'] ) ) {
@@ -36,13 +35,8 @@ foreach ( glob( '../fonts/*/font.ini' ) as $inifile ) {
if ( isset( $font['version'] ) ) { if ( isset( $font['version'] ) ) {
$version = $font['version']; $version = $font['version'];
} }
if ( isset( $font['license'] ) ) {
$license = $font['license'];
}
$list['fonts'][$fontname] = array( $list['fonts'][$fontname] = array(
'version' => $version, 'version' => $version,
'license' => $license,
); );
if ( isset( $font['fontweight'] ) ) { if ( isset( $font['fontweight'] ) ) {

File diff suppressed because one or more lines are too long