popup: replace FreeType renderer with PangoCairo
This commit is contained in:
15
README.md
15
README.md
@@ -51,15 +51,24 @@ dependencies listed in [`Dockerfile`](Dockerfile) are installed.
|
||||
|
||||
## Run
|
||||
|
||||
The popup needs one to four scalable font files. No fonts are bundled.
|
||||
`run.sh` uses installed DejaVu, Jigmo, or Noto CJK fonts when available, or
|
||||
accepts explicit files in fallback order:
|
||||
The popup needs one to four font files. No fonts are bundled. Each file is
|
||||
validated and registered with Pango as an application font. Pango shapes the
|
||||
complete string and chooses glyph fallback from those fonts and the normal
|
||||
system fonts; command-line file order is not an exact per-glyph fallback
|
||||
contract.
|
||||
|
||||
`run.sh` uses installed Noto Color Emoji, DejaVu, Jigmo, or Noto CJK fonts when
|
||||
available, or accepts explicit files. Supply a color emoji font such as Noto
|
||||
Color Emoji to render emoji in color:
|
||||
|
||||
```sh
|
||||
./run.sh
|
||||
./run.sh /path/to/primary.ttf /path/to/fallback.ttc
|
||||
```
|
||||
|
||||
The popup renderer requires Pango/PangoCairo 1.56 or newer and Cairo 1.18 or
|
||||
newer.
|
||||
|
||||
The script starts the daemon and, when `DISPLAY` is set, the XIM frontend. It
|
||||
restarts any existing `strans` processes owned by the current user.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user