Commit Graph
1910 Commits
Author SHA1 Message Date
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
Kovid Goyal 5007a82ea6 Install harfbuzz on travis + brew 2017-11-09 16:45:44 +05:30
Kovid Goyal 83e114d211 Implement new font methods for CoreText 2017-11-09 16:45:44 +05:30
Kovid Goyal 0d92ea72e1 Add harfbuzz includes on macOS as well 2017-11-09 16:45:44 +05:30
Kovid Goyal 646e8dab0a Fix regression in handling zero cells caused by refactoring 2017-11-09 16:45:44 +05:30
Kovid Goyal 8fc9f97c12 ... 2017-11-09 16:45:44 +05:30
Kovid Goyal 3643a78b18 Start work on line based rendering 2017-11-09 16:45:44 +05:30
Kovid Goyal 8431eef970 Get rid of no longer needed GPU function indirection 2017-11-09 16:45:02 +05:30
Kovid Goyal e8798b5bf2 Fix UBSan not available on OS X clang 2017-11-08 17:50:32 +05:30
Kovid Goyal 9bef53459f Fix application icon not being placed in apps sub-directory in linux bundle 2017-11-08 17:38:34 +05:30
Kovid Goyal c2f008672c Use clang by default on macOS 2017-11-08 17:30:55 +05:30