Pietro Gagliardi
|
243e210cbc
|
Resolved some darwin/drawtext.m TODOs.
|
2017-11-04 11:52:33 -04:00 |
Pietro Gagliardi
|
e597d8ce3b
|
More TODOs.
|
2017-09-27 14:24:07 -04: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
|
5fe4e27c5d
|
TODO cleanup and stale TODO removal. That nLines == 0 TODO needs more testing...
|
2017-02-24 18:46:53 -05:00 |
Pietro Gagliardi
|
f65fc1f25e
|
Fixed text hit-testing on OS X.
|
2017-02-24 10:29:08 -05:00 |
Pietro Gagliardi
|
1c238bf85b
|
And implemented uiAttributeBackground on OS X. Not sure what else to add besides the feature variants...
|
2017-02-13 02:10:39 -05:00 |
Pietro Gagliardi
|
5aaac84d55
|
Implemented uiAttributeFamily on OS X. ATTRIBUTES WORK!!!
|
2017-02-12 01:05:27 -05:00 |
Pietro Gagliardi
|
44f8409b8c
|
And implemented the alignment stuff on OS X.
|
2017-02-11 21:10:16 -05:00 |
Pietro Gagliardi
|
8a64a1dfb0
|
Made the OS X code and the example program use the new layout stuff.
|
2017-02-11 19:47:20 -05:00 |
Pietro Gagliardi
|
5d18d477e3
|
Implemented uiDrawCaret() on OS X.
|
2017-02-10 18:19:32 -05:00 |
Pietro Gagliardi
|
bb50440e55
|
Started cleaning up the old API.
|
2017-02-10 11:14:24 -05:00 |
Pietro Gagliardi
|
6fa009a7dd
|
Fixed uiAttributedString not putting the right position for the last character. Simple case of using the wrong variables.
|
2017-02-10 11:06:37 -05:00 |
Pietro Gagliardi
|
49d36b340c
|
Started adjusting all the implementations to the new API's formal definition. There's bugs in uiAttributedString...
|
2017-02-10 10:54:37 -05:00 |
Pietro Gagliardi
|
749a0cddaf
|
Wrote the new hit-testing API on OS X, the easiest target. Also updated the example. Had to slightly modify one function for this all to work.
|
2017-02-08 19:00:45 -05:00 |
Pietro Gagliardi
|
bbc03a489e
|
Implemented the system on the hit-test example and on OS X.
|
2017-02-07 16:43:49 -05:00 |
Pietro Gagliardi
|
a1bebc82d8
|
And implemented caret motions in the hit test examples.
|
2017-02-06 00:26:22 -05:00 |
Pietro Gagliardi
|
64a1167e5f
|
Added the blue caret to the drawtext example. Phew!
|
2017-02-05 21:44:48 -05:00 |
Pietro Gagliardi
|
0ae25c62ed
|
Implemented the range-to-rect function on OS X.
|
2017-02-05 21:17:48 -05:00 |
Pietro Gagliardi
|
b18cc88dce
|
Boilerplate needed for implementing range-to-rect.
|
2017-02-05 20:42:52 -05:00 |
Pietro Gagliardi
|
c336063b65
|
Decided what I need to do.
|
2017-02-05 20:26:59 -05:00 |
Pietro Gagliardi
|
c9e7ee3a92
|
Reactivated the Core Text backend.
|
2017-01-24 23:13:44 -05:00 |
Pietro Gagliardi
|
8d3c68d7f0
|
Moved the AppKit text drawer out of the way for now. One last experiment first; didn't seem to matter :S
|
2017-01-24 17:12:44 -05:00 |
Pietro Gagliardi
|
877ffa5f89
|
More attempts. Ugggggh.
|
2017-01-24 10:36:13 -05:00 |
Pietro Gagliardi
|
d1e2b17f6e
|
Attempted to the layout er I mean attempted to define the ascent, desceitn, er descent, and leading for the NSLayoutManager based code AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.
|
2017-01-24 01:04:08 -05:00 |
Pietro Gagliardi
|
1ca9a28f2d
|
More work.
|
2017-01-23 15:07:28 -05:00 |
Pietro Gagliardi
|
08f2085f41
|
Quick fix.
|
2017-01-23 14:31:39 -05:00 |
Pietro Gagliardi
|
b19f4cf251
|
Finished writing a NSLayoutManager-based text system. Not quite perfect yet, but we're getting somewhere!
|
2017-01-23 11:43:03 -05:00 |
Pietro Gagliardi
|
d8316790a0
|
More notes.
|
2017-01-21 10:21:39 -05:00 |
Pietro Gagliardi
|
4de8d4402f
|
More TODOs.
|
2017-01-20 23:15:10 -05:00 |
Pietro Gagliardi
|
87b7d5b4b7
|
Decided to remove uiDrawTextLayoutByteIndexToGraphemeRect(); the Range one later on handles it. Now we can do the hit testing functions!
|
2017-01-20 19:34:16 -05:00 |
Pietro Gagliardi
|
6ccf436206
|
Implemented Pango text metrics and expanded the drawtext basic page to draw metrics. Works on both Pango and OS X; DirectWrite comes next.
|
2017-01-20 16:36:44 -05:00 |
Pietro Gagliardi
|
7f270942a7
|
And fixed errors. Woo, it works!!!!!
|
2017-01-17 13:54:23 -05:00 |
Pietro Gagliardi
|
7bda3baee3
|
Fixed build errors. DOES IT WORK?!?!?!?!?!?!?!?!
|
2017-01-17 13:05:40 -05:00 |
Pietro Gagliardi
|
794d30154c
|
And rewrote drawtext.m based around the new Core Text research.
|
2017-01-17 12:02:42 -05:00 |
Pietro Gagliardi
|
e32341b24b
|
More work.
|
2017-01-07 20:09:44 -05:00 |
Pietro Gagliardi
|
1bd2ca22c2
|
Some more work on the new Cocoa text drawing code.
|
2017-01-06 23:53:23 -05:00 |
Pietro Gagliardi
|
6212ac7238
|
And integrated the rest of our important tests in.
|
2017-01-05 21:36:07 -05:00 |
Pietro Gagliardi
|
747a0bbfad
|
More TODOs.
|
2017-01-05 17:56:47 -05:00 |
Pietro Gagliardi
|
3910ff1a13
|
Resolved Core Text pain by not even thinking about lines in terms of boxes.
|
2017-01-05 17:55:05 -05:00 |
Pietro Gagliardi
|
dfaf640101
|
More work. Core Text chaos has resurged...
|
2017-01-04 23:50:08 -05:00 |
Pietro Gagliardi
|
f147edf949
|
More work.
|
2017-01-03 23:59:23 -05:00 |
Pietro Gagliardi
|
4318785eb2
|
More drawtext.m work. I was wrong; I'll need to do the trait matching anyway. Ugh.
|
2017-01-03 12:18:17 -05:00 |
Pietro Gagliardi
|
31274bcbd2
|
Started implementing the new attributed string system on OS X.
|
2017-01-02 23:53:31 -05:00 |
Pietro Gagliardi
|
287d59b5c5
|
More TODOs.
|
2016-11-11 01:21:28 -05:00 |
Pietro Gagliardi
|
f46edd097b
|
uiDrawTextWeightUtraBold.
|
2016-10-21 16:35:46 -04:00 |
Pietro Gagliardi
|
155299cdb9
|
More intmax_t removal.
|
2016-06-13 21:11:59 -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
|
88e0a9c165
|
Fixed the botched formula for attribute substring length on OS X.
|
2016-05-26 20:48:49 -04:00 |