protected function o_cidSystemInfo($id, $action)
    {
        switch ($action) {
            case 'new':
                $this->objects[$id] = array(
                    't' => 'cidSystemInfo'
                );
                break;
            case 'add':
                break;
            case 'out':
                $ordering = '(UCS)';
                $registry = '(Adobe)';

                if ($this->encrypted) {
                    $this->encryptInit($id);
                    $ordering = $this->ARC4($ordering);
                    $registry = $this->ARC4($registry);
                }


                $res = "\n$id 0 obj\n";

                $res .= '<</Registry ' . $registry . "\n"; // A string identifying an issuer of character collections
                $res .= '/Ordering ' . $ordering . "\n"; // A string that uniquely names a character collection issued by a specific registry
                $res .= "/Supplement 0\n"; // The supplement number of the character collection.
                $res .= ">>";

                $res .= "\nendobj";;

                return $res;
        }

        return null;
    }
protected function o_cidSystemInfo($id, $action)
    {
        switch ($action) {
            case 'new':
                $this->objects[$id] = array(
                    't' => 'cidSystemInfo'
                );
                break;
            case 'add':
                break;
            case 'out':
                $ordering = '(UCS)';
                $registry = '(Adobe)';

                if ($this->encrypted) {
                    $this->encryptInit($id);
                    $ordering = $this->ARC4($ordering);
                    $registry = $this->ARC4($registry);
                }


                $res = "\n$id 0 obj\n";

                $res .= '<</Registry ' . $registry . "\n"; // A string identifying an issuer of character collections
                $res .= '/Ordering ' . $ordering . "\n"; // A string that uniquely names a character collection issued by a specific registry
                $res .= "/Supplement 0\n"; // The supplement number of the character collection.
                $res .= ">>";

                $res .= "\nendobj";;

                return $res;
        }

        return null;
    }
protected function o_cidSystemInfo ( $ id , $ action ) { switch ( $ action ) { case 'new' : $ this -> objects [ $ id ] = array ( 't' => 'cidSystemInfo' ) ; break ; case 'add' : break ; case 'out' : $ ordering = '(UCS)' ; $ registry = '(Adobe)' ; if ( $ this -> encrypted ) { $ this -> encryptInit ( $ id ) ; $ ordering = $ this -> ARC4 ( $ ordering ) ; $ registry = $ this -> ARC4 ( $ registry ) ; } $ res = "\n$id 0 obj\n" ; $ res .= '<</Registry ' . $ registry . "\n" ; // A string identifying an issuer of character collections $ res .= '/Ordering ' . $ ordering . "\n" ; // A string that uniquely names a character collection issued by a specific registry $ res .= "/Supplement 0\n" ; // The supplement number of the character collection. $ res .= ">>" ; $ res .= "\nendobj" ; ; return $ res ; } return null ; }
CID system info section, needed for unicode fonts

@param $id
@param $action
@return null|string
CID system info section needed for unicode fonts