Commit Graph

65 Commits

Author SHA1 Message Date
Nicolas Guillot
4dcc7800d5 [MTMathAtomFactory] add support for /mod and /pmod 2025-09-30 09:35:29 +02:00
Nicolas Guillot
7f6cb02371 [MTMathAtomFactory] add support for /implies, /iint, /iiint, /nexists 2025-09-29 16:26:48 +02:00
Vilém Raška
5011e4dd79 Fixed wrong reference
mathColor was used instead of mathColorbox
2025-08-02 15:09:03 +02:00
mgriebling
bc7fcfcab8 Merge pull request #46 from Lakr233/main
Fix a crash at cell spacer insertion loop
2025-07-31 15:21:37 -04:00
Freddy Kellison-Linn
c7dcf78d11 Avoid crashing on unexpected color strings 2025-07-30 14:55:15 -04:00
Lakr
cfd646dcac Fix spacer insertion condition in table cell loop
Changed the condition to insert a spacer only when a table row has at least two cells, preventing out-of-bounds errors when accessing the second cell.
2025-07-03 15:13:23 +09:00
mgriebling
28184a044c Merge pull request #39 from lbioser/fix_color_crash
fix crush when {color}
2025-04-22 10:02:40 -04:00
Daniel Resnick
f6f4ebfa89 Fix crashes due to forced unwrapping 2025-04-16 18:10:56 -06:00
Richard
1c3bf9129a Added support for visionOS by adding to #if os(iOS) || os(visionOS) 2025-03-27 11:19:51 +01:00
libing
d84db07ef3 2025-02-12 06:15:06 +00:00
Michael Griebling
606f9be66d Fix Ø command. 2024-12-18 14:50:44 -05:00
Michael Griebling
5c251ad218 Added comments to the accents. 2024-12-18 09:17:40 -05:00
Michael Griebling
1708b07bc9 Restore original `i's. 2024-12-17 16:18:00 -05:00
Michael Griebling
c73dc863b8 Try better accented 'i'. 2024-12-17 15:39:17 -05:00
Michael Griebling
872fa0b2bf Update \cc and \CC definitions. 2024-12-17 15:24:56 -05:00
Michael Griebling
653fe396de Fixed the ç and Ç commands, \cc and \CC, respectively. 2024-12-17 11:29:42 -05:00
Michael Griebling
3f8a358984 Added special symbols. 2024-12-17 11:08:14 -05:00
Michael Griebling
d0b1ff94df Added support for accented and special characters in the input text stream. (e.g., áéíóúýàèìòùâêîôûäëïöüÿãñõçøåæœß'ÁÉÍÓÚÝÀÈÌÒÙÂÊÎÔÛÄËÏÖÜÃÑÕÇØÅÆŒ)
Also added some new commands to support special characters like \aa (å), etc.
2024-12-17 10:21:27 -05:00
Michael Griebling
07b110d07f Update internal changes. 2024-12-15 12:21:08 -05:00
Andrew Lebedev
1dbbaddbff Add thread safety for fonts cache via read-write lock in MTFontManager 2024-11-20 17:57:37 +01:00
Peter Tang
25938db765 Add NSLock to protect lazily loaded tables in multithread concurrent setting 2024-10-26 22:20:25 +08:00
Michael Griebling
7799485428 Added fonts and provided previews. 2024-10-08 19:35:42 -04:00
Michael Griebling
9fecdcf563 Fix Mac version crashes on TextColor. Need at least v12. 2024-10-05 13:52:35 -04:00
Michael Griebling
428537b8d9 Put back Color code in place of txetcolor due to crashes. 2024-10-05 11:29:31 -04:00
Michael Griebling
2809379401 Removed Chinese support (messed with root). Fixed tests. 2024-10-05 10:45:03 -04:00
Michael Griebling
cfc0e75715 Added support for Chinese characters 2024-10-05 10:20:08 -04:00
zhanglecong
0da9f64eda Remove useless nil guard 2024-09-14 00:40:48 +08:00
zhanglecong
b4c329859f Fix fontSize arg is not applied to MTMathImage 2024-09-14 00:38:26 +08:00
Oskar Persson
52823433fd Add diamond symbol 2024-05-19 22:19:45 +02:00
Oskar Persson
2f485c94dc Add support for textcolor 2023-11-15 21:09:47 +01:00
Peter Tang
1cf614036f Fix concurrency thread-safe exception 2023-09-26 13:07:49 +08:00
Peter Tang
397d4ece6d nsImage flipped 2023-09-12 07:32:39 +08:00
Peter Tang
32ba7c128a added MTMathImage - draw latex image offscreen. 2023-09-12 07:18:44 +08:00
Michael Griebling
c15d09e04e Update to fix memory leaking during initialization. 2023-09-11 07:30:53 -04:00
Michael Griebling
cbbce7c6b0 Update for memory leak in MTFont. 2023-09-10 09:09:06 -04:00
Michael Griebling
5e908431df Removed messages during font loading. 2023-07-06 07:52:44 -04:00
André Douzette
a482791f57 Fix crash when sqrt has no radicand 2023-07-06 11:33:12 +02:00
Michael Griebling
b522d7a7a2 Removed CoreGraphics import dependency. 2023-06-17 10:01:18 -04:00
Michael Griebling
d51628fa20 Fix a table-related crash. 2023-02-27 09:00:14 -05:00
Michael Griebling
d05123066c Fixed crash when sublist is nil. 2023-02-27 08:28:57 -05:00
Michael Griebling
46485d8790 Fix font manager init. 2023-02-27 08:21:10 -05:00
Michael Griebling
be7268c80d Update manager definition. 2023-02-27 08:17:36 -05:00
Michael Griebling
8d50c79c91 Fixed crash on invalid syntax in curly braces. 2023-02-27 08:11:26 -05:00
Michael Griebling
c1745cc773 Added an \upquote character ('). 2023-02-26 16:00:06 -05:00
Michael Griebling
5d6254ea93 Added another KpMath-Sans font. 2023-02-22 11:35:48 -05:00
Michael Griebling
18b334bf80 Ditto 2023-02-22 11:19:28 -05:00
Michael Griebling
dd2ae2a5f6 And again. 2023-02-22 11:09:06 -05:00
Michael Griebling
f762dd9ed3 Another attempt to fix unmapped glyphs. 2023-02-22 11:04:09 -05:00
Michael Griebling
f878168d80 Another variant test. 2023-02-22 10:45:15 -05:00
Michael Griebling
53b0bf1d5a Fix issue when there are no variants. 2023-02-22 10:37:59 -05:00