plan9port/src/cmd/fontsrv
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
..
a.h libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
freetyperules.sh fontsrv: fix on X11 when X11H is not defined 2013-01-30 17:46:16 -08:00
main.c libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
mkfile fontsrv: disable font smoothing on osx (#196) 2018-11-13 23:09:59 -05:00
nowsys.c fontsrv: use CoreText API on OS X 2015-02-17 05:00:09 +00:00
osx-cocoa.c fix INSTALL warnings 2012-05-29 15:11:14 -04:00
osx.c fontsrv: disable font smoothing on osx (#196) 2018-11-13 23:09:59 -05:00
pjw.c fontsrv: scaled pjw 2012-12-01 00:35:06 -05:00
showpjw.c fontsrv: scaled pjw 2012-12-01 00:35:06 -05:00
x11.c fontsrv: increase x11 font height scale (#111) 2018-11-14 00:01:04 -05:00