aboutsummaryrefslogtreecommitdiff
path: root/src/libmemdraw
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10Trivial changes: whitespace and modes.Dan Cross11-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>
2018-11-16libdraw: redo default font construction to be hidpi-safeRuss Cox2-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.
2012-10-21libmemdraw: fix int size bugErik Quanstrom1-1/+2
R=rsc, quanstro CC=plan9port.codebot http://codereview.appspot.com/6657043
2010-03-10fix type-punned pointer warnings from gccRuss Cox1-7/+20
R=rsc http://codereview.appspot.com/396042
2009-07-29libmemdraw: allow wider imagesRuss Cox1-1/+1
http://codereview.appspot.com/98067
2009-04-30mergeRuss Cox2-75/+129
2006-06-25add stub routinesrsc7-0/+91
2006-06-25separate outrsc24-0/+6385