) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * Copyright (C) 2010 Jonas Häggqvist * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * **************************************************************************/ header("Content-type: text/html; charset=UTF-8"); require_once('common.php'); /* Set internal character encoding to UTF-8 */ mb_internal_encoding("UTF-8"); ?>
This page lists fonts included with Rockbox and tries to visualise their coverage of the included translations. The darker the square, the better coverage. A green square indicates full coverage.
$coverage) { printf(" | %s | \n", $font); } print("|
---|---|---|
%s | \n",SMALL_FLAGSIZE, urlencode($langs[$lang]['flag']), $langs[$lang]['name']); foreach($stats as $font => $coverage) { if ($coverage == 1) { printf("\n", $font, $lang); } else { $r = 0x9A * (1-$coverage); $g = 0xBD * (1-$coverage); $b = 0xDE * (1-$coverage); printf(" | ", $r, $g, $b, $font, $coverage*100, $lang); } } print(" |