summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2017-08-18 20:19:37 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2017-08-18 20:19:37 +0000
commit2c2f39062eb4351fc9fba3074f4b0e79a8ebaed1 (patch)
tree67d2eb5863ade7887d0b77aa8ffc787001a7f5eb /distrib
parent8da62c95a9dc6861d981c6398f9098ab87fb116d (diff)
Add compressed fonts support in the kernel.
The wsdisplay_font structure has been modified to add two new members (zdata and zdata_len) to store compressed font data and its size. We define compressed fonts by setting the data field to NULL and populating the zdata and zdata_len fields. In wsfont_lock(), we check if the selected font needs to be inflated, and we call the newly introduced wsfont_inflate() if required. OK kettenis@
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions