Commit Graph

211 Commits

Author SHA1 Message Date
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
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
Michael Griebling
5940731d1a Update font name to lowercase. 2023-02-22 09:32:47 -05:00
Michael Griebling
ccfbbb0d41 Added font manager support for KpMath-Light font. 2023-02-22 09:10:53 -05:00
Michael Griebling
6aa6881283 Added KpMath-Light font. 2023-02-22 09:05:58 -05:00
Michael Griebling
d44193975f Test of newly-generated xits-math plist. 2023-02-22 08:18:54 -05:00
Michael Griebling
a906340f07 \ll and \gg symbols were swapped. 2023-01-31 10:28:25 -05:00
Michael Griebling
fa7dfce8ce Fixed the hex color visibility. 2023-01-20 16:36:15 -05:00