Pietro Gagliardi
|
9aea7fa62e
|
Polished up the drawtext demo a bit (such as finally fixing that titlebar). Also more crash-related TODOs.
|
2018-03-18 11:24:09 -04:00 |
Pietro Gagliardi
|
8709838a8f
|
Added a uiFreeFontButtonFont() function to free resources allocated by uiFontButtonFont(), implemented it on Windows, and integrated it into the drawtext example. I'm going to continue chipping away at the Windows code for a bit longer, so I'll add this to the other platforms later.
|
2018-03-17 23:07:40 -04:00 |
Pietro Gagliardi
|
5d116d87fe
|
Fixed a typo in the drawtext example and made it redraw immediately on a font change.
|
2018-03-17 16:14:50 -04:00 |
Pietro Gagliardi
|
6ba2d3606d
|
Removed uiprivStrdup() (we'll just uiprivAlloc()+strcpy() instead) and fleshed out the drawtext example's text a bit more.
|
2018-03-10 22:51:39 -05:00 |
Pietro Gagliardi
|
5ef04f2675
|
And fixed the other issue: didn't fully set uiDrawTextLayoutParams. Oops =P It works! Also did proper memory management before uiUninit()... but it's crashing for other reasons now (using strdup() instead of uiAlloc()). And Skia doesn't map correctly...
|
2018-03-10 22:16:43 -05: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
|
8fda407183
|
Moved the old drawtext example out of the way.
|
2018-03-10 19:24:20 -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
|
be56ec3626
|
Removed the vertical forms attribute. This is a compatiblity nightmare.
|
2017-02-24 01:23:47 -05:00 |
Pietro Gagliardi
|
dcc01f5b01
|
Started putting the typographical features attributes into the example program.
|
2017-02-15 23:52:16 -05:00 |
Pietro Gagliardi
|
6761c0a9f7
|
Added the language tag stuff to the example program. More TODOs.
|
2017-02-15 16:40:04 -05:00 |
Pietro Gagliardi
|
32a0284edc
|
Started work on actual attributed text. This includes the beginnings of an attributed text example. Now to implement.
|
2017-02-11 23:19:30 -05:00 |
Pietro Gagliardi
|
5f05ebbffe
|
Expanded the hittest example by handling keyboard input. I should probably rename it to The Caret and Graphemes.
|
2017-02-10 19:22:25 -05:00 |
Pietro Gagliardi
|
a1bebc82d8
|
And implemented caret motions in the hit test examples.
|
2017-02-06 00:26:22 -05:00 |
Pietro Gagliardi
|
339bdfc89b
|
Started a hit-test and grapheme boundary test. Looks like we're not quite out of the woods with DirectWrite just yet.
|
2017-01-20 20:38:18 -05:00 |
Pietro Gagliardi
|
6ef6ed8cde
|
Expanded the drawtext example to allow for multiple examples and options in the examples. Our old makefiles wouldn't allow examples to be spread across multiple files like this, so yay cmake?
|
2017-01-20 13:25:21 -05:00 |
Pietro Gagliardi
|
2d09f22932
|
Added a debugging guide for Windows. Will have to investigate this more, because I can't find any information online that suggests Direct2D should not respect clipping when drawing text :S Also more TODOs.
|
2017-01-20 12:46:00 -05:00 |
Pietro Gagliardi
|
5444f76bd3
|
Started implementing the new text layout stuff on GTK+. The drawtext example works.
|
2017-01-17 21:06:45 -05:00 |
Pietro Gagliardi
|
7f270942a7
|
And fixed errors. Woo, it works!!!!!
|
2017-01-17 13:54:23 -05:00 |
Pietro Gagliardi
|
907d7c5830
|
Added the beginning of a text-drawing example (since I would need to heavily change the tester to test these things; hopefully in the future the example will be much more sophisticated). Time to fix segfaults!
|
2017-01-17 13:30:00 -05:00 |