71 Commits

Author SHA1 Message Date
Rob Napier
605cf8f4e4 Merge pull request #3 from ZevEisenberg/develop
Add image to the readme
2023-06-22 09:19:49 -04:00
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
2b5e36d22c Support back to OSX 10.10 2020-01-05 15:49:47 -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
9365861216 Match PathText demos 2020-01-05 13:56:15 -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
78a4e24e00 Remove playground 2020-01-04 11:25:54 -05:00
Rob Napier
d0283b1425 Add license 2020-01-03 10:02:59 -05:00
Rob Napier
6fd2c83acc Merge branch 'develop' into uikit 2020-01-03 10:01:37 -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
80f7cc7e04 Merge pull request #2 from rnapier/add-license-1
Create LICENSE
2019-12-22 09:44:10 -05:00
Rob Napier
dd622b9642 Create LICENSE 2019-12-22 09:43:55 -05:00
Rob Napier
5c776cb37e Support shadow 2019-12-20 09:45:25 -05:00
Rob Napier
ad3213f590 Code cleanup 2019-12-17 16:59:10 -05:00
Rob Napier
0ccc94564e Support attributes 2019-12-17 11:28:15 -05:00
Rob Napier
5d79e40a52 Handle combining characters 2019-12-17 11:11:02 -05:00
Rob Napier
f11c25e5a4 WIP using CoreText before moving back to TextKit 2019-12-17 09:48:50 -05:00
Rob Napier
3d8e77b2c9 Simplify updatePositions 2019-12-16 16:11:35 -05:00
Rob Napier
df3213b519 Use all core text 2019-12-16 14:59:52 -05:00
Rob Napier
ec3596644c Handle multi-paths 2019-12-16 14:04:03 -05:00
Rob Napier
209ab60262 Compute baseline from font 2019-12-15 21:24:30 -05:00
Rob Napier
ffe922a22b Hardcoded baseline adjustment 2019-12-15 17:12:12 -05:00