Commit Graph

15 Commits

Author SHA1 Message Date
Nathanael Jourdane 7d92e04e63 tests and fixes faiface#123, SIGSEGV on text.NewAtlas if glyph absent 2020-08-13 11:57:30 +02:00
Peter Hellberg b157c890d6 Remove new7x13Atlas function 2018-01-19 23:08:06 +01:00
Peter Hellberg ad738cddf8 Add Atlas7x13, Clear now sets Dot field to Orig
Remove unused f2i function
2018-01-19 22:20:54 +01:00
faiface fcfeb200b6 replace complex128 Vec with a struct 2017-05-21 19:25:06 +02:00
faiface fb51cd9ecb improve Atlas creation time 2-3 times 2017-05-11 19:48:43 +02:00
faiface 9554cd9c20 change text.New to take an Atlas 2017-05-10 17:56:09 +02:00
faiface e1f364e5d1 add note about not destroying face.Face to Atlas doc 2017-05-09 16:39:03 +02:00
faiface 067d9f48d9 minor change in Atlas doc 2017-05-09 16:32:29 +02:00
faiface e1dba0eb54 add Atlas doc 2017-05-09 15:25:08 +02:00
faiface e7a7ac4026 don't cache kerning in Atlas (too expensive and no benefit) 2017-05-09 15:10:35 +02:00
faiface 847b48292b improve Atlas creation, atlas is now square picture (was one row of characters) 2017-05-09 14:20:34 +02:00
faiface c0378a703e rename Glyph.Orig -> Dot 2017-05-07 21:49:26 +02:00
faiface a5414dbb55 add Atlas.DrawRune 2017-05-07 20:59:41 +02:00
faiface af0330d453 add Text.Bounds, Atlas.Ascent, Atlas.Descent 2017-05-05 16:02:47 +02:00
faiface 7dc94990e4 move Atlas type to a separate file 2017-05-03 23:59:37 +02:00