Commit Briefs

16d0081989 Russ Cox

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.


b3a110affa Russ Cox

man: document font syntaxes

Change-Id: Id441d4df192c47388af6b5da306f14d90f066d18 Reviewed-on: https://plan9port-review.googlesource.com/1173 Reviewed-by: Russ Cox <rsc@swtch.com>


213fc4f6fb Russ Cox

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>


9f3851871e Russ Cox

libdraw: add scalesize

R=rsc http://codereview.appspot.com/6855092


c8b6342d3c rsc

Many small edits.


c3674de413 rsc

use macro for /usr/local/plan9


058b0118a5 rsc

Some man pages.


b5fdffeeed rsc

Mostly path name updates


bf8a59fa01 rsc

Rewrite page(2) references to page(3).

Add description of new libmach.


cfa37a7b11 rsc

Lots of man pages.