pango-x: add manpage for "pango-view"

This commit is contained in:
Leonid Pliushch 2019-01-19 19:12:07 +02:00 committed by Yaksh Bariya
parent c7e1204767
commit e4dc4d2dda
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 119 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://www.pango.org/
TERMUX_PKG_DESCRIPTION="Library for laying out and rendering text (with X)"
TERMUX_PKG_VERSION=1.42.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/pango/${TERMUX_PKG_VERSION:0:4}/pango-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d
@ -12,3 +13,8 @@ TERMUX_PKG_DEVPACKAGE_DEPENDS="fontconfig-dev, harfbuzz-dev, libcairo-x-dev, lib
TERMUX_PKG_PROVIDES="pango"
TERMUX_PKG_REPLACES="${TERMUX_PKG_PROVIDES}"
TERMUX_PKG_CONFLICTS="${TERMUX_PKG_PROVIDES}, pango-dev"
termux_step_post_make_install() {
install -Dm600 $TERMUX_PKG_BUILDER_DIR/pango-view.1 \
$TERMUX_PREFIX/share/man/man1/pango-view.1
}

View File

@ -0,0 +1,113 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
.TH PANGO-VIEW "1" "January 2019" "pango-view (pango) 1.42.3" "User Commands"
.SH NAME
pango-view \- Pango text viewer
.SH DESCRIPTION
.SS "Usage:"
.IP
pango\-view [OPTION?] \- FILE
.SS "Help Options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
Show help options
.TP
\fB\-\-help\-all\fR
Show all help options
.TP
\fB\-\-help\-cairo\fR
Options understood by the cairo backend
.SS "Cairo backend options:"
.TP
\fB\-\-annotate\fR=\fI\,1\/\fR or 2
Annotate the output
.SS "Application Options:"
.TP
\fB\-\-no\-auto\-dir\fR
No layout direction according to contents
.TP
\fB\-\-backend\fR=\fI\,cairo\/\fR/xft/ft2
Pango backend to use for rendering (default: cairo)
.TP
\fB\-\-background\fR=\fI\,red\/\fR/#rrggbb/#rrggbbaa/transparent
Set the background color
.TP
\fB\-q\fR, \fB\-\-no\-display\fR
Do not display (just write to file or whatever)
.TP
\fB\-\-dpi\fR=\fI\,number\/\fR
Set the resolution
.TP
\fB\-\-align\fR=\fI\,left\/\fR/center/right
Text alignment
.TP
\fB\-\-ellipsize\fR=\fI\,start\/\fR/middle/end
Ellipsization mode
.TP
\fB\-\-font\fR=\fI\,description\/\fR
Set the font description
.TP
\fB\-\-foreground\fR=\fI\,red\/\fR/#rrggbb/#rrggbbaa
Set the text color
.TP
\fB\-\-gravity\fR=\fI\,south\/\fR/east/north/west/auto
Base gravity: glyph rotation
.TP
\fB\-\-gravity\-hint\fR=\fI\,natural\/\fR/strong/line
Gravity hint
.TP
\fB\-\-header\fR
Display the options in the output
.TP
\fB\-\-height=\fR+points/\-numlines
Height in points (positive) or number of lines (negative) for ellipsizing
.TP
\fB\-\-hinting\fR=\fI\,none\/\fR/auto/full
Hinting style
.TP
\fB\-\-indent\fR=\fI\,points\/\fR
Width in points to indent paragraphs
.TP
\fB\-\-justify\fR
Align paragraph lines to be justified
.TP
\fB\-\-language\fR=\fI\,en_US\/\fR/etc
Language to use for font selection
.TP
\fB\-\-margin\fR=\fI\,CSS\-style\/\fR numbers in pixels
Set the margin on the output in pixels
.TP
\fB\-\-markup\fR
Interpret text as Pango markup
.TP
\fB\-o\fR, \fB\-\-output\fR=\fI\,file\/\fR
Save rendered image to output file
.TP
\fB\-\-pixels\fR
Use pixel units instead of points (sets dpi to 72)
.TP
\fB\-\-rtl\fR
Set base direction to right\-to\-left
.TP
\fB\-\-rotate\fR=\fI\,degrees\/\fR
Angle at which to rotate results
.TP
\fB\-n\fR, \fB\-\-runs\fR=\fI\,integer\/\fR
Run Pango layout engine this many times
.TP
\fB\-\-single\-par\fR
Enable single\-paragraph mode
.TP
\fB\-t\fR, \fB\-\-text\fR=\fI\,string\/\fR
Text to display (instead of a file)
.TP
\fB\-\-version\fR
Show version numbers
.TP
\fB\-\-waterfall\fR
Create a waterfall display
.TP
\fB\-w\fR, \fB\-\-width\fR=\fI\,points\/\fR
Width in points to which to wrap lines or ellipsize
.TP
\fB\-\-wrap\fR=\fI\,word\/\fR/char/word\-char
Text wrapping mode (needs a width to be set)