|
@@ 839-845 (lines=7) @@
|
| 836 |
|
if ($fmetric['type'] == 'cidfont0') { |
| 837 |
|
// CID-0 |
| 838 |
|
switch ($fonttype) { |
| 839 |
|
case 'CID0JP': { |
| 840 |
|
$pfile .= '// Japanese'."\n"; |
| 841 |
|
$pfile .= '$enc=\'UniJIS-UTF16-H\';'."\n"; |
| 842 |
|
$pfile .= '$cidinfo=array(\'Registry\'=>\'Adobe\', \'Ordering\'=>\'Japan1\',\'Supplement\'=>5);'."\n"; |
| 843 |
|
$pfile .= 'include(dirname(__FILE__).\'/uni2cid_aj16.php\');'."\n"; |
| 844 |
|
break; |
| 845 |
|
} |
| 846 |
|
case 'CID0KR': { |
| 847 |
|
$pfile .= '// Korean'."\n"; |
| 848 |
|
$pfile .= '$enc=\'UniKS-UTF16-H\';'."\n"; |
|
@@ 846-852 (lines=7) @@
|
| 843 |
|
$pfile .= 'include(dirname(__FILE__).\'/uni2cid_aj16.php\');'."\n"; |
| 844 |
|
break; |
| 845 |
|
} |
| 846 |
|
case 'CID0KR': { |
| 847 |
|
$pfile .= '// Korean'."\n"; |
| 848 |
|
$pfile .= '$enc=\'UniKS-UTF16-H\';'."\n"; |
| 849 |
|
$pfile .= '$cidinfo=array(\'Registry\'=>\'Adobe\', \'Ordering\'=>\'Korea1\',\'Supplement\'=>0);'."\n"; |
| 850 |
|
$pfile .= 'include(dirname(__FILE__).\'/uni2cid_ak12.php\');'."\n"; |
| 851 |
|
break; |
| 852 |
|
} |
| 853 |
|
case 'CID0CS': { |
| 854 |
|
$pfile .= '// Chinese Simplified'."\n"; |
| 855 |
|
$pfile .= '$enc=\'UniGB-UTF16-H\';'."\n"; |
|
@@ 853-859 (lines=7) @@
|
| 850 |
|
$pfile .= 'include(dirname(__FILE__).\'/uni2cid_ak12.php\');'."\n"; |
| 851 |
|
break; |
| 852 |
|
} |
| 853 |
|
case 'CID0CS': { |
| 854 |
|
$pfile .= '// Chinese Simplified'."\n"; |
| 855 |
|
$pfile .= '$enc=\'UniGB-UTF16-H\';'."\n"; |
| 856 |
|
$pfile .= '$cidinfo=array(\'Registry\'=>\'Adobe\', \'Ordering\'=>\'GB1\',\'Supplement\'=>2);'."\n"; |
| 857 |
|
$pfile .= 'include(dirname(__FILE__).\'/uni2cid_ag15.php\');'."\n"; |
| 858 |
|
break; |
| 859 |
|
} |
| 860 |
|
case 'CID0CT': |
| 861 |
|
default: { |
| 862 |
|
$pfile .= '// Chinese Traditional'."\n"; |
|
@@ 861-867 (lines=7) @@
|
| 858 |
|
break; |
| 859 |
|
} |
| 860 |
|
case 'CID0CT': |
| 861 |
|
default: { |
| 862 |
|
$pfile .= '// Chinese Traditional'."\n"; |
| 863 |
|
$pfile .= '$enc=\'UniCNS-UTF16-H\';'."\n"; |
| 864 |
|
$pfile .= '$cidinfo=array(\'Registry\'=>\'Adobe\', \'Ordering\'=>\'CNS1\',\'Supplement\'=>0);'."\n"; |
| 865 |
|
$pfile .= 'include(dirname(__FILE__).\'/uni2cid_aj16.php\');'."\n"; |
| 866 |
|
break; |
| 867 |
|
} |
| 868 |
|
} |
| 869 |
|
} else { |
| 870 |
|
// TrueType |