Skip to content

Commit a838e46

Browse files
committed
mention pixel-based positionning
1 parent 4da8169 commit a838e46

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

content/en/usage/usage.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,3 +691,18 @@ Change the font: `(lem-core:set-font-name "JuliaMono")`.
691691
NB: on Lem versions older than August, 2025, use `(lem-if:set-font-name "JuliaMono")`.
692692

693693
You can list the available fonts with `fc-list` in Unix.
694+
695+
### Pixel-based positionning
696+
697+
The webview frontend supports precise pixel-based positioning of
698+
floating windows. This enables smooth sub-character positioning for
699+
animations, mouse following, and GUI element placement.
700+
701+
You can try some demos with the following commands:
702+
703+
- bouncing window animation demo (`pixel-demo-animate`)
704+
- mouse-following window demo (`pixel-demo-follow-mouse`)
705+
- coordinate debug display (`pixel-demo-debug`)
706+
- side-by-side pixel vs character mode comparison (`pixel-demo-compare`)
707+
708+
The feature was added on [this PR](https://github.com/lem-project/lem/pull/2073) (with a high-level overview).

0 commit comments

Comments
 (0)