plan9port/man/man3
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
..
0intro.3 Many small edits. 2005-01-13 04:49:19 +00:00
9p-cmdbuf.3 forgotten files 2005-01-13 04:56:07 +00:00
9p-fid.3 forgotten files 2005-01-13 04:56:07 +00:00
9p-file.3 forgotten files 2005-01-13 04:56:07 +00:00
9p-intmap.3 forgotten files 2005-01-13 04:56:07 +00:00
9p.3 nit 2007-04-06 13:48:48 +00:00
9pclient.3 more functions 2006-07-23 02:55:34 +00:00
acme.3 acme 2006-06-25 23:02:33 +00:00
addpt.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
aes.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
allocimage.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
arg.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
arith3.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
atof.3 Many small edits. 2005-01-13 04:49:19 +00:00
auth.3 update 2005-02-11 19:43:43 +00:00
authsrv.3 man 2005-02-13 23:44:12 +00:00
avl.3 avl(3): import changes from plan 9 2011-06-02 13:43:02 -04:00
bin.3 Many small edits. 2005-01-13 04:49:19 +00:00
bio.3 update Bprint docs 2006-07-02 15:26:05 +00:00
blowfish.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
cachechars.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
cleanname.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
color.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
complete.3 Many small edits. 2005-01-13 04:49:19 +00:00
cputime.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
ctime.3 man: various cleanup 2017-07-16 02:52:27 +00:00
des.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
dial.3 dial(3): update dialparse 2012-08-03 19:58:31 +02:00
dirread.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
draw.3 libdraw: add borderop 2008-12-03 02:13:38 -06:00
drawfcall.3 fix TH line 2006-06-25 23:50:21 +00:00
dsa.3 man 2005-02-13 23:44:12 +00:00
dup.3 Many small edits. 2005-01-13 04:49:19 +00:00
elgamal.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
encode.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
encrypt.3 update 2005-02-11 19:43:43 +00:00
errstr.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
event.3 just what we need - more rpcs 2006-06-25 21:23:39 +00:00
exec.3 Many small edits. 2005-01-13 04:49:19 +00:00
exits.3 add exticode 2006-02-14 19:39:30 +00:00
fcall.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
flate.3 Many small edits. 2005-01-13 04:49:19 +00:00
fmtinstall.3 Many small edits. 2005-01-13 04:49:19 +00:00
frame.3 revert frseltick 2007-05-10 19:30:02 +00:00
genrandom.3 Many small edits. 2005-01-13 04:49:19 +00:00
get9root.3 get9root(3): fix paths 2012-03-05 15:39:06 -05:00
getcallerpc.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
getenv.3 Many small edits. 2005-01-13 04:49:19 +00:00
getfields.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
getns.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
getsnarf.3 man: various cleanup 2017-07-16 02:52:27 +00:00
getuser.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
getwd.3 Many small edits. 2005-01-13 04:49:19 +00:00
graphics.3 libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
html.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
INDEX man: various cleanup 2017-07-16 02:52:27 +00:00
ioproc.3 ioproc(3): fix prototypes 2012-01-16 16:54:00 -05:00
ip.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
isalpharune.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
keyboard.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
lock.3 lock(3): fix typo 2008-07-09 08:26:11 -04:00
mach-cmd.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mach-file.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mach-map.3 update 2005-02-11 19:43:43 +00:00
mach-stack.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mach-swap.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mach-symbol.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mach.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
malloc.3 Many small edits. 2005-01-13 04:49:19 +00:00
matrix.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
memdraw.3 libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
memlayer.3 just what we need - more rpcs 2006-06-25 21:23:39 +00:00
memory.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mouse.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mousescrollsize.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
mp.3 Many small edits. 2005-01-13 04:49:19 +00:00
muldiv.3 Many small edits. 2005-01-13 04:49:19 +00:00
mux.3 man: various cleanup 2017-07-16 02:52:27 +00:00
nan.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
ndb.3 update 2005-02-11 19:43:43 +00:00
needstack.3 man: various cleanup 2017-07-16 02:52:27 +00:00
notify.3 bug fix 2005-02-08 19:13:50 +00:00
open.3 note macros 2005-03-28 15:50:10 +00:00
opentemp.3 lib9: add mode parameter to opentemp 2008-07-10 11:10:10 -04:00
pipe.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
plumb.3 plumbunmount 2006-06-25 23:55:37 +00:00
post9pservice.3 post9pservice(4): update 2008-06-14 14:06:16 -04:00
postnote.3 man: minor manual edits 2008-07-22 03:26:08 +10:00
prime.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
print.3 update runeprint desc 2006-07-02 15:26:41 +00:00
proto.3 cut out the html - they're going to cause diffing problems. 2005-01-14 17:37:50 +00:00
pushtls.3 Many small edits. 2005-01-13 04:49:19 +00:00
qball.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
quaternion.3 NetBSD support. Thanks to Christoph Lohmann. 2005-03-28 15:58:14 +00:00
quote.3 Many small edits. 2005-01-13 04:49:19 +00:00
rand.3 add note about sunos 2005-03-18 19:32:30 +00:00
rc4.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
read.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
readcolmap.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
readcons.3 man 2005-02-13 23:44:12 +00:00
regexp.3 Many small edits. 2005-01-13 04:49:19 +00:00
rfork.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
rsa.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
rune.3 rune(3): sync with rune.c and Plan 9 2010-03-08 17:02:32 -08:00
runestrcat.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
searchpath.3 document searchpath(3) 2005-01-23 22:41:44 +00:00
sechash.3 Many small edits. 2005-01-13 04:49:19 +00:00
seek.3 Many small edits. 2005-01-13 04:49:19 +00:00
sendfd.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
setjmp.3 Many small edits. 2005-01-13 04:49:19 +00:00
sleep.3 Many small edits. 2005-01-13 04:49:19 +00:00
stat.3 add mode bits 2005-02-08 20:18:34 +00:00
strcat.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
string.3 Many small edits. 2005-01-13 04:49:19 +00:00
stringsize.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
subfont.3 Many small edits. 2005-01-13 04:49:19 +00:00
sysfatal.3 man: minor manual edits 2008-07-22 03:26:08 +10:00
thread.3 libthread: add threadspawnd 2012-10-22 12:32:09 -04:00
time.3 Many small edits. 2005-01-13 04:49:19 +00:00
udpread.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
venti-cache.3 man: update venti-cache(3) 2011-11-08 09:02:24 -05:00
venti-client.3 done 2005-07-18 22:41:58 +00:00
venti-conn.3 libventi: add functions reconn and redial for use with fossil 2011-11-08 09:02:31 -05:00
venti-fcall.3 correct discussion of fromdisktype 2005-07-24 13:27:00 +00:00
venti-file.3 update 2005-07-19 17:58:26 +00:00
venti-log.3 done 2005-07-18 22:41:58 +00:00
venti-mem.3 done 2005-07-18 22:41:58 +00:00
venti-packet.3 fix 2006-06-26 00:03:07 +00:00
venti-server.3 man: import changes from plan 9 2011-06-03 13:23:57 -04:00
venti-zero.3 done 2005-07-18 22:41:58 +00:00
venti.3 done 2005-07-18 22:41:58 +00:00
wait.3 Many small edits. 2005-01-13 04:49:19 +00:00
wctl.3 man: various cleanup 2017-07-16 02:52:27 +00:00
window.3 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00