PANGO-VIEW(1)
okay bestie, welcome to PANGO-VIEW(1) β the Pango text viewer from the Pango commands manual. This is your group-chat cheat sheet, and yes, every flag is invited to the party π
π NAME π
pango-view β Pango text viewer.
β¨ SYNOPSIS β¨
Run it like this, bb:
pango-view [OPTIONS...] FILE
πΈ DESCRIPTION πΈ
So like, pango-view formats a text using Pango, and it has options that let you exercise most of Pango's layout features. Itβs giving βlayout lab, but make it cuteβ π§ͺπ
π HELP OPTIONS π
Need the tea? These are the help exits:
-h,--helpβ Show help options.--help-allβ Show all help options.--help-cairoβ Show help for options understood by the cairo backend.--versionβ Print the command's version and exit.
π¦ CAIRO BACKEND OPTIONS π¦
Only the cairo backend wants the spotlight here:
--annotate=FLAGSβ Annotate the output.FLAGSis a comma-separated list ofgravity,progression,baselines,layout,line,run,cluster,char,glyph,caret,slope.
π APPLICATION OPTIONS π
Main character options, incoming β all the levers you can pull:
--no-auto-dirβ No layout direction according to contents.--backend=cairo/xft/ft2β Pango backend to use for rendering (default:cairo).--background=red/#rrggbb/#rrggbbaa/transparentβ Set the background color.-q,--no-displayβ Do not display (just write to file or whatever).--dpi=numberβ Set the resolution.--align=left/center/rightβ Set text alignment.--ellipsize=start/middle/endβ Set ellipsization mode.--font=descriptionβ Set the font description.--foreground=red/#rrggbb/#rrggbbaaβ Set the text color.--gravity=south/east/north/west/autoβ Set base gravity: glyph rotation.--gravity-hint=natural/strong/lineβ Set gravity hint.--headerβ Display the options in the output.--height=+points/-numlinesβ Set height in points (positive) or number of lines (negative) for ellipsizing.--hinting=none/auto/slight/medium/fullβ Set hinting style.--antialias=none/gray/subpixelβ Set antialiasing.--hint-metrics=on/offβ Set hint metrics.--subpixel-positionsβ Set subpixel positioning.--subpixel-order=rgb/bgr/vrgb/vbgrβ Set subpixel order.--indent=pointsβ Set paragraph indentation (in points).--spacing=pointsβ Set line spacing (in points).--line-spacing=factorβ Set spread factor for line height.--justifyβ Stretch paragraph lines to be justified.--justify-last-lineβ Justify the last line of the paragraph.--language=en_US/etcβ Set language to use for font selection.--margin=CSS-style numbers in pixelsβ Set the margin on the output in pixels.--markupβ Interpret text as Pango markup.-o,--output=fileβ Save rendered image to output file.--pixelsβ Use pixel units instead of points (sets dpi to72).--pango-unitsβ Use Pango units instead of points.--rtlβ Set base direction to right-to-left.--rotate=degreesβ Set angle at which to rotate results,-n,--runs=integerβ Run Pango layout engine this many times.--single-parβ Enable single-paragraph mode.-t,--text=stringβ Text to display (instead of a file).--waterfallβ Create a waterfall display.-w,--width=pointsβ Width in points to which to wrap lines or ellipsize.--wrap=word/char/word-charβ Text wrapping mode (needs a width to be set).--serialized=FILEβ Create layout from a serialized file,--serialize-to=FILEβ Serialize result to a file.
Signed off with the Pango source/version line and the PANGO-VIEW(1) date from your local manpage build β mwah, slay, and happy rendering πβ¨
π¦ where this page comes from
- alpine 3.22: pango-doc 1.56.3-r0 Β· LGPL-2.1-or-later
- alpine 3.23: pango-doc 1.56.4-r0 Β· LGPL-2.1-or-later
- alpine 3.24: pango-doc 1.57.1-r0 Β· LGPL-2.1-or-later
- debian trixie: pango1.0-tools 1.56.3-1 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu questing: pango1.0-tools 1.56.3-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms