Commit Graph

102 Commits

Author SHA1 Message Date
Pietro Gagliardi fb60d5860e Started pinning down reserved names. This is awkward... 2018-05-06 11:27: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
Pietro Gagliardi 3108f65b39 Wrote the initial version of the final code for converting Core Text traits into libui traits. 2017-11-01 20:14:44 -04:00
Pietro Gagliardi 2481610ee4 And made a similar ctwidthscombined to the previous commit's ctweightscombined. Now I can start thinking about implementation. 2017-11-01 13:34:54 -04:00
Pietro Gagliardi b769b81639 Added an aggregation of Core Text weight values for my own thinking and planning. 2017-10-31 23:50:05 -04:00
Pietro Gagliardi 0a1b5ff6a8 Oops, accidentally chopped off a hex digit from one of the ctweights values. Fixed (manually). 2017-10-31 22:48:02 -04:00
Pietro Gagliardi 78bfc62399 Oops; generated weights instead of widths. 2017-10-22 10:06:28 -04:00
Pietro Gagliardi 1673156fd6 And the last bits for widths. 2017-10-22 01:31:26 -04:00
Pietro Gagliardi 1851fc8045 Added code to print the unregistered OS2 width values using the real instructions and constants used by Core Text. 2017-10-22 01:27:57 -04:00
Pietro Gagliardi e2369df648 More width stuff. 2017-10-21 23:55:03 -04:00
Pietro Gagliardi e186c0e69a Mapped out Core Text width value deduction. Will need to do the other files for this one too. 2017-10-21 22:43:43 -04:00
Pietro Gagliardi b2b5bc36b1 And annotated the ctweights list. 2017-10-21 12:45:15 -04:00
Pietro Gagliardi e5e0dca360 And processed the weights list. 2017-10-21 12:33:38 -04:00
Pietro Gagliardi e3deebaa1d And sorted out the weights. Now to determine what is and isn't sane. 2017-10-21 12:22:50 -04:00
Pietro Gagliardi 3b316ddb5b Sorted all the possible Core Text weight values into lists. Now to process those lists. 2017-10-21 12:07:07 -04:00
Pietro Gagliardi 2858c56528 CGFontCopyName() is too intricate to recreate. We might have to wind up calling it directly... 2017-10-21 02:54:39 -04:00
Pietro Gagliardi 9b28bd5ecd More name table work. 2017-10-20 14:14:32 -04:00
Pietro Gagliardi 9731d2e836 More work on ctweights. 2017-10-19 23:54:46 -04:00
Pietro Gagliardi f94de2eef8 And finally finished the core Core Text weight determination functionality pseudo-Go-code. God damn. And I have a funny feeling stretches are going to be a tad bit more inconsistent too... :| Not quite complete, though; need to fill in the name table parsing rules first. 2017-10-19 19:15:46 -04:00
Pietro Gagliardi 683bd47491 More ctweights stuff. 2017-10-19 00:01:14 -04:00
Pietro Gagliardi 9f1e1b25be Started converting the code in Core Text itself that determines what weight a font has into pseudocode. 2017-10-17 23:40:07 -04:00
Pietro Gagliardi 015008976f More documentation stuff. 2016-06-16 16:44:53 -04:00
Pietro Gagliardi 179042025a And implemented on Windows, and more TODOs on top of that. 2016-06-16 14:12:47 -04:00
Pietro Gagliardi caec39281b And implemented the new sizing stuff on OS X. 2016-06-16 00:58:40 -04:00
Pietro Gagliardi 997c8aac35 Implemented visibility change detection on Windows. Now to refine the actual implementation of hidden controls. 2016-06-14 15:55:24 -04:00
Pietro Gagliardi c31699e4cd Pinned down resource numbers now. 2016-06-04 14:36:55 -04:00
Pietro Gagliardi 0738eca6e4 More work. 2016-05-29 19:01:48 -04:00
Pietro Gagliardi 473e3b593b Quick README fix. 2016-05-29 18:36:11 -04:00
Pietro Gagliardi be8a957689 Fixed static linking on Windows. 2016-05-29 18:35:06 -04:00
Pietro Gagliardi 84d3df031f Either solved, dropped, or relegated to LONGTERM many of drawtext.m's TODOs. 2016-05-28 23:37:07 -04:00
Pietro Gagliardi 4ab0d9c1f6 More TODO resolution. 2016-05-22 22:57:18 -04:00
Pietro Gagliardi 9b4a13e9b3 Some more TODO resolution in the GTK+ backend. 2016-05-22 20:35:40 -04:00
Pietro Gagliardi 61185072f7 More TODO -> LONGTERM migration. Also made it so uiSpinbox and uiSlider merely swap min and max if min is larger. 2016-05-22 20:11:52 -04:00
Pietro Gagliardi ab792dcc66 More Core Text stuff. 2016-01-11 19:34:42 -05:00
Pietro Gagliardi b06bd31ee0 More documentation preparation. 2016-01-11 18:57:27 -05:00
Pietro Gagliardi 7e24debe22 Started planning an Actual Core Text Document. 2016-01-11 16:45:36 -05:00
Pietro Gagliardi 6a3bae98ca Started a discussion of the drawing model. 2015-09-16 13:57:14 -04:00
Pietro Gagliardi 4818c4b093 Started planning uiArea. 2015-09-04 10:12:13 -04:00