Commit Graph

137 Commits

Author SHA1 Message Date
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
Peter Tang
73a56c3d93 consolidate to use threadSafeQueue only. 2023-09-19 09:21:07 +08:00
Peter Tang
024468cddd threadsafe protect CTFontCreateWithGraphicsFont 2023-09-18 21:54:45 +08:00
Peter Tang
045c2aab72 clean up unnecessary test script messages. 2023-09-18 20:13:34 +08:00
Peter Tang
c6ea427bfb clean up unnecessary test script messages. 2023-09-18 20:10:52 +08:00
Peter Tang
b637b18ace resource loading is serialised, font and mathtable dictionaries in BundleManager are threadsafe protected. 2023-09-18 19:04:06 +08:00
Peter Tang
6306ab7c4b threadsafe MathImage and MTMathImag concurrent testScripts. 2023-09-18 14:47:45 +08:00
Peter Tang
5de5ea677e threadsafe MathFont, MTFontV2, MTFontMathTableV2 with concurrent testScripts. 2023-09-18 13:30:31 +08:00
mgriebling
be802ae0c6 Merge pull request #10 from petersktang/main
Sunset MathTable, added MTFontV2, MTFontMathTableV2 and MathImage

Thanks for your work on this.
2023-09-15 07:45:54 -04:00
Peter Tang
40a6896889 corrected some variable names within BundleManager functions, added onDemandBundle registration instead of loading all Resources at startup. 2023-09-15 17:06:06 +08:00
Peter Tang
2cdab9cc0e comment lines updated. 2023-09-15 12:06:58 +08:00
Peter Tang
b20bfd37df cleaned unnecessary comments. 2023-09-15 11:34:21 +08:00
Peter Tang
9d42487ee5 use debugPrint instead. 2023-09-15 11:32:59 +08:00
Peter Tang
f36db0db3a complete rest of MTFontMathTableV2 logic 2023-09-15 10:53:38 +08:00
Peter Tang
cea2188310 Sunset MathTable, created MTFontV2, MTFontMathTableV2 and MathImage, about to sunset MTMathImage 2023-09-15 09:53:54 +08:00
Michael Griebling
2762cbee85 Removed font warning in print. 2023-09-12 07:59:07 -04:00
mgriebling
6fd6ab005a Merge pull request #8 from petersktang/main
Contribute off-screen drawing code to generate NSImage and UIImage
2023-09-12 07:46:37 -04:00
Peter Tang
4d922a5638 updated all resource names separate from fontName, fontFamilyName. 2023-09-12 18:40:01 +08:00
Peter Tang
6049e93c07 added test case around UIFont family names. 2023-09-12 18:22:32 +08:00
Peter Tang
490790c06f fixed UIFont and NSFont issue, their names are different from the otf file names 2023-09-12 18:10:05 +08:00
Peter Tang
85d25cf177 clean up array contents within BundleManager. 2023-09-12 09:38:11 +08:00
Peter Tang
d1e9a39e11 cache fontMathTable within MathTable to optimize. 2023-09-12 09:27:11 +08:00
Peter Tang
2d579c1192 modified declaration glyph in GlyphPart within MathTable. 2023-09-12 08:57:39 +08:00
Peter Tang
d1c4ac77a6 embedded GlyphPart within MathTable, MTTypesetter is not yet using this GlyphPart. 2023-09-12 08:28:24 +08:00
Peter Tang
018ce0cd08 MathFont and MathTable added, both do not rely on existing SwifthMath code. 2023-09-12 07:55:46 +08:00
Peter Tang
397d4ece6d nsImage flipped 2023-09-12 07:32:39 +08:00