plan9port/include
Russ Cox 16d0081989 libdraw: redo default font construction to be hidpi-safe
If $font is not set, the default font is constructed from
font data linked into every libdraw binary. That process
was different from the usual openfont code, and so it was
not hidpi-aware, resulting in very tiny fonts out of the box
on hidpi systems, until users set $font.

Fix this by using openfont to construct the default font,
by recognizing the name *default* when looking for
font and subfont file contents. Then all the hidpi scaling
applies automatically.

As a side effect, the concept of a 'default subfont' is gone,
as are display->defaultsubfont, getdefont, and memgetdefont.
2018-11-16 00:03:24 -05:00
..
9p.h delete 9P2000.u 2010-12-07 13:34:11 -05:00
9pclient.h more functions 2006-07-23 02:55:34 +00:00
acme.h tweak for manual 2006-06-25 23:49:25 +00:00
ar.h More files. 2004-03-25 23:08:53 +00:00
auth.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
authsrv.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
avl.h libavl: import from Plan 9 2009-08-23 09:38:29 -07:00
bin.h autolib 2005-01-04 21:18:08 +00:00
bio.h libbio: lost changes to include/bio.h (@#%@#$ mercurial) 2008-06-03 08:32:36 -04:00
complete.h autolib 2005-01-04 21:18:08 +00:00
cursor.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
disk.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
diskfs.h hfs (David Swasey) 2007-05-28 20:27:25 +00:00
draw.h libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
drawfcall.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
event.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
fcall.h delete 9P2000.u 2010-12-07 13:34:11 -05:00
flate.h make flate crc32 work when ulong is 64 bits 2010-02-07 16:51:28 -08:00
fmt.h convert to 4-byte UTF-8 and 32-bit Rune 2009-09-11 17:03:06 -04:00
frame.h libframe: auto scale tick for retina 2012-11-25 23:48:19 -05:00
geometry.h NetBSD support. Thanks to Christoph Lohmann. 2005-03-28 15:58:14 +00:00
html.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
httpd.h add searchpairs 2007-04-21 20:41:08 +00:00
ip.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
keyboard.h keyboard.h: add some missing key enums from Plan 9 2015-06-03 15:31:35 +00:00
lib9.h Today's changes. 2004-03-25 23:03:57 +00:00
libc.h lib9/dial: add support for IPv6 2012-06-02 21:50:59 +02:00
libsec.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
libString.h autolib 2005-01-04 21:18:08 +00:00
mach.h libmach, acid, db: 64-bit support 2012-02-19 18:11:39 -05:00
memdraw.h libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
memlayer.h include/memlayer.h: remove redundant AUTOLIB (Brian Stuart) 2008-06-10 11:35:29 -04:00
mouse.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
mp.h change mpdigit to uint -- 64-bit mp library not so working 2007-01-15 00:32:17 +00:00
mux.h In non-blocking recv functions in libmux and libdraw, 2006-11-04 18:46:00 +00:00
ndb.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
nfs3.h extra 2006-05-05 02:42:57 +00:00
plumb.h plumbunmount 2006-06-25 23:50:09 +00:00
regexp.h new files 2003-11-23 18:25:35 +00:00
regexp9.h checkpoint 2005-01-14 03:45:44 +00:00
sunrpc.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
thread.h libthread: add threadspawnd 2012-10-22 12:32:09 -04:00
u.h include: define _DEFAULT_SOURCE 2016-11-20 09:37:58 +00:00
utf.h convert to 4-byte UTF-8 and 32-bit Rune 2009-09-11 17:03:06 -04:00
venti.h libventi: add functions vtsha1 and vtsha1check 2012-01-21 10:01:20 +01:00