* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License * @version $Id$ */ ?> getFont(0); } if ($unicodemap) { ?>
getData("cmap", "subtables") as $_subtable) { if ($_subtable["platformID"] == 3 && $_subtable["platformSpecificID"] == 1) { $subtable = $_subtable; break; } } $empty = 0; $names = $font->getData("post", "names"); for($c = 0; $c <= 0xFFFF; $c++) { if (($c % 256 == 0 || $c == 0xFFFF) && $empty > 0) { echo ""; $empty = 0; } if (isset($subtable["glyphIndexArray"][$c])) { $g = $subtable["glyphIndexArray"][$c]; if ($empty > 0) { echo ""; $empty = 0; } echo "&#$c;
$c
".(isset($names[$g]) ? $names[$g] : sprintf("uni%04x", $c))."
"; } else { $empty++; } } ?>
parse(); //$font->saveAdobeFontMetrics("$fontfile.ufm"); $records = $font->getData("name", "records"); ?> File size: KB — Memory: KB — Time: s
Make a subset of this font


getTable() as $table) { $tag = $table->tag; $data = $font->getData($tag); ?>
"> getTableObject($tag)->toHTML(); } else { echo "Not yet implemented"; } ?>