charset: replace private use glyphs in MacHebrew
[sheet.git] / charset.plp
index 5b415eec8387bb6cf6b76e81f7ae3c52d9093f5e..6300622f3ea16088b40c6aee93c63a96f93ec1b2 100644 (file)
@@ -178,6 +178,12 @@ sub tabinput {
                while (my ($offset, $sub) = each %{$replace}) {
                        $offset -= $row{offset};
 
+                       if (ref $row{table} eq 'ARRAY') {
+                               $row{table}->[$offset] = $sub
+                                       if $offset >= 0 and $offset <= $row{endpoint};
+                               next;
+                       }
+
                        my $length = length $sub;
 
                        if ($offset < 0) {