Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-01-14 | libdraw: use proper pipe for default font data | Russ Cox | 1 | -6/+16 | |
May fix a deadlock / missing font on OpenBSD. Fixes #308. | |||||
2020-01-10 | Trivial changes: whitespace and modes. | Dan Cross | 1 | -3/+3 | |
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> | |||||
2018-11-16 | libdraw: redo default font construction to be hidpi-safe | Russ Cox | 1 | -5/+26 | |
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. | |||||
2015-02-17 | libdraw: autoscale fonts when moving between low and high dpi screens | Russ Cox | 1 | -8/+11 | |
Change-Id: I6093955b222db89dfe437fb723593b173d888d01 Reviewed-on: https://plan9port-review.googlesource.com/1170 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2015-02-17 | libdraw: add 2*font syntax for scaled fonts | Russ Cox | 1 | -1/+59 | |
An experiment. Change-Id: I40660a211b8372701597d80f7e86917e94cccbaa Reviewed-on: https://plan9port-review.googlesource.com/1161 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2009-07-08 | merge | Russ Cox | 1 | -1/+5 | |
2004-04-25 | make it possible to access fonts without a display. | rsc | 1 | -3/+3 | |
2003-09-30 | Initial revision | rsc | 1 | -0/+36 | |