Radomir Dopieralski
7c908b08ee
Use FONTBOUNDINGBOX for font metrics
...
Instead of iterating over all the glyphs and calculating the maximum
width and height, use the FONTBOUNDINGBOX to determine the size of a
tile for terminalio.
This works better with fonts such as generated by FontForge, that don't
include the empty space in the glyph bitmap itself. It also lets the
font author specify vertical spacing they want.
I only tested this with the default font and with one I generated with
FontForge.
2019-06-30 01:10:47 +02:00
..
2018-11-30 00:30:57 -08:00
2019-01-31 11:42:14 -08:00
2019-04-12 15:25:48 -07:00
2018-08-16 17:40:57 -07:00
2018-01-02 21:25:41 -05:00
2019-01-31 11:42:13 -08:00
2018-07-25 09:39:46 -07:00
2019-04-05 11:52:38 -04:00
2015-06-06 23:09:23 +03:00
2014-05-08 01:41:21 +03:00
2019-02-01 16:03:37 -08:00
2018-01-24 10:33:46 -08:00
2018-04-23 16:11:27 +10:00
2019-04-11 11:25:04 -07:00
2018-02-09 11:31:18 -05:00
2019-05-24 15:32:24 -04:00
2015-04-21 13:16:41 +00:00
2015-12-31 00:24:33 +00:00
2018-06-08 12:56:32 -07:00
2017-09-06 14:09:13 +10:00
2018-08-07 14:58:57 -07:00
2017-09-06 14:09:13 +10:00
2019-03-30 23:31:11 -07:00
2018-06-02 19:09:44 +02:00
2014-01-03 08:51:02 +02:00
2014-04-16 11:45:52 +01:00
2019-02-22 15:28:29 -08:00
2016-11-23 17:31:53 -08:00
2018-01-24 10:33:46 -08:00
2016-11-23 17:31:53 -08:00
2019-06-30 01:10:47 +02:00
2019-01-10 11:00:40 -08:00
2015-10-12 00:06:25 +01:00
2014-10-31 01:36:11 +00:00
2019-06-11 15:22:32 -04:00
2018-11-08 17:25:30 -08:00
2017-05-29 11:36:05 +03:00
2016-05-21 21:39:27 +03:00
2017-07-27 14:41:27 +03:00
2017-05-14 17:51:12 +03:00
2018-10-18 14:23:17 -07:00
2018-07-03 05:45:50 -07:00
2018-10-05 15:14:34 -07:00
2019-01-09 16:22:19 -05:00
2017-10-08 00:04:57 +03:00
2018-06-22 15:32:32 +10:00
2018-12-20 18:44:39 -06:00
2017-09-29 18:24:11 -07:00
2018-04-23 16:11:27 +10:00