Commit Graph

162 Commits

Author SHA1 Message Date
Daniel Resnick
a73bf8d3f1 Add layout info to MathImage
This makes it possible to align images generated by MathImage alongside text, in an AttributedString for example.
2025-05-16 18:36:32 -06:00
mgriebling
28184a044c Merge pull request #39 from lbioser/fix_color_crash
fix crush when {color}
2025-04-22 10:02:40 -04:00
mgriebling
cc9d806298 Merge pull request #43 from trilorez/optional-fixes
Fix crashes due to forced unwrapping.  Thanks for fixing this.
2025-04-22 09:58:44 -04:00
Daniel Resnick
f6f4ebfa89 Fix crashes due to forced unwrapping 2025-04-16 18:10:56 -06:00
mgriebling
f73b8a1f73 Merge pull request #41 from risasim/main
Added support for VisionOS
2025-04-07 08:40:15 -04: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
mgriebling
3d07349901 Merge pull request #33 from a-lebedev/feature/fix_crash_for_getting_fonts 2024-12-10 06:49:46 -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
mgriebling
71da5ae960 Merge pull request #32 from petersktang/main
Add NSLock to protect lazily loaded tables in multithread setting
2024-10-26 10:29:53 -04: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
55b539b74e Updated MathView examples. 2024-10-08 19:45:30 -04:00
Michael Griebling
7799485428 Added fonts and provided previews. 2024-10-08 19:35:42 -04:00
Michael Griebling
de4484382d Updated some fonts and added python script to create plist files. 2024-10-06 17:56:24 -04:00
Michael Griebling
99dc4ad8de Update to README.md and graphic files. 2024-10-06 16:29:28 -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
a87d4b5a3c Remove Chinese support again 2024-10-05 11:03:29 -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
mgriebling
42f3d2ea78 Merge pull request #28 from 07akioni/main
Fix fontSize arg is not applied to MTMathImage
2024-09-14 08:18:37 -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
mgriebling
fe8a17711e Merge pull request #21 from OskarPersson/diamond
Add diamond symbol
2024-05-28 08:19:33 -04:00
Oskar Persson
52823433fd Add diamond symbol 2024-05-19 22:19:45 +02:00
mgriebling
3964a0c4b1 Merge pull request #16 from OskarPersson/textcolor
Add support for textcolor. Thanks for adding this.
2023-11-24 07:25:19 -05:00
Oskar Persson
2f485c94dc Add support for textcolor 2023-11-15 21:09:47 +01:00
mgriebling
aa8ae54f59 Merge pull request #13 from petersktang/main
Fix Concurrency Thread-safe exception
2023-10-01 07:10:12 -04:00
Peter Tang
9fd78752a2 renamed 2023-10-01 04:21:22 +08:00
Peter Tang
2ba6968baf Delete LatexMathSymbols.pdf 2023-09-30 15:18:41 +08:00
Peter Tang
cf41852f30 remove Hashable CGSize 2023-09-30 15:17:26 +08:00
Peter Tang
6d624fc826 remove Hashable CGSize 2023-09-30 15:16:43 +08:00
Peter Tang
dad776acbb remove Hashable CGSize 2023-09-30 15:15:36 +08:00
Peter Tang
cc95461945 Delete Sources/TexParser directory 2023-09-30 15:06:35 +08:00
Peter Tang
a7f4fe401b Delete Sources/MathTexParser directory 2023-09-30 15:06:24 +08:00
Peter Tang
703f252765 resize the image 2023-09-30 15:03:16 +08:00
Peter Tang
1cf614036f Fix concurrency thread-safe exception 2023-09-26 13:07:49 +08:00
Peter Tang
2f962f98c3 Fix concurrency thread-safe exception 2023-09-26 13:00:12 +08:00
mgriebling
170fc5b5bf Merge pull request #11 from petersktang/main
Contribute threadsafe code on MathFont, BundleManager, MTFontV2, MTFontMathTableV2
2023-09-20 07:31:21 -04:00
Peter Tang
6959b42f81 Delete Tests/Obsolete directory 2023-09-20 09:31:17 +08:00
Peter Tang
8cf541286f Delete Sources/Obsolete directory 2023-09-20 09:30:51 +08:00