Commit graph

80 commits

Author SHA1 Message Date
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
Kare Nuorteva
b3336e5cbb all: remove .cvsignore files
Rename following .cvsignore files to .gitkeep since they are
required by the build (directories must exist before build):
	- bin/fossil/.gitkeep
	- bin/fs/.gitkeep
	- bin/venti/.gitkeep

Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
2017-09-14 17:25:17 +02:00
Russ Cox
b546bd6e72 man: various cleanup
Change-Id: I9130e7d10ae42e894923097a7c97da802eb0d8c3
Reviewed-on: https://plan9port-review.googlesource.com/2962
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-07-16 02:52:27 +00:00
Russ Cox
b3a110affa man: document font syntaxes
Change-Id: Id441d4df192c47388af6b5da306f14d90f066d18
Reviewed-on: https://plan9port-review.googlesource.com/1173
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:53:15 +00:00
Russ Cox
213fc4f6fb libdraw: autoscale fonts when moving between low and high dpi screens
Change-Id: I6093955b222db89dfe437fb723593b173d888d01
Reviewed-on: https://plan9port-review.googlesource.com/1170
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:51:23 +00:00
Russ Cox
9f3851871e libdraw: add scalesize
R=rsc
http://codereview.appspot.com/6855092
2012-11-25 22:15:57 -05:00
Russ Cox
9e4b56e764 libthread: add threadspawnd
R=rsc
http://codereview.appspot.com/6742064
2012-10-22 12:32:09 -04:00
David du Colombier
ac2662695a dial(3): update dialparse
R=rsc
http://codereview.appspot.com/6455083
2012-08-03 19:58:31 +02:00
David Jeannot
ce26c36433 get9root(3): fix paths
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5745043
2012-03-05 15:39:06 -05:00
David Jeannot
9a201244bf ioproc(3): fix prototypes
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5500090
2012-01-16 16:54:00 -05:00
David du Colombier
4544da5200 libventi: add functions reconn and redial for use with fossil
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5325046
2011-11-08 09:02:31 -05:00
David du Colombier
11758776a1 man: update venti-cache(3)
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5329041
2011-11-08 09:02:24 -05:00
David du Colombier
cbc99e3e52 man: import changes from plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4559071
2011-06-03 13:23:57 -04:00
David du Colombier
e63f0507e9 avl(3): import changes from plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4536105
2011-06-02 13:43:02 -04:00
Michael Teichgräber
2fe14f1315 rune(3): sync with rune.c and Plan 9
R=rsc
CC=codebot
http://codereview.appspot.com/254042
2010-03-08 17:02:32 -08:00
Russ Cox
7351eea28e merge 2009-12-27 09:19:39 -08:00
Russ Cox
375b78fb11 libavl: import from Plan 9 2009-08-23 09:38:29 -07:00
Russ Cox
9ea7f9d82f libthread: remove unimplemented chaninit 2009-04-30 08:00:40 -07:00
Jeff Sickel
41305b2355 libdraw: add borderop 2008-12-03 02:13:38 -06:00
grai
881e5d1e95 man: minor manual edits 2008-07-22 03:26:08 +10:00
grai
e1df0680fd libthread: document some unimplemented functions 2008-07-22 03:23:17 +10:00
Russ Cox
a58a827f2a lib9: add mode parameter to opentemp 2008-07-10 11:10:10 -04:00
William Josephson
1cccddd6b3 lock(3): fix typo 2008-07-09 08:26:11 -04:00
Russ Cox
233feb69cf post9pservice(4): update 2008-06-14 14:06:16 -04:00
Russ Cox
a8e7aff24a venti-cache(3): delete vtblockdirty 2008-06-14 13:29:05 -04:00
rsc
024c9812e4 revert frseltick 2007-05-10 19:30:02 +00:00
rsc
813751d754 add frdrawseltick 2007-05-10 19:08:09 +00:00
rsc
8ecb4ffe4c nit 2007-04-06 13:48:48 +00:00
rsc
c56d0f1086 remove mention of threading 2007-04-06 13:47:57 +00:00
rsc
6215fd56f1 experiment: translation from standard notations to plan 9 in netmkaddr 2006-07-23 02:56:37 +00:00
rsc
73a5509ae9 more functions 2006-07-23 02:55:34 +00:00
rsc
38bb7c116c update runeprint desc 2006-07-02 15:26:41 +00:00
rsc
98fd254848 update Bprint docs 2006-07-02 15:26:05 +00:00
rsc
df970459f9 pin 2006-06-26 05:47:59 +00:00
rsc
b3d3a0687c fix 2006-06-26 00:03:07 +00:00
rsc
1dc6e083c1 plumbunmount 2006-06-25 23:55:37 +00:00
rsc
be3e97dcf8 fix TH line 2006-06-25 23:50:21 +00:00
rsc
7e8275c898 acme 2006-06-25 23:02:33 +00:00
rsc
57a2289bc9 just what we need - more rpcs 2006-06-25 21:23:39 +00:00
rsc
5af8dd63eb new fns 2006-03-19 06:12:00 +00:00
rsc
9c81b470c7 changes 2006-02-28 19:47:18 +00:00
rsc
973131adc4 note ansi braindamage 2006-02-14 19:39:40 +00:00
rsc
3449b18918 add exticode 2006-02-14 19:39:30 +00:00
rsc
40a2ff6f5d add thread.h 2006-01-30 22:00:11 +00:00
rsc
ee51985f90 oops 2006-01-27 04:16:40 +00:00
rsc
edf41df7bb correct discussion of fromdisktype 2005-07-24 13:27:00 +00:00
rsc
86a1a5e7b3 update 2005-07-19 17:58:26 +00:00
rsc
e5e159fd69 tweaks 2005-07-18 23:05:26 +00:00
rsc
3aec33fee9 done 2005-07-18 22:41:58 +00:00
rsc
be7cbb4ef2 venti, now with documentation! 2005-07-12 15:24:18 +00:00