text-tour

command
v1.16.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command text-tour opens a 640x480 window that shows the text proof (the text-tour scene of internal/proof) drawn by the GPU renderer: Latin text in several sizes, weights and styles, Arabic and Hebrew, CJK, color emoji, every decoration style, shadows, an ellipsized paragraph and a justified one. It is a development example (milestone 4): it uses the internal packages directly, before the public API exists.

Run it with: go run ./examples/dev/text-tour

Escape quits. To try it without a desktop session run it under a headless server: scripts/headless-wayland.sh -- go run ./examples/dev/text-tour

Environment (read in debug builds only, as the examples promise):

GLUTTER_BACKEND=x11|wayland       the windowing system (else the session's)
GLUTTER_RENDERER=gles|vulkan      the renderer (else the default; see SPEC §9.6)
GLUTTER_SCREENSHOT=<file.png>     save the window content to the file and exit
GLUTTER_SCREENSHOT_AFTER=<time>   wait that long (such as 500ms) before saving

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL