Commit graph

44 commits

Author SHA1 Message Date
Ryan Oldenburg bd5ba5bd59 fix for custom line-heights 2022-02-22 19:15:35 -06:00
treeform 3e5926c92c More enum renames. 2022-02-13 20:02:37 -08:00
treeform 65b8dad89b Rename HorizontalAlignment, VerticalAlignment and TextCase enum. 2022-02-12 10:51:14 -08:00
treeform 5074e33efc Rename PaintKind enum. 2022-02-12 10:25:28 -08:00
treeform 052eeb5a18 Fix tofu advance. 2021-10-03 11:12:56 -07:00
treeform a8e1943556 Better fallback 2021-10-03 11:12:56 -07:00
Andre von Houck c0f31b276f Add font fallback. 2021-10-03 11:12:56 -07:00
Ryan Oldenburg 303abc6249 fix multi-break long words 2021-09-12 15:43:26 -05:00
treeform f419fdb4d9 Add long words test. 2021-09-12 13:24:22 -07:00
treeform 190eb92ef8 Fix computeBounds with \n at the end. 2021-09-10 13:04:24 -07:00
treeform 8a67455f73 Fix selection rects align to pixel logic. 2021-09-08 17:42:58 -07:00
treeform 935a0eb5c2 Remove .wh on Images and Masks (it was odd one). 2021-09-06 10:05:56 -07:00
treeform 301c6bd31c Add tests for underline and strike though. More const. 2021-09-06 09:20:16 -07:00
treeform 3fa9d34544 Add test for a CID based font. 2021-09-03 12:03:36 -07:00
treeform f92e6d49d1 Add test for CFF font. 2021-09-03 08:41:16 -07:00
Ryan Oldenburg e79d85c1a1 fail if kerning has issues parsing 2021-08-28 19:55:33 -05:00
Ryan Oldenburg 8c9daadd04 morepretty 2021-08-17 23:11:48 -05:00
Ryan Oldenburg 412baf6c19 more binding prep 2021-08-17 15:15:39 -05:00
Ryan Oldenburg 8c458d2ab2 paint uses color 2021-08-11 23:25:30 -05:00
Ryan Oldenburg 6d9ab5b200 paint as ref object 2021-08-06 19:00:06 -05:00
Ryan Oldenburg daaa71b2b1 font as ref object 2021-08-06 01:26:20 -05:00
Ryan Oldenburg f42d46be7a add test 2021-07-18 15:52:44 -05:00
Ryan Oldenburg e780539168 updated + new pixie masters 2021-06-28 20:50:55 -05:00
Ryan Oldenburg 3b6474b565 underline, strikethrough 2021-05-31 20:33:11 -05:00
Ryan Oldenburg 5cc8e911d1 move image helpers from pixie.nim to context.nim 2021-05-21 00:54:55 -05:00
Ryan Oldenburg e5642dc470 f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 666746d82e span fixes, more tests 2021-05-11 22:40:39 -05:00
Ryan Oldenburg f852d33ada add test 2021-05-11 22:40:39 -05:00
Ryan Oldenburg eae3b5e443 spans 2021-05-11 22:40:39 -05:00
Ryan Oldenburg f9064af992 test 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 11fdc30399 paint on font 2021-05-11 22:40:39 -05:00
Ryan Oldenburg f969a04a03 move textCase, kerning flag 2021-05-11 22:40:39 -05:00
Ryan Oldenburg e931bd0319 computeBounds, no iterator 2021-05-11 22:40:39 -05:00
Ryan Oldenburg eb550c0671 text alignments 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 20eb1af118 selection rects, better initial y 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 5c6725c4e3 handle control runes, newline 2021-05-11 22:40:25 -05:00
Ryan Oldenburg b0e7a1ae56 tests 2021-05-11 22:40:24 -05:00
Ryan Oldenburg eafd18fa7e more tests 2021-05-11 22:40:24 -05:00
Ryan Oldenburg cfb00b9b18 font bounds and benchmark 2021-05-11 22:40:24 -05:00
Ryan Oldenburg b42b9d649a svg fonts + move stuff around 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 33b87f4e3c f 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 2694a67c52 font api tests 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 082f16096f simple api attempt 1 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 267294a3e8 basic font start 2021-05-11 22:40:23 -05:00