Commits
- Commit:
4ae529dbfe8573ae105d0d66f7f453c4f850fa1f
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libdraw: use proper pipe for default font data
May fix a deadlock / missing font on OpenBSD.
Fixes #308.
- Commit:
fa325e9b42b0bdfb48857d1958d9fb7ceac55151
- From:
- Dan Cross <cross@gajendra.net>
- Date:
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
- Commit:
16d00819899260085ee10949012b07bf1c203db6
- From:
- Russ Cox <rsc@swtch.com>
- Date:
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.
- Commit:
213fc4f6fb26bb5781ea3e489bf4cc5c2aca591e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
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>
- Commit:
77f23268f7073b254e91748d4764768bab6d6f1f
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libdraw: add 2*font syntax for scaled fonts
An experiment.
Change-Id: I40660a211b8372701597d80f7e86917e94cccbaa
Reviewed-on: https://plan9port-review.googlesource.com/1161
Reviewed-by: Russ Cox <rsc@swtch.com>
- Commit:
9b4a2324d39a8c952c8184249d2b06b9349205a2
- From:
- Russ Cox <rsc@swtch.com>
- Date:
merge
- Commit:
4e206880423db866dd1db0622a9b4d5b0881fee1
- From:
- rsc <devnull@localhost>
- Date:
make it possible to access fonts without a display.
- Commit:
76193d7cb0457807b2f0b95f909ab5de19480cd7
- From:
- rsc <devnull@localhost>
- Date:
Initial revision