plan9port/src
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
..
cmd libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
lib9 lib9: import frand function from Plan 9 2017-09-01 22:51:14 +02:00
lib9p fix clang warnings reported by Tuncer Ayaz 2012-10-21 11:25:08 -04:00
lib9pclient delete 9P2000.u 2010-12-07 13:34:11 -05:00
libacme
libauth
libauthsrv fix type-punned pointer warnings from gcc 2010-03-10 14:50:33 -08:00
libavl venti: import changes from plan 9 2011-06-02 09:33:56 -04:00
libbin
libbio convert to 4-byte UTF-8 and 32-bit Rune 2009-09-11 17:03:06 -04:00
libcomplete
libdisk
libdiskfs fix clang warnings reported by Tuncer Ayaz 2012-10-21 11:25:08 -04:00
libdraw libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
libflate make flate crc32 work when ulong is 64 bits 2010-02-07 16:51:28 -08:00
libframe libdraw, libframe, acme: fix, guard against inverted range in textsetselect 2014-12-02 01:18:40 +00:00
libgeometry
libhtml silence more warnings 2012-10-21 12:04:56 -04:00
libhttpd
libip all: DragonFly port. 2014-02-27 23:17:47 -05:00
libmach libmach: initialize ss variable in stabsline2pc function 2017-09-01 22:37:05 +02:00
libmemdraw libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
libmemlayer
libmp all: linux/arm64 port 2015-06-03 15:34:38 +00:00
libmux
libndb fix clang 3.4 warnings and ignore uninteresting ones 2014-10-21 14:22:12 +02:00
libplumb libplumb, Mail: fix crash on nil plumb fids 2009-09-12 15:25:51 -04:00
libregexp libregexp: include stddef.h in lib9.std.h 2018-09-29 15:59:31 +02:00
libsec all: remove .cvsignore files 2017-09-14 17:25:17 +02:00
libString
libsunrpc silence more warnings 2012-10-21 12:04:56 -04:00
libthread libthread: add threadspawnd 2012-10-22 12:32:09 -04:00
libventi fix gcc 4.8 warnings 2014-03-03 22:30:34 +01:00
make2mk make -> mk 2003-11-23 18:10:54 +00:00
mk2make make -> mk 2003-11-23 18:10:54 +00:00
mkcommon remove rule - breaks mac 2005-05-02 03:11:29 +00:00
mkdirs add tracing cd prints 2005-11-26 15:39:32 +00:00
mkfile fix INSTALL warnings 2012-05-29 15:11:14 -04:00
mkhdr all: linux/arm64 port 2015-06-03 15:34:38 +00:00
mklib build: use ar s flag to avoid ranlib 2007-11-05 11:27:14 -05:00
mkmany good bye SHORTLIB 2005-01-04 22:09:40 +00:00
mkmk.sh mkmk.sh: update for new date files 2008-07-10 11:10:00 -04:00
mkone good bye SHORTLIB 2005-01-04 22:09:40 +00:00
mksyslib build: use ar s flag to avoid ranlib 2007-11-05 11:27:14 -05:00