Commit Graph

223 Commits

Author SHA1 Message Date
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
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
mgriebling
71ff06c45c Merge pull request #4 from AndreDouzette/main
Fix crash when sqrt has no radicand
2023-07-06 06:22:22 -04:00
André Douzette
a482791f57 Fix crash when sqrt has no radicand 2023-07-06 11:33:12 +02:00
Michael Griebling
695c8a6b84 Remove CoreGraphics dependency. 2023-06-17 10:04:36 -04: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