Re: [ft-devel] manual pages for freetype2-demos

2014-01-05 Thread Nis Martensen
On 28.10.2013 10:44, Werner LEMBERG wrote:
 I've now committed revised and updated versions of the man pages.
 Please check.

Thank you. Here is another one, for freetype-config. While there is
already one for that in Debian, it is written in SGML and requires the
corresponding toolchain to convert it into an actual man page.
If you adopt my new one, the package may be able to drop the
build-depends on docbook-to-man.

  Nis
.TH FREETYPE-CONFIG 1 January 2014 FreeType 2.5.2
.
.
.SH NAME
.
freetype-config \- Return compilation and linking information about
FreeType
.
.
.SH SYNOPSIS
.
.B freetype-config
.RI [ options ]
.
.
.SH DESCRIPTION
.
.B freetype-config
returns information needed for compiling and linking programs with the
FreeType library, such as linker flags and compilation parameters.
.
Alternatively, it can be used to query information about the
FreeType library version installed on the system, such as the
installation (directory path) prefix or the FreeType version number.
.
.PP
This program is part of the FreeType package.
.
.
.SH OPTIONS
.
There are two types of options: output/display selection options, and
path override options.
.
.
.SS Output selection options
.
Only one of the output selection options should be given at each program
invocation.
.
.TP
.B \-\-prefix
Return the prefix value of the installed FreeType library (the default
prefix will be `/usr' in most cases for distribution-installed
packages).
.
.TP
.B \-\-exec-prefix
Return the executable prefix value of the installed FreeType library
(will often be the same as the prefix value).
.
.TP
.B \-\-ftversion
Return the FreeType version number.
.
.TP
.B \-\-version
Return the `libtool version' of the FreeType library.
.
.TP
.B \-\-libtool
Return the library name for linking with libtool.
.
.TP
.B \-\-libs
Return compiler flags for linking with the installed FreeType library.
.
.TP
.B \-\-cflags
Return compiler flags for compiling against the installed FreeType library.
.
.
.SS Path override options
.
These affect any selected output option, except the libtool version
returned by `--version'.
.
.TP
.BI \-\-prefix= PREFIX
Override `--prefix' value with
.IR PREFIX .
.
.TP
.BI \-\-exec-prefix= EPREFIX
Override `--exec-prefix' value with
.IR EPREFIX .
.
.
.\ eof
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] manual pages for freetype2-demos

2014-01-05 Thread Werner LEMBERG

 Here is another one, for freetype-config.

Committed, thanks!


Werner

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] manual pages for freetype2-demos

2013-10-28 Thread Werner LEMBERG

 Please find attached some minimal draft man pages, mainly based upon
 the usage output of the various tools.  Any kind of feedback/review
 is appreciated since I hardly know anything about freetype, and
 whether you are interested in adding man pages upstream at all.

I've now committed revised and updated versions of the man pages.
Please check.


Werner

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] manual pages for freetype2-demos

2013-09-22 Thread Werner LEMBERG

 Please find attached some minimal draft man pages, mainly based upon
 the usage output of the various tools.  Any kind of feedback/review
 is appreciated since I hardly know anything about freetype, and
 whether you are interested in adding man pages upstream at all.

Thanks for the man pages, I'll check and eventually add them to the
ft2demos bundle.  I'm not too happy that distributions like Debian
publish all of the FreeType demo programs (for example, `ftgamma' has
essentially no real use); maybe this can be improved somehow.


Werner

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] manual pages for freetype2-demos

