2420 Commits

Author SHA1 Message Date
Kovid Goyal
79d8c04b00
Hook up render_line 2017-11-09 16:55:45 +05:30
Kovid Goyal
6c838bbc28
Implement dirty line tracking 2017-11-09 16:55:45 +05:30
Kovid Goyal
0277be5856
Track line dirty status in the line buffer 2017-11-09 16:55:45 +05:30
Kovid Goyal
71dcf13edf
Fix compiler warning 2017-11-09 16:55:45 +05:30
Kovid Goyal
bc0a77ee31
Only detect support once when testing rendering 2017-11-09 16:55:45 +05:30
Kovid Goyal
758d315b8e
Better fix for test 2017-11-09 16:55:45 +05:30
Kovid Goyal
3ec64a17f8
Dont call the font change machinery when the actual size has not changed 2017-11-09 16:55:45 +05:30
Kovid Goyal
dc7d705c87
Runa simplified version of the font rendering test on macOS 2017-11-09 16:55:45 +05:30
Kovid Goyal
6c98b676bb
Fix crash on macOS when changing font size 2017-11-09 16:55:45 +05:30
Kovid Goyal
dd6108de5b
DRYer 2017-11-09 16:55:44 +05:30
Kovid Goyal
aa1b94aed0
Ensure descriptor is always set for coretext font objects 2017-11-09 16:55:44 +05:30
Kovid Goyal
75e1b30fc1
DRYer 2017-11-09 16:55:44 +05:30
Kovid Goyal
a8bca1c119
Skip the rendering test on macOS
macOS is underpowered junk.
2017-11-09 16:55:44 +05:30
Kovid Goyal
d05ea312ef
Fix crash on macOS when failing to get font_descriptor 2017-11-09 16:55:44 +05:30
Kovid Goyal
e72f153a66
Avoid unneccessary exception when failling to find a fallback font 2017-11-09 16:55:44 +05:30
Kovid Goyal
da8bf5adc7
Add rendering tests 2017-11-09 16:55:44 +05:30
Kovid Goyal
ce0e5a893f
Make the showcase output a little nicer 2017-11-09 16:55:44 +05:30
Kovid Goyal
c8b7b49d56
Ensure underline_position is viable 2017-11-09 16:55:44 +05:30
Kovid Goyal
9842a47f85
Install an up-to-date version of harfbuzz on travis 2017-11-09 16:55:44 +05:30
Kovid Goyal
1db4286a12
Fix rendering of wide chars 2017-11-09 16:55:43 +05:30
Kovid Goyal
4234a9d963
Sigh apparently unsafe break is not enough 2017-11-09 16:55:43 +05:30
Kovid Goyal
6da465d7d7
Correct the x_offset calculation 2017-11-09 16:55:43 +05:30
Kovid Goyal
a1cb01b3b2
Fix grouping of combining char glyphs 2017-11-09 16:55:43 +05:30
Kovid Goyal
6920d37042
Rendering ligatures now works 2017-11-09 16:55:43 +05:30
Kovid Goyal
1dcdf9534b
... 2017-11-09 16:55:43 +05:30
Kovid Goyal
f9c21b1cb3
Sigh, legacy linux distros 2017-11-09 16:55:43 +05:30
Kovid Goyal
58be99a27e
Work on rendering ligatures correctly 2017-11-09 16:55:43 +05:30
Kovid Goyal
ae06879193
Mark unused pending implementation 2017-11-09 16:55:43 +05:30
Kovid Goyal
f121773276
Fix fallback fonts not being free'd on exit 2017-11-09 16:55:42 +05:30
Kovid Goyal
4726bcd210
Implement rendering of glyphs from font files in Freetype 2017-11-09 16:55:42 +05:30
Kovid Goyal
891942494f
Implement laoding of harfbuz buffer 2017-11-09 16:55:42 +05:30
Kovid Goyal
0b8e8bff16
Infra to display rendered strings as images for testing 2017-11-09 16:55:42 +05:30
Kovid Goyal
898e87aa7b
Dont allocate space for dummy fonts
Also move sprite_map test into fonts test module
2017-11-09 16:55:42 +05:30
Kovid Goyal
d153794c05
... 2017-11-09 16:55:42 +05:30
Kovid Goyal
742c60f37f
harfbuzz is now needed on macOS as well 2017-11-09 16:55:42 +05:30
Kovid Goyal
81143e0c7e
Test to render all box drawing characters under the sanitizers 2017-11-09 16:55:42 +05:30
Kovid Goyal
7f610f3b4e
... 2017-11-09 16:55:42 +05:30
Kovid Goyal
4ba17df570
Forward declaration of Face_Type needed 2017-11-09 16:55:42 +05:30
Kovid Goyal
00a73e4d12
Fix weird crash with clang asan 2017-11-09 16:55:41 +05:30
Kovid Goyal
6501ee45b6
Forgot to add bi info to sm_faces 2017-11-09 16:55:41 +05:30
Kovid Goyal
b0bee2f1f3
oops 2017-11-09 16:55:41 +05:30
Kovid Goyal
5a044c0320
... 2017-11-09 16:55:41 +05:30
Kovid Goyal
6a2f964123
... 2017-11-09 16:55:41 +05:30
Kovid Goyal
0518cabef6
Infrastructure for rendering cells in the test suite 2017-11-09 16:55:41 +05:30
Kovid Goyal
7d7d82a68d
Start working on actually rendering lines of text 2017-11-09 16:55:38 +05:30
Kovid Goyal
0c4bb6a0d6
... 2017-11-09 16:45:45 +05:30
Kovid Goyal
f25d2ea540
Rip out the old sprite update code 2017-11-09 16:45:45 +05:30
Kovid Goyal
38a5e76c50
More work on line based rendering
Should now build on all platforms
2017-11-09 16:45:45 +05:30
Kovid Goyal
d873d11202
Remove unused code 2017-11-09 16:45:45 +05:30
Kovid Goyal
729395c887
Release old hb_font when changing font size 2017-11-09 16:45:44 +05:30