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
libacme
libauth
libauthsrv
libavl
libbin
libbio
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
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
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
mk2make
mkcommon
mkdirs
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
mkmany
mkmk.sh
mkone
mksyslib