42 Commits

Author SHA1 Message Date
Zev Eisenberg
87cec0630c Modernize .gitignore and move it to the top level. 2023-06-20 10:19:24 -04:00
Zev Eisenberg
3206523835 Add screenshot and move readme to top level. 2023-06-20 10:18:56 -04:00
Rob Napier
9f6d404fad Refactoring 2020-01-19 09:38:36 -05:00
Rob Napier
458430099a Get rid of TypographicBounds type 2020-01-05 21:27:42 -05:00
Rob Napier
dd6ca46028 Support typographicBounds in demo 2020-01-05 18:08:13 -05:00
Rob Napier
23cb2d4dbd Compute typographic bounds for GlyphRuns (somewhat inefficiently) 2020-01-05 17:37:02 -05:00
Rob Napier
8a7f112cb6 Support iOS 8 2020-01-05 15:22:37 -05:00
Rob Napier
4bdc5beafd Handle view flipping in Cocoa 2020-01-05 14:40:59 -05:00
Rob Napier
5d9ff0595e PathTextDemoMac 2020-01-05 12:35:53 -05:00
Rob Napier
a0cbfb30dd Basic PathTextDemoMac 2020-01-05 12:29:45 -05:00
Rob Napier
a35445b77d Create demo apps 2020-01-05 12:16:55 -05:00
Rob Napier
9a190a7491 Eneable Mac Catalyst 2020-01-05 11:44:49 -05:00
Rob Napier
47ec12e4c8 Cleanup Platform* typealiases 2020-01-05 11:38:47 -05:00
Rob Napier
b54de600de Extract AppKit/UIKit 2020-01-05 11:33:26 -05:00
Rob Napier
9f91a4bf68 Make buildable on macos 2020-01-04 12:07:19 -05:00
Rob Napier
440bc1401a Remove unused Linux 2020-01-04 11:27:55 -05:00
Rob Napier
62abb8b205 Update gitignore 2020-01-04 11:27:12 -05:00
Rob Napier
8ebf44922e Remove unused Linux files 2020-01-04 11:26:34 -05:00
Rob Napier
46654b8f4f Use CGContext to draw text and add more attributes 2020-01-02 20:53:58 -05:00
Rob Napier
ed3fc98f72 Use CTFontDrawGlyphs rather than CTRunDraw 2020-01-02 17:12:35 -05:00
Rob Napier
363af726fa Handle invalidations 2020-01-01 17:42:12 -05:00
Rob Napier
7de452fa50 Extract PathTextLayoutManager 2020-01-01 17:18:11 -05:00
Rob Napier
5cf43ea14c Extract GlyphRuns 2020-01-01 16:58:04 -05:00
Rob Napier
4df78d8678 Extract tangents from locations 2020-01-01 16:41:15 -05:00
Rob Napier
687c1103ef Move glyphRange into GlyphLocation 2020-01-01 16:34:42 -05:00
Rob Napier
9362c9dbfe Track glyph index mapping to position 2020-01-01 16:20:47 -05:00
Rob Napier
060e710dcb Move draw(in:) to GlyphRun 2020-01-01 14:58:19 -05:00
Rob Napier
fb4673b874 Move position calc into updateGlyphPositions 2020-01-01 14:30:35 -05:00
Rob Napier
1b71fdea41 Switch to TangentGenerator 2020-01-01 13:37:09 -05:00
Rob Napier
88be806745 Switch to CTRunDraw 2020-01-01 12:27:29 -05:00
Rob Napier
0213c1982c More complex preview 2020-01-01 11:36:55 -05:00
Rob Napier
fbbf8eed2f Reimplment in CoreText (inefficiently) 2020-01-01 11:12:32 -05:00
Rob Napier
846794c9c9 Use CGPath.apply to allow pre-11 iOS 2019-12-08 14:54:39 -05:00
Rob Napier
49c66b44ba Use CGPath to push back to iOS 11 2019-12-08 14:37:16 -05:00
Rob Napier
2f86fe71f3 Add unit tests for quad curves 2019-12-08 14:16:19 -05:00
Rob Napier
74c81a2ca8 Handle quad curves 2019-12-08 13:53:37 -05:00
Rob Napier
e7bc757df8 Handle mixed lines/curves 2019-12-07 17:57:54 -05:00
Rob Napier
5310ff6b73 Add testLine 2019-12-07 15:18:34 -05:00
Rob Napier
db6dcf5b9b flat line test 2019-12-07 15:13:32 -05:00
Rob Napier
724a3ddc29 Rename offsets to t. 2019-12-07 12:54:12 -05:00
Rob Napier
527bfa1095 Basic curve tests 2019-12-07 12:24:18 -05:00
Rob Napier
6d03623cbf Extract PathText module 2019-12-07 11:40:25 -05:00