aboutsummaryrefslogtreecommitdiff
path: root/src/libmemdraw
Commit message (Collapse)AuthorAgeFilesLines
* Trivial changes: whitespace and modes.Dan Cross2020-01-1011-61/+53
| | | | | | | | | 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-162-69/+0
| | | | | | | | | | | | | | | | 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.
* libmemdraw: fix int size bugErik Quanstrom2012-10-211-1/+2
| | | | | | R=rsc, quanstro CC=plan9port.codebot http://codereview.appspot.com/6657043
* fix type-punned pointer warnings from gccRuss Cox2010-03-101-7/+20
| | | | | R=rsc http://codereview.appspot.com/396042
* libmemdraw: allow wider imagesRuss Cox2009-07-291-1/+1
| | | | http://codereview.appspot.com/98067
* mergeRuss Cox2009-04-302-75/+129
|
* add stub routinesrsc2006-06-257-0/+91
|
* separate outrsc2006-06-2524-0/+6385