Add fractional scaling note about Firefox

Anders 2019-07-05 13:20:07 -07:00
parent c6bdb74653
commit bbaf0c5cee

@ -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.