Remove the license string from the font repository
Saves 2KB Change-Id: Ifc4add09a00b1906fad60185f95d0691915d9c94
This commit is contained in:
@@ -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
Reference in New Issue
Block a user