![]() The `racket/draw` library is now independent of the screen resolution on Windows. Font sizes in "points" are the only place where the resolution mattered before, and now `racket/draw` assumes a traditional 96dpi on Windows and Linux (and a traditional 72dpi on Mac OS X). Setting the scale for "text and other items" in Windows now adjusts the backing scale of screen and canvas-compatible bitmaps, as well as setting a scale on canvas drawing. Window and screen positions and sizes are similarly scaled; for example, if the screen is 2048x1436 with text scaled by 200%, then `racket/gui` reports the display size as 1024x768 (and the display backing scale as 2.0). Backing scales of 1.25 and 1.5 are common for Windows. Rounding associated with those scales could cause trouble for virtual -> actual -> virtual conversions. original commit: a64a1cb17722a49558ee76b5400d54aa040d1825 |
||
---|---|---|
pkgs |