mirror of
https://github.com/Alvin-Zilverstand/Spik-en-span.git
synced 2026-03-06 11:17:09 +01:00
- Introduced `makefont.php` for generating font definition files from TrueType and Type1 fonts. - Implemented `ttfparser.php` to parse and subset TrueType fonts, handling various font tables and properties. - Added functions for loading font maps, extracting font information, and creating font descriptor arrays. - Included error handling and messaging for better user feedback during font processing. - Enabled command-line usage for font file generation with options for encoding, embedding, and subsetting.
11 lines
444 B
PHP
11 lines
444 B
PHP
<?php
|
|
$type = 'Core';
|
|
$name = 'Courier-BoldOblique';
|
|
$up = -100;
|
|
$ut = 50;
|
|
for($i=0;$i<=255;$i++)
|
|
$cw[chr($i)] = 600;
|
|
$enc = 'cp1252';
|
|
$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
|
|
?>
|