Commit Graph

3160 Commits

Author SHA1 Message Date
Pietro Gagliardi cf15dba2ef Oops, missed a spot when cleaning up the previous commit. Fixed. 2018-02-28 01:22:16 -05:00
Pietro Gagliardi 5ab1266b5d Finished the boilerplate for the uiOpenTypeFeatures test. 2018-02-28 01:21:10 -05:00
Pietro Gagliardi 70815d8d7b Started writing a test suite for uiOpenTypeFeatures. So far it's just the test boilerplate. 2018-02-27 23:44:50 -05:00
Pietro Gagliardi 3f62cb5cee Oops; forgot to update attrstr.h in the last commit. Also changed a TODO to a LONGTERM in opentype.c. 2018-02-25 20:40:23 -05:00
Pietro Gagliardi dcaf69bc51 Added a single cross-platform implementation of uiOpenTypeFeatures. 2018-02-25 20:38:06 -05:00
Pietro Gagliardi 886f1dbc4c Merge branch 'master' into utflib-and-attrstr 2018-02-23 07:29:57 -05:00
Pietro Gagliardi 20a94937b3 More TODOs. 2018-02-22 20:58:40 -05:00
Pietro Gagliardi 7891cd81c2
Merge pull request #276 from ForsakenHarmony/patch-1
Correct readme travis badge
2018-02-22 07:46:57 -05:00
Pietro Gagliardi 8b35d16144 More notes. Also fixed a typo (thanks Nicole from Jul). 2018-02-20 21:05:08 -05:00
Pietro Gagliardi 93bf0d403e Wrote the new uiAttribute code in attribute.c. 2018-02-19 18:37:50 -05:00
Pietro Gagliardi eeb7717d88 Moved old attributed-string stuff out of the way for now. 2018-02-19 01:52:38 -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 e768293b54 Merge branch 'master' into utflib-and-attrstr 2018-02-17 22:30:01 -05:00
Pietro Gagliardi a245ced3dc One last overdue README update before the package. Alpha 3.5. 2018-02-17 21:26:12 -05:00
Pietro Gagliardi 77ba614948 asdf. 2018-02-17 16:44:52 -05:00
Pietro Gagliardi dd54b3da93 And updated the README. Now to pull out a release. 2018-02-17 12:59:31 -05:00
Pietro Gagliardi 6c85f39584 Improved the comment in the previous commit. 2018-02-17 12:56:47 -05:00
Alexander Neumann ee87a9db23 Fix enter/escape crashes on Windows (#202)
* Do not let slip through IDOK and IDCANCEL as menu events, fixes #55

* Add comment about IDOK and IDCANCEL
2018-02-17 12:53:32 -05:00
Pietro Gagliardi 17f1499246 Some cleanup of the top-level directory. 2018-02-17 11:10:37 -05:00
Pietro Gagliardi a74923d574 Finally decided to add that httext file; gzipped to avoid git mangling it. 2018-02-17 11:04:02 -05:00
Pietro Gagliardi 686458cdb7 Added notes stuff. The TODO.md file will eventually wind up moving there. 2018-02-17 11:01:50 -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 ca5a5f1f72 More TODOs. I have to really think about this API and build a point-by-point test... 2017-11-04 20:47:09 -04:00
Pietro Gagliardi d44c20c4a1 Stashed diffs for fixing empty text layouts on OS X; the code is now utterly complicated AND my memory of what I did so far on this branch is starting to fail. 2017-11-04 16:48:02 -04:00
Pietro Gagliardi 243e210cbc Resolved some darwin/drawtext.m TODOs. 2017-11-04 11:52:33 -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 67a7b64f56 More TODOs. 2017-11-04 02:52:12 -04:00
Pietro Gagliardi 6869f28718 Fixed fixed-point math issues. fvar tables now work fine, which means Skia finally works! 2017-11-04 02:44:38 -04:00
Pietro Gagliardi ad34745327 Fixed loading of undocumented symbols. Now we're making progress! And what's more, fvar support is working! But not perfectly — everything seems to be hitting extremes... 2017-11-03 21:55:43 -04:00
Pietro Gagliardi e0b584082d Reintegrated everything and fixed more compiler errors. Now we have to deal with linker errors, and then with testing to see if everything worked... 2017-11-03 20:59:27 -04:00
Pietro Gagliardi 2276a136cb And tied everything together. Now we move everything back and test. 2017-11-03 20:33:08 -04:00
Pietro Gagliardi 8333063cc0 And implemented fontvariation.m. 2017-11-03 19:52:49 -04:00
Pietro Gagliardi 72d31285c1 Migrated fonttraits.m to use the new fontStyleData class. 2017-11-03 18:52:15 -04:00
Pietro Gagliardi 51f0e3dbe5 Folded all CFNumber accesses into [self prepare] for error checking. This shouldn't make things *significantly* slower... 2017-11-03 18:41:13 -04:00
Pietro Gagliardi 4e7fb5e264 Added code that handles all the attribute stuff for a CTFontRef AND CTFontDescriptorRef for us; we'll use this throughout the various font style files instead of doing everything ourselves. 2017-11-03 15:51:21 -04:00
Pietro Gagliardi be6a07755b Described what each of the three .m files are going to do. 2017-11-02 21:51:00 -04:00
Pietro Gagliardi 57a6ea0a77 Moved fontmatch.m alongside the other font files as we prepare to combine everything. 2017-11-02 21:10:38 -04:00
Pietro Gagliardi f2971f637f Added fvar axis identifiers. 2017-11-02 19:33:41 -04:00
Pietro Gagliardi b7e6311621 Started writing the code for processing font variations for Core Text so we can process Skia correctly. 2017-11-02 19:27:57 -04:00
Pietro Gagliardi 2e5f2c273b More fvar.swift stuff. I'm going to need a font with an avar table... 2017-11-02 10:39:43 -04:00
Pietro Gagliardi 830753d888 More fvar.swift stuff. This is gonna hurt... 2017-11-02 03:17:33 -04:00
Pietro Gagliardi 03b089c972 Added a fvar table test. This might be a bit more complicated... 2017-11-02 02:46:16 -04:00
Pietro Gagliardi 6b295b2d3f And fixed a comment placeholder (and typo) and reformatted it slightly. 2017-11-01 20:23:52 -04:00
Pietro Gagliardi a7bbbc8bb9 Changed a slight thing in fonttraits.m. 2017-11-01 20:20:12 -04:00