Blame README

Packit 1930a2
The paper library and accompanying files are intended to provide a simple
Packit 1930a2
way for applications to take actions based on a system- or user-specified
Packit 1930a2
paper size.
Packit 1930a2
Packit 1930a2
This release is quite minimal, its purpose being to provide really basic
Packit 1930a2
functions (obtaining the system paper name and getting the height and
Packit 1930a2
width of a given kond of paper) that applications can immediately
Packit 1930a2
integrate.
Packit 1930a2
A more complete library, using a capabilities file for papers (giving,
Packit 1930a2
in addition to the size, informations like paper weigth, color, etc)
Packit 1930a2
will be released later.
Packit 1930a2
Packit 1930a2
See the sources for paperconf(1) in src/paper.c for how to use the library.
Packit 1930a2
Packit 1930a2
Adding new paper sizes
Packit 1930a2
======================
Packit 1930a2
Packit 1930a2
If a paper format is missing, one need to add it to lib/paperspecs.  The
Packit 1930a2
format of this file is one paper format per line, with the name of the
Packit 1930a2
format, the width and height of the format separated with space.  You
Packit 1930a2
may add an option measurement unit among in, ft, pt, m, dm, cm, mm or you
Packit 1930a2
may leave the default unit of "point".  By defaults the width and height
Packit 1930a2
are specified in the "point" unit, which is 1/72 inch (2.54 cm).  This
Packit 1930a2
is the A4 entry:
Packit 1930a2
Packit 1930a2
  a4 210 297 mm
Packit 1930a2
Packit 1930a2
that was previously written as
Packit 1930a2
Packit 1930a2
  a4 595 842
Packit 1930a2
Packit 1930a2
The sizes here are 595 points / 72 points pr inch * 2.54 cm per
Packit 1930a2
inch = 20.99 cm and 842/72*2.54 = 29.70 cm.  The A4 format
Packit 1930a2
is 210x297 mm so this is a good approximation.  (Source:
Packit 1930a2
<URL:http://en.wikipedia.org/wiki/A4_paper_size>)
Packit 1930a2
Packit 1930a2
Copyright (C) Yves Arrouye <yves@debian.org>, 1996
Packit 1930a2
              Adrian Bunk  <bunk@fs.tum.de> , 2000
Packit 1930a2