Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
   1  <?php
   2  $type='cidfont0';
   3  $name='HYSMyeongJoStd-Medium-Acro'; // AdobeMyungjoStd-Medium-Acro in acrobat 6
   4  $displayname = 'MyungJo Medium (Korean)';
   5  $desc = array(
   6  	 'Ascent' => 880,
   7  	 'Descent' => -120,
   8  	 'CapHeight' => 720,
   9  	 'Flags' => 6,
  10  	 'FontBBox' => '[-28 -148 1001 880]',
  11  	 'ItalicAngle' => 0,
  12  	 'StemV' => 60,
  13  	 'Style' => '<< /Panose <000000000600000000000000> >>',
  14  );
  15  $cidinfo = array(
  16  	 'Registry' => 'Adobe',
  17  	 'Ordering' => 'Korea1',
  18  	 'Supplement' => '1',
  19  );
  20  $enc = 'UniKS-UCS2-H';
  21  
  22  // underline position, needs checking:
  23  $up = -130;
  24  $ut = 40;
  25  
  26  $dw = 1000;
  27  $cw = array(
  28  	 32 => 333, 33 => 416, 34 => 416, 35 => 833, 36 => 625, 37 => 916, 38 => 833, 39 => 250, 40 => 500, 41 => 500,
  29  	 42 => 500, 43 => 833, 44 => 291, 45 => 450, 46 => 291, 47 => 375, 48 => 625, 49 => 625, 50 => 625, 51 => 625,
  30  	 52 => 625, 53 => 625, 54 => 625, 55 => 625, 56 => 625, 57 => 625, 58 => 333, 59 => 333, 60 => 833, 61 => 833,
  31  	 62 => 916, 63 => 500, 64 => 1000, 65 => 791, 66 => 708, 67 => 708, 68 => 750, 69 => 708, 70 => 666, 71 => 750,
  32  	 72 => 791, 73 => 375, 74 => 500, 75 => 791, 76 => 666, 77 => 916, 78 => 791, 79 => 750, 80 => 666, 81 => 750,
  33  	 82 => 708, 83 => 666, 84 => 791, 85 => 791, 86 => 750, 87 => 1000, 88 => 708, 89 => 708, 90 => 666, 91 => 500,
  34  	 92 => 375, 93 => 500, 94 => 500, 95 => 500, 96 => 333, 97 => 541, 98 => 583, 99 => 541, 100 => 583, 101 => 583,
  35  	 102 => 375, 103 => 583, 104 => 583, 105 => 291, 106 => 333, 107 => 583, 108 => 291, 109 => 875, 110 => 583, 111 => 583,
  36  	 112 => 583, 113 => 583, 114 => 458, 115 => 541, 116 => 375, 117 => 583, 118 => 583, 119 => 833, 120 => 625, 121 => 625,
  37  	 122 => 500, 123 => 583, 124 => 583, 125 => 583, 126 => 750,
  38  );
  39  $_cr = array(
  40  	 //array(97, 97, 500),
  41  	 array(8094, 8190, 500)
  42  );
  43  foreach($_cr as $_r) {
  44  	 for($i = $_r[0]; $i <= $_r[1]; $i++) {
  45  	 	 $cw[$i+31] = $_r[2];
  46  	 }
  47  }
  48  // --- EOF ---