Commit Graph

29 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
Richard
1c3bf9129a Added support for visionOS by adding to #if os(iOS) || os(visionOS) 2025-03-27 11:19:51 +01: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
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
Peter Tang
9fd78752a2 renamed 2023-10-01 04:21:22 +08:00
Peter Tang
cf41852f30 remove Hashable CGSize 2023-09-30 15:17:26 +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
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
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
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
Peter Tang
4d922a5638 updated all resource names separate from fontName, fontFamilyName. 2023-09-12 18:40:01 +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