aboutsummaryrefslogtreecommitdiff
path: root/man/man3/graphics.3
Commit message (Collapse)AuthorAgeFilesLines
* tmac/tmac.an: define .MR in a groff compatible wayDmitri Vereshchagin2025-07-271-40/+40
| | | | | | | | | | | | | | | | groff 1.23.0 added .MR to its -man macro package. The NEWS file states that the inclusion of the macro "was prompted by its introduction to Plan 9 from User Space's troff in August 2020." From d32deab it seems that the name for Plan 9 from User Space's implementation was suggested by groff maintainer G. Brandon Robinson. Not sure if the intention was to make these definitions compatible, but it would be nice if they were. Currently, Plan 9 from User Space's .MR expects its second argument to be parenthesized. groff's .MR does not. This results in extra parentheses appearing in manual references when viewing Plan 9 from User Space's manual pages on a system using groff.
* tmac: rename IM (italic manual) to MR (manual reference)Russ Cox2020-08-151-40/+40
| | | | Suggested by G. Brandon Robinson.
* tmac: introduce real manual reference macro instead of overloading IRRuss Cox2020-08-131-40/+40
| | | | | | | | | | | The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.
* libdraw: redo default font construction to be hidpi-safeRuss Cox2018-11-161-9/+2
| | | | | | | | | | | | | | | | 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.
* man: document font syntaxesRuss Cox2015-02-171-22/+9
| | | | | | Change-Id: Id441d4df192c47388af6b5da306f14d90f066d18 Reviewed-on: https://plan9port-review.googlesource.com/1173 Reviewed-by: Russ Cox <rsc@swtch.com>
* libdraw: autoscale fonts when moving between low and high dpi screensRuss Cox2015-02-171-0/+15
| | | | | | 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/+16
| | | | | R=rsc http://codereview.appspot.com/6855092
* Many small edits.rsc2005-01-131-1/+5
|
* use macro for /usr/local/plan9rsc2005-01-111-1/+1
|
* Some man pages.rsc2005-01-031-32/+32
|
* Mostly path name updatesrsc2004-04-191-1/+1
|
* Rewrite page(2) references to page(3).rsc2004-04-111-25/+25
| | | | Add description of new libmach.
* Lots of man pages.rsc2004-04-101-0/+651