aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/init.c
Commit message (Collapse)AuthorAgeFilesLines
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-10/+10
| | | | | | | | | 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>
* libdraw: redo default font construction to be hidpi-safeRuss Cox2018-11-161-22/+10
| | | | | | | | | | | | | | | | 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.
* 9term, win: work around bsd linker nonsenseRuss Cox2017-01-061-0/+5
| | | | | | Change-Id: Ifcef0636ee1e1fd0f9b06a8d1a99d58fae831318 Reviewed-on: https://plan9port-review.googlesource.com/2780 Reviewed-by: Russ Cox <rsc@swtch.com>
* libdraw: autoscale fonts when moving between low and high dpi screensRuss Cox2015-02-171-0/+12
| | | | | | Change-Id: I6093955b222db89dfe437fb723593b173d888d01 Reviewed-on: https://plan9port-review.googlesource.com/1170 Reviewed-by: Russ Cox <rsc@swtch.com>
* libdraw: add scalesizeRuss Cox2012-11-251-0/+7
| | | | | R=rsc http://codereview.appspot.com/6855092
* devdraw, libdraw: add display->dpiRuss Cox2012-11-251-0/+9
| | | | | | | | Fixed at 100 right now, but the plan is to make it accurate and then use it. R=rsc http://codereview.appspot.com/6856091
* libdraw: add visibleclicks modeRuss Cox2012-09-171-1/+46
| | | | | R=rsc http://codereview.appspot.com/6501137
* byersc2006-06-251-20/+176
|
* do RFNOTEG in initdraw (Anselm Garbe)rsc2006-05-201-0/+1
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-1/+1
|
* avoid nil freeimagersc2005-12-291-2/+4
|
* debugging helprsc2005-11-071-2/+2
|
* less graceful shutdown but avoid deadlocksrsc2005-07-271-1/+9
|
* start with white instead of blackrsc2005-07-241-1/+1
|
* be more faithful to plan 9 environment --rsc2005-03-181-2/+8
| | | | allocate window on top of screen.
* use new thread libraryrsc2004-12-261-2/+2
|
* Initial revisionrsc2003-09-301-0/+203