2013-09-22 Thread Miles Bader
Werner LEMBERG w...@gnu.org writes:
 I'm not too happy that distributions like Debian publish all of the
 FreeType demo programs (for example, `ftgamma' has essentially no real
 use); maybe this can be improved somehow.

Why?  As a Debian user, I'm often glad that the FT demo progs are
there, because they can be useful.

Maybe ftgamma isn't so useful, but if it's not actively _harmful_,
why go to the bother of making an exception?  Users can just ... not
run it.

Thanks,

-Miles

-- 
Custard, n. A vile concoction produced by a malevolent conspiracy of the hen,
the cow, and the cook.

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


[ft-devel] manual pages for freetype2-demos

2013-08-31 Thread Nis Martensen
Hi,

In Debian there is a goal to have man pages for all executables. There
aren't any for the freetype2-demo programs yet, which is considered a
bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=131137.

Please find attached some minimal draft man pages, mainly based upon the
usage output of the various tools. Any kind of feedback/review is
appreciated since I hardly know anything about freetype, and whether you
are interested in adding man pages upstream at all.

Kind regards,
 Nis
.TH ftview 1 July 2013 FreeType User Manuals
.SH NAME
.PP
ftview \- simple glyph viewer
.SH SYNOPSIS
.B ftview
.RI [ options ]
.I pt font
.SH DESCRIPTION
.B ftview
is a simple glyph viewer and part of the FreeType project.
.TP
.B pt
The point size for the given resolution.
If resolution is 72dpi, this directly gives the ppem value (pixels per
EM).
.TP
.B font
The font file(s) to display.
For Type 1 font files, ftview also tries to attach the corresponding
metrics file (with extension .afm or .pfm).
.SH OPTIONS
.TP
.BI \-r\  R
Use resolution
.I R
dpi (default: 72dpi).
.TP
.BI \-f\  index
Specify first index to display (default: 0).
.TP
.BI \-e\  enc
Specify encoding tag (default: no encoding).
Common values: unic (Unicode), symb (symbol),
ADOB (Adobe standard), ADBC (Adobe custom).
.TP
.B \-D
Dump cache usage statistics.
.TP
.BI \-m\  text
Use
.I text
for rendering.
.TP
.BI \-l\  mode
Change rendering mode (0 =
.I mode
= 6).
.TP
.B \-p
Preload file in memory to simulate memory-mapping.
.TH ftvalid 1 July 2013 FreeType User Manuals
.SH NAME
.PP
ftvalid \- font layout table validator
.SH SYNOPSIS
.B ftvalid
.RI [ options ]
.I fontfile
.SH DESCRIPTION
.B ftvalid
is a layout table validator from the FreeType project.
.SH OPTIONS
.TP
.BI \-f\  index
Select font index (default: 0).
.TP
.BI \-t\  validator
Select validator. Available validators: ot gx ckern
.TP
.BI \-T\  sfnt:tabl:enam:es
Select snft table names to be validated. `:' is for separating table names.

Supported tables in ot validator are:
BASE GDEF GPOS GSUB JSTF MATH

Supported tables in gx validator are:
feat mort morx bsln just kern opbd trak prop lcar
.TP
.BI \-T\  ms:apple
[ckern] Select (a) classic kern dialect(s) for validation. `:' is for
separating dialect names.  If more than one dialects is specified, all
dialects are accepted when validating.

Supported dialects in ckern validator are: ms apple
.TP
.BI \-L
List the layout related SFNT tables available in the font file. Choice
of validator with -t option affects on the listing.

ckern is applicable to kern table. -L lists dialects supported in ckern
validator only if kern table is available in the font file.

.TP
.BI \-v\  validation_level
Validation level.  validation_level = 0...2 (0: default, 1: tight, 2:
paranoid)
.SH ENVIRONMENT VARIABLES
.TP
.B FT2_DEBUG
You can specify trace components and their levels[1-7] to it like
FT2_DEBUG=module1:level module2:level

Available components for ot validator: otvmodule otvcommon otvbase
otvgdef otvgpos otvgsub otvjstf

Available components for gx validator: gxvmodule gxvcommon gxvfeat
gxvmort gxvmorx gxvbsln gxvjust gxvkern gxvopbd gxvtrak gxvprop gxvlcar

Only gxvkern is available for ckern validator.

.TH ftlint 1 August 2013 Freetype User Manuals
.SH NAME
.PP
ftlint \- simple font tester
.SH SYNOPSIS
.B ftlint
.I ppem
.IR fontname [ .ttf|.ttc ]
.RI [ fontname2.. ]
.SH DESCRIPTION
The
.B ftlint
font tester is part of the FreeType project. It does not have any
options.
.TH ftgrid 1 August 2013 Freetype User Manuals
.SH NAME
.PP
ftgrid \- simple glyph grid viewer
.SH SYNOPSIS
.B ftgrid
.RI [ options ]
.I pt font ...
.SH DESCRIPTION
.B ftgrid
is a simple glyph grid viewer, part of the FreeType Project.
.TP
.B pt
The point size for the given resolution.  If resolution is 72dpi, this
directly gives the ppem value (pixels per EM).
.TP
.B font
The font file(s) to display.  For Type 1 font files, ftgrid also tries
to attach the corresponding metrics file (with extension `.afm' or
`.pfm').
.SH OPTIONS
.TP
.BI  \-r\  R
Use resolution
.I R
dpi (default: 72dpi).
.TP
.BI \-f\  index
Specify first index to display (default: 0).

.TH ftstring 1 August 2013 Freetype User Manuals
.SH NAME
.PP
ftstring \- string viewer
.SH SYNOPSIS
.B ftstring
.RI [ options ]
.I pt font ...
.SH DESCRIPTION
The
.B ftstring
demo program is a string viewer, part of the FreeType project.
.TP
.B pt
The point size for the given resolution.
If resolution is 72dpi, this directly gives the
ppem value (pixels per EM).
.TP
.B font
The font file(s) to display.
For Type 1 font files, ftview also tries to attach
the corresponding metrics file (with extension
`.afm' or `.pfm').
.SH OPTIONS
.TP
.BI \-r\  R
Use resolution
.I R
dpi (default: 72dpi).
.TP
.BI \-e\  enc
Specify encoding tag (default: no encoding).
Common values: `unic' (Unicode), `symb' (symbol),
`ADOB' (Adobe standard), `ADBC' (Adobe custom).
.TP
.BI \-m\  text
Use `text' for rendering.

.TH ftmulti 1 August 2013 Freetype User Manuals
.SH NAME