Commit Graph

3188 Commits

Author SHA1 Message Date
Pietro Gagliardi 1d40ab659c More TODOs. 2017-05-30 19:07:59 -04:00
Pietro Gagliardi 2e98219009 And fixed the whole OpenType features nonsense on GTK+, since we now group all OpenType features together. We're now much closer to pushing this back into master! 2017-05-30 19:07:01 -04:00
Pietro Gagliardi c61bbfe5c8 Updated the GTK+ code to the newest changes. I *do* need to fix this one. 2017-05-30 18:46:30 -04:00
Pietro Gagliardi 81a82723d0 Fixed the Windows code to run after the recent changes. Now to decide whether to clean it up like we did the OS X code... 2017-05-30 16:57:25 -04:00
Pietro Gagliardi 01df4631f6 And finished integrating the new attributed string stuff on OS X. 2017-05-30 15:24:31 -04:00
Pietro Gagliardi 06becce34c And finished the font attribute rewrite on OS X. Now to test. 2017-05-30 14:38:25 -04:00
Pietro Gagliardi 91bfceaf71 And FINALLY cleaned up all the AAT nonsense. Much saner now. 2017-05-30 14:00:58 -04:00
Pietro Gagliardi c4dd85bece More reworking the OS X attributed string code. Now we need to rework the AAT code somewhat too. 2017-05-30 13:18:13 -04:00
Pietro Gagliardi e356f1c48a Started reworking darwin/attrstr.m to be a lot more sane. 2017-05-30 13:06:58 -04:00
Pietro Gagliardi 1733c28b52 Added consts to the OpenType implementations. 2017-05-30 09:52:38 -04:00
Pietro Gagliardi d979f7a93e Updated a stale comment. 2017-05-28 21:55:10 -04:00
Pietro Gagliardi 02020e676a Managed attribute spec memory properly. 2017-05-28 00:41:40 -04:00
Pietro Gagliardi 475ae4a4bf Started making attribute manipulation better. In a sense. Pointers will be represented properly, and in a const-safe way. We'll need to make local copies of everything, of course. 2017-05-28 00:19:49 -04:00
Pietro Gagliardi 57873bae72 Stuff. 2017-05-27 18:19:08 -04:00
Pietro Gagliardi a17985b4cd Some big TODOs I didn't realize until now. 2017-05-19 20:46:56 -04:00
Pietro Gagliardi fb884abc41 Fixed memory issues with future.m. 2017-05-19 16:58:15 -04:00
Pietro Gagliardi dd54469677 Set up a future system for OS X like we have on GTK+ and moved everything we already have to it. You'll notice we also set up a loader for what we're going to use this for: using OpenType attributes directly on OS X. 2017-05-19 16:40:52 -04:00
Pietro Gagliardi 90962e18c4 And got rid of the remaining old stuff entirely. 2017-05-19 16:14:39 -04:00
Pietro Gagliardi bd39189a0e Fixed the build and an unspotted error in the drawtext example. 2017-05-19 16:10:54 -04:00
Pietro Gagliardi b7d34bf4f5 And tied everyhting together, sort of. 2017-05-19 15:48:15 -04:00
Pietro Gagliardi 1a2dd1f16b Converted darwin/aat.m to the new OpenType system. We can't use the code as-is just yet, though. 2017-05-19 15:14:41 -04:00
Pietro Gagliardi 72f5b680f2 Filled in darwin/opentype.m. 2017-05-19 14:12:04 -04:00
Pietro Gagliardi 39cec570d9 And implemented the new features stuff on the GTK+ side. 2017-05-17 23:37:16 -04:00
Pietro Gagliardi ff4ab7110c Filled in GTK+ opentype.c. This is gonna suck as much as it does now... 2017-05-17 22:56:55 -04:00
Pietro Gagliardi 4f427b2121 And ported the drawtext example to use the new features system. 2017-05-17 21:41:08 -04:00
Pietro Gagliardi 3e28887a24 Fixed the build. 2017-05-17 19:21:27 -04:00
Pietro Gagliardi 4f31a1331c And omitted the common OpenType stuff from the build. 2017-05-17 16:18:28 -04:00
Pietro Gagliardi 2f73df09e3 And adjusted the Windows attrstr.cpp to boot. Now to rewrite the example and test. 2017-05-17 16:15:54 -04:00
Pietro Gagliardi 4e6ccc05f1 Implemented the new opentype.cpp on Windows. 2017-05-17 15:57:39 -04:00
Pietro Gagliardi 676dfb87f2 Started the uiOpenTypeFeatures implementationss, filling in holes in the API. 2017-05-11 10:27:34 -04:00
Pietro Gagliardi a0454a6b43 Started dropping the whole features system in favor of a homogenous OpenType feature attribute just like every other API. Will make some things easier, hopefully... 2017-05-07 10:30:08 -04:00
Pietro Gagliardi df2a726c1b And fixed on Windows too. We're good. 2017-02-25 01:24:43 -05:00
Pietro Gagliardi 70940e5c06 More TODOs. 2017-02-24 21:43:37 -05:00
Pietro Gagliardi 3d5fbc0880 Checked empty strings on Pango. 2017-02-24 21:42:40 -05:00
Pietro Gagliardi c4400b83f3 Okay, notes on linelessness on OS X. 2017-02-24 21:24:52 -05:00
Pietro Gagliardi 58fff53f61 More TODOs... 2017-02-24 21:18:15 -05:00
Pietro Gagliardi 5234586ead Added a test for making uiDrawTextLayouts on empty strings. We're already off to a good start since we have a ~0 error on OS X... 2017-02-24 18:54:35 -05:00
Pietro Gagliardi 5fe4e27c5d TODO cleanup and stale TODO removal. That nLines == 0 TODO needs more testing... 2017-02-24 18:46:53 -05:00
Pietro Gagliardi 28b30367e2 Still more TODO resolution. 2017-02-24 18:19:34 -05:00
Pietro Gagliardi cca4db5ce9 More TODO resolution and pointless TODO elimination. 2017-02-24 18:15:20 -05:00
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