Leonid Plyushch
6 years ago
committed by
Fredrik Fornwall
2 changed files with 119 additions and 0 deletions
@ -1,7 +1,13 @@ |
|||||
TERMUX_PKG_HOMEPAGE=https://www.pango.org/ |
TERMUX_PKG_HOMEPAGE=https://www.pango.org/ |
||||
TERMUX_PKG_DESCRIPTION="Library for laying out and rendering text" |
TERMUX_PKG_DESCRIPTION="Library for laying out and rendering text" |
||||
TERMUX_PKG_VERSION=1.42.4 |
TERMUX_PKG_VERSION=1.42.4 |
||||
|
TERMUX_PKG_REVISION=1 |
||||
TERMUX_PKG_SHA256=1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d |
TERMUX_PKG_SHA256=1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d |
||||
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/pango/${TERMUX_PKG_VERSION:0:4}/pango-${TERMUX_PKG_VERSION}.tar.xz |
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/pango/${TERMUX_PKG_VERSION:0:4}/pango-${TERMUX_PKG_VERSION}.tar.xz |
||||
TERMUX_PKG_DEPENDS="fontconfig,fribidi,glib,harfbuzz,libcairo" |
TERMUX_PKG_DEPENDS="fontconfig,fribidi,glib,harfbuzz,libcairo" |
||||
TERMUX_PKG_DEVPACKAGE_DEPENDS="libcairo-dev, libpixman-dev, fontconfig-dev, harfbuzz-dev" |
TERMUX_PKG_DEVPACKAGE_DEPENDS="libcairo-dev, libpixman-dev, fontconfig-dev, harfbuzz-dev" |
||||
|
|
||||
|
termux_step_post_make_install() { |
||||
|
install -Dm600 $TERMUX_PKG_BUILDER_DIR/pango-view.1 \ |
||||
|
$TERMUX_PREFIX/share/man/man1/pango-view.1 |
||||
|
} |
||||
|
@ -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) |
Loading…
Reference in new issue