mirror of
https://github.com/swaywm/sway.git
synced 2024-12-04 20:36:40 +00:00
Add fractional scaling note about Firefox
parent
c6bdb74653
commit
bbaf0c5cee
2
Home.md
2
Home.md
|
@ -89,6 +89,8 @@ Note that the x-pos of eDP1 is 1600 = 3200/2.
|
|||
|
||||
Fractional scaling is supported but is not recommended. Your display does not have fractional pixels - and if you enable fractional scaling we cannot display your windows faithfully, and your image quality will be degraded. You should instead choose the integer scale factor appropriate for your display and configure your software's font size as necessary. If you still want to use fractional scaling, it is as simple as e.g. `output <name> scale 1.5`.
|
||||
|
||||
Firefox, however, supports fractional scaling. Navigate to `about:config` and modify the preference `layout.css.devPixelsPerPx` to be any value you like, like `1.275`.
|
||||
|
||||
#### Display rotation
|
||||
|
||||
`output <name> transform 90` will rotate output `<name>` by 90 degrees clockwise. Read `man 5 sway-output` and search for `transform` to see other options, like flipping across an axis.
|
||||
|
|
Loading…
Reference in a new issue