Commit Graph

84 Commits

Author SHA1 Message Date
Pietro Gagliardi fa293717af Removed the NumLines and LineByteRange functions for now; I'll count them under extents. 2018-03-17 21:05:05 -04:00
Pietro Gagliardi 1fae3eea02 And wrote a new, simpler drawtext example. Now to debug run-time issues in the new attributed string code! First up: some infinite loop. 2018-03-10 21:57:45 -05:00
Pietro Gagliardi c82197f408 And fixed other compile errors. Of course I forgot to add uiFontButton back in (I wanted to properly comment that first :/ ). Now for linker errors, which may result in some warning fixes along the way. 2018-03-09 18:01:23 -05:00
Pietro Gagliardi e9a62461c2 Started fixing compile errors. I forgot I renamed uiDrawFontDescriptor to uiFontDescriptor! 2018-03-08 23:04:45 -05:00
Pietro Gagliardi 20a94937b3 More TODOs. 2018-02-22 20:58:40 -05:00
Pietro Gagliardi 93bf0d403e Wrote the new uiAttribute code in attribute.c. 2018-02-19 18:37:50 -05:00
Pietro Gagliardi 6a737ba48e Flipped old and new ui_attrstr.h. 2018-02-19 01:46:16 -05:00
Pietro Gagliardi ec8952a8e8 More work on new_ui_attrstr.h. Almost finished with this, actually... 2018-02-18 22:02:42 -05:00
Pietro Gagliardi cbc78248e7 More attrstr API finalization work, 2017-12-13 23:41:49 -08:00
Pietro Gagliardi 84756ab0ec Finished setting up the new uiAttribute format. 2017-12-10 19:22:49 -05:00
Pietro Gagliardi 4b7ca92ce7 Decided what to do about attributes. 2017-12-09 23:47:50 -05:00
Pietro Gagliardi bad2325323 More attributed string API work. Of note, decided to make each type of attribute have its own field in uiAttributeSpec, to make thinking about what to do next easier (and because why not). 2017-11-06 23:58:35 -05:00
Pietro Gagliardi e33879a283 Okay, I need to rethink these APIs. Let's start doing so. Then I should also write a testsuite for uiAttributedString. 2017-11-05 22:52:14 -05:00
Pietro Gagliardi 1f33ca14d8 Fixed Windows build issues and resolved a question in libui that I need to enshrine in documentation next. 2017-11-04 21:44:28 -04:00
Pietro Gagliardi 84d49cd45b Decided to keep the minimum and maximum weights as 0 and 1000. 2017-11-04 11:18:25 -04:00
Pietro Gagliardi 271a3bc022 More TODOs. 2017-06-19 23:34:59 -04:00
Pietro Gagliardi 180b6429ef More documentation, const correctness, and TODO wrangling. 2017-06-19 22:00:46 -04:00
Pietro Gagliardi 5d7128781b And const-corrected uiAttributedStringForEachAttribute(). 2017-06-19 21:45:18 -04:00
Pietro Gagliardi 3e20e4670c Made a decision on const correctness in uiOpenTypeFeatures. 2017-06-19 14:50:03 -04:00
Pietro Gagliardi e6ee2b0dbd Some TODO elminiation (for once). One TODO got reshuffled. 2017-06-18 20:10:42 -04:00
Pietro Gagliardi f0813ac6e4 More stuff. I should probably write that OpenType features test now. 2017-06-10 03:37:17 -04:00
Pietro Gagliardi d63a5b23b1 Handled uiOpenTypeFeatures NULL equality. This only added more TODOs elsewhere :| 2017-06-09 19:59:48 -04:00
Pietro Gagliardi b73721905f Meh. 2017-06-09 19:43:55 -04:00
Pietro Gagliardi cde1a201f4 Expanded documentation in ui_attrstr.h in an attempt to reduce TODOs. Instead, I added more. :D 2017-06-08 15:31:28 -04:00
Pietro Gagliardi 20239df6f2 Some TODO resolution via documentation writing. 2017-06-08 00:59:17 -04:00
Pietro Gagliardi b3e3b27f71 Some more TODO cleanup and name adjustment. 2017-06-06 14:14:33 -04:00
Pietro Gagliardi a415a846f7 Some comment fixups. 2017-06-06 13:46:54 -04:00
Pietro Gagliardi 8e8cc12105 Added uiForEach for canonicalizing foreach function returns and used it everywhere. 2017-06-06 12:47:07 -04:00
Pietro Gagliardi 1d40ab659c More TODOs. 2017-05-30 19:07:59 -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 91bfceaf71 And FINALLY cleaned up all the AAT nonsense. Much saner now. 2017-05-30 14:00:58 -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 a17985b4cd Some big TODOs I didn't realize until now. 2017-05-19 20:46:56 -04:00
Pietro Gagliardi 90962e18c4 And got rid of the remaining old stuff entirely. 2017-05-19 16:14:39 -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 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 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 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 be56ec3626 Removed the vertical forms attribute. This is a compatiblity nightmare. 2017-02-24 01:23:47 -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 1eb2ffaf82 FLIPPED THE SWITCH 2017-02-15 21:30:21 -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 16b0ca518e Synced opentype.c to AAT and more TODOs. 2017-02-14 21:18:56 -05:00