Commit Graph

2998 Commits

Author SHA1 Message Date
Pietro Gagliardi f6e9da916a Fixed Unix cursor positioning. 2017-02-24 14:25:16 -05:00
Pietro Gagliardi ce1a54a9d1 More documentation works. 2017-02-24 12:39:29 -05:00
Pietro Gagliardi 0db03e5f44 More TODO and documentation cleanup, including removing redundant or now-pointless TODOs. 2017-02-24 12:27:44 -05:00
Pietro Gagliardi 0df8346bff Also removed uiAttributeLangauge for compatibility reasons too. Let's settle all the TODOs now. 2017-02-24 12:12:03 -05:00
Pietro Gagliardi 074350bf99 Removed the TODOs from uiAttributes for attributes we don't yet support. That'll all come later. 2017-02-24 11:49:32 -05:00
Pietro Gagliardi f65fc1f25e Fixed text hit-testing on OS X. 2017-02-24 10:29:08 -05:00
Pietro Gagliardi be56ec3626 Removed the vertical forms attribute. This is a compatiblity nightmare. 2017-02-24 01:23:47 -05:00
Pietro Gagliardi e5f3646fcf Attempts to align the vertical glyphs with the orizontal baseline on OS X with Core Text. This is gonna be harder... 2017-02-23 21:37:41 -05:00
Pietro Gagliardi 0f2b2b1fe5 Fixed background drawing on Windows. 2017-02-22 21:46:15 -05:00
Pietro Gagliardi f2b158b529 And finished implementing attributes on Windows. 2017-02-22 19:13:36 -05:00
Pietro Gagliardi b42250e3a9 More text attributes on Windows, including the beginning of drawing effects for colors and underlines. 2017-02-22 15:19:11 -05:00
Pietro Gagliardi fb04feaebb Started Windows attribute handling. 2017-02-22 12:49:55 -05:00
Pietro Gagliardi ae8105c234 Added debugging to our custom IDWriteTextRenderer. 2017-02-22 11:23:26 -05:00
Pietro Gagliardi 9cc8b03516 Switched to a custom IDWriteTextRenderer, which will be necessary for some of our text attributes. More TODO. 2017-02-22 03:43:43 -05:00
Pietro Gagliardi efb7d5b21d More TODOs. 2017-02-21 16:06:29 -05:00
Pietro Gagliardi c111239b0d More TODOs. 2017-02-20 22:25:49 -05:00
Pietro Gagliardi 75c2c80534 And adding the background attributes. We're done with the Pango one! Now for the Windows one... yay. 2017-02-20 22:24:02 -05:00
Pietro Gagliardi 4ba4e4ba23 More attribute implementation. 2017-02-20 20:41:14 -05:00
Pietro Gagliardi 4a1642cea2 Fixed improper breaks in Unix attribute handling. 2017-02-20 19:51:00 -05:00
Pietro Gagliardi d4b38cd3b7 And switched attributes on on GTK+. We have a problem with attributes that span bytes. 2017-02-20 19:28:19 -05:00
Pietro Gagliardi d7a44a5168 Added uiAttribute handling code to the GTK+ backend. Not finished yet; not used yet. 2017-02-20 17:11:52 -05:00
Pietro Gagliardi ea473a3411 Ugh of course I screwed up the malloc() test. Fixed a crash on GTK+ since I guess OS X malloc() autofills to 0? 2017-02-20 15:14:53 -05:00
Pietro Gagliardi 6ae6e91238 Integrated opentype.c into the build. Finally. 2017-02-20 14:59:43 -05:00
Pietro Gagliardi 7920559aa5 More TODOs. 2017-02-20 12:50:00 -05:00
Pietro Gagliardi f65d4592d0 Combined attributes. We're good I guess. 2017-02-20 12:49:20 -05:00
Pietro Gagliardi fbd294c089 Filled in the rest of the typographic features. Now to write the any combination example. 2017-02-20 12:38:39 -05:00
Pietro Gagliardi 025dd16d76 More examples and crash fixes. 2017-02-16 15:02:19 -05:00
Pietro Gagliardi e27e51c4b8 Seemed to fix crashing issues for now. Character insertion is borked :| 2017-02-16 14:25:19 -05:00
Pietro Gagliardi 92b860c8f4 Added Address Sanitizer as a cmake option. This will help us figure out the crash. 2017-02-16 13:00:57 -05:00
Pietro Gagliardi 685e17fc0e More typographical features examples. This crashing thing is getting really annoying. 2017-02-16 12:49:06 -05:00
Pietro Gagliardi 768aba6614 Added test of Unicase. Had to use the Arial that comes with Windows 10, which seems to be the only font file I have out of **everything** that comes with Unicase. :S 2017-02-16 03:05:29 -05:00
Pietro Gagliardi 4262d893bc Fixed the Arabic embeds that demonstrate required ligatures. 2017-02-16 00:13:09 -05:00
Pietro Gagliardi dcc01f5b01 Started putting the typographical features attributes into the example program. 2017-02-15 23:52:16 -05:00
Pietro Gagliardi 3e941d008e Integrated aat.m into the build. 2017-02-15 23:10:23 -05:00
Pietro Gagliardi 1eb2ffaf82 FLIPPED THE SWITCH 2017-02-15 21:30:21 -05:00
Pietro Gagliardi 4f5328ae65 And added the typographical features for AAT. 2017-02-15 21:11:44 -05:00
Pietro Gagliardi ddffce6d44 More work. This is annoying, stupid 10.9. 2017-02-15 19:42:57 -05:00
Pietro Gagliardi 6761c0a9f7 Added the language tag stuff to the example program. More TODOs. 2017-02-15 16:40:04 -05:00
Pietro Gagliardi 669538e9ce Implemented uiAttributeLanguage on OS X. Untested. 2017-02-15 16:22:42 -05:00
Pietro Gagliardi 85fd3b72af More support for uiAttributeLanguage. 2017-02-15 09:44:57 -05:00
Pietro Gagliardi 81b520249b More attribute work. Getting a clearer idea. 2017-02-15 01:34:26 -05:00
Pietro Gagliardi bda35b40bd Filled in Core Text language details. 2017-02-14 23:56:20 -05:00
Pietro Gagliardi da22adac7f More feature list completeness work. 2017-02-14 22:37:01 -05:00
Pietro Gagliardi 16b0ca518e Synced opentype.c to AAT and more TODOs. 2017-02-14 21:18:56 -05:00
Pietro Gagliardi 2ffcd192c0 Wrote the common code (for DirectWrite and Pango) to deal with OpenType features. Now to merge with Core Text's internal AAT-to-OpenType mapping. 2017-02-14 19:00:35 -05:00
Pietro Gagliardi e4b761d611 Defined more of the OpenType attributes. 2017-02-14 17:15:19 -05:00
Pietro Gagliardi 4195bc3b4b Finalized and implemented underlines on OS X. 2017-02-14 14:57:56 -05:00
Pietro Gagliardi eb7dfa5cc4 More attribute work, including trimming unsupported or nonsensical attributes. 2017-02-14 14:21:58 -05:00
Pietro Gagliardi 250cba7c67 Added more potential attributes. 2017-02-14 13:21:47 -05:00
Pietro Gagliardi aa7d1e28ea More TODOs. 2017-02-14 02:55:42 -05:00