Tk Source Code

Check-in [a4b00e87]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Test font-10.9: use TkFixedFont on Windows.

The raster font Courier is reported as not fixed at some sizes, e.g. at 150%.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | tests-high-dpi
Files: files | file ages | folders
SHA3-256: a4b00e87467b3d06b9ebfcc81d65293229f66ea4cb071737a35799cd09644b1c
User & Date: serhiy.storchaka 2026-11-08 10:43:50.326
References
2026-11-08
10:49 • Ticket [deca13e8] Tests fail at high display scale status still Open with 3 other changes artifact: d45384ab user: serhiy.storchaka
Context
2026-11-19
15:35
Rebase tests-high-dpi branch to trunk check-in: 4fd2c27f user: jan.nijtmans tags: tests-high-dpi
2026-11-16
09:22
tests/font.test: use TkFixedFont on win32 instead of "courier 12". See ticket [deca13e833]. Thanks to Serhiy Storchaka. check-in: 2e318316 user: erikleunissen tags: trunk, main
2026-11-08
10:43
Test font-10.9: use TkFixedFont on Windows.

The raster font Courier is reported as not fixed at some sizes, e.g. at 150%. check-in: a4b00e87 user: serhiy.storchaka tags: tests-high-dpi

10:43
Tests: do not depend on the default sizes in points set in tk.tcl.

The default panedwindow sash width, the scale sizes and the X11 scrollbar width are specified in points in tk.tcl and grow with the DPI. The tests passed only if option.test, which clears the option database, was run before them. Set the sizes which the tests assume explicitly. check-in: aa57e2a1 user: serhiy.storchaka tags: tests-high-dpi

2026-10-02
13:40
Test font-10.9: use TkFixedFont on Windows.

The raster font Courier is reported as not fixed at some sizes, e.g. at 150%. closed check-in: 5f4c4c0d user: serhiy.storchaka tags: tests-high-dpi

Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/font.test.