2 * Copyright (C) 2024 Mikulas Patocka
4 * This file is part of Ajla.
6 * Ajla is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation, either version 3 of the License, or (at your option) any later
11 * Ajla is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along with
16 * Ajla. If not, see <https://www.gnu.org/licenses/>.
19 private unit uni_fallback;
21 const uni_fallback~cache : array(char, [#110000]);
25 const uni_fallback~cache : array(char, [#110000])
27 var am := array_sparse(char, 0, [#110000]);
1118 am[#002018] := '''';
1119 am[#002019] := '''';
1121 am[#00201b] := '''';
1381 am[#00ff07] := '''';
1522 am[#002552] := #250c;
1523 am[#002553] := #250c;
1525 am[#002555] := #2510;
1526 am[#002556] := #2510;
1528 am[#002558] := #2514;
1529 am[#002559] := #2514;
1531 am[#00255b] := #2518;
1532 am[#00255c] := #2518;
1534 am[#00255e] := #2502;
1535 am[#00255f] := #2551;
1537 am[#002561] := #2502;
1538 am[#002562] := #2551;
1540 am[#002564] := #2550;
1541 am[#002565] := #2500;
1543 am[#002567] := #2550;
1544 am[#002568] := #2500;
1546 am[#00256a] := #2550;
1547 am[#00256b] := #2551;