PANGO-VIEW(1) User Commands PANGO-VIEW(1)

# [NAME](#NAME)

pango-view - "Pango text viewer"

# [DESCRIPTION](#DESCRIPTION)

## [Usage:](#Usage:)

pango-view \[OPTIONâ.¦] - FILE

## [Help Options:](#Help_Options:)

[**-h**, **--help**](#h)

Show help options

[**--help-all**](#help)

Show all help options

[**--help-cairo**](#help~2)

Options understood by the cairo backend

## [Cairo backend options:](#Cairo_backend_options:)

[**--annotate**=*FLAGS*](#annotate)

Annotate the output. Comma-separated list of gravity, progression, baselines, layout, line, run, cluster, char, glyph, caret, slope

## [Application Options:](#Application_Options:)

[**--no-auto-dir**](#no)

No layout direction according to contents

[**--backend**=*cairo*/xft/ft2](#backend)

Pango backend to use for rendering (default: cairo)

[**--background**=*red*/#rrggbb/#rrggbbaa/transparent](#background)

Set the background color

[**-q**, **--no-display**](#q)

Do not display (just write to file or whatever)

[**--dpi**=*number*](#dpi)

Set the resolution

[**--align**=*left*/center/right](#align)

Text alignment

[**--ellipsize**=*start*/middle/end](#ellipsize)

Ellipsization mode

[**--font**=*description*](#font)

Set the font description

[**--foreground**=*red*/#rrggbb/#rrggbbaa](#foreground)

Set the text color

[**--gravity**=*south*/east/north/west/auto](#gravity)

Base gravity: glyph rotation

[**--gravity-hint**=*natural*/strong/line](#gravity~2)

Gravity hint

[**--header**](#header)

Display the options in the output

[**--height=**+points/-numlines](#height=)

Height in points (positive) or number of lines (negative) for ellipsizing

[**--hinting**=*none*/auto/slight/medium/full](#hinting)

Hinting style

[**--antialias**=*none*/gray/subpixel](#antialias)

Antialiasing

[**--hint-metrics**=*on*/off](#hint)

Hint metrics

[**--subpixel-positions**](#subpixel)

Subpixel positioning

[**--subpixel-order**=*rgb*/bgr/vrgb/vbgr](#subpixel~2)

Subpixel order

[**--indent**=*points*](#indent)

Width in points to indent paragraphs

[**--spacing**=*points*](#spacing)

Spacing in points between lines

[**--line-spacing**=*factor*](#line)

Spread factor for line height

[**--justify**](#justify)

Stretch paragraph lines to be justified

[**--justify-last-line**](#justify~2)

Justify the last line of the paragraph

[**--language**=*en\_US*/etc](#language)

Language to use for font selection

[**--margin**=*CSS-style* numbers in pixels](#margin)

Set the margin on the output in pixels

[**--markup**](#markup)

Interpret text as Pango markup

[**-o**, **--output**=*file*](#o)

Save rendered image to output file

[**--pixels**](#pixels)

Use pixel units instead of points (sets dpi to 72)

[**--pango-units**](#pango)

Use Pango units instead of points

[**--rtl**](#rtl)

Set base direction to right-to-left

[**--rotate**=*degrees*](#rotate)

Angle at which to rotate results

[**-n**, **--runs**=*integer*](#n)

Run Pango layout engine this many times

[**--single-par**](#single)

Enable single-paragraph mode

[**-t**, **--text**=*string*](#t)

Text to display (instead of a file)

[**--version**](#version)

Show version numbers

[**--waterfall**](#waterfall)

Create a waterfall display

[**-w**, **--width**=*points*](#w)

Width in points to which to wrap lines or ellipsize

[**--wrap**=*word*/char/word-char](#wrap)

Text wrapping mode (needs a width to be set)

[**--serialized**=*FILE*](#serialized)

Create layout from a serialized file

[**--serialize-to**=*FILE*](#serialize)

Serialize result to a file

June 2024 pango 1.54.0

---

Document: pango-view(1) from pango 1.54.0-r0 (Chainguard OS)
Source: https://gitlab.gnome.org/GNOME/pango.git
