Tk Source Code

View Ticket
Login
2023-10-01
07:58 Ticket [201b9316ae] Minor changes to style in library/scaling.tcl. status still Closed with 5 other changes artifact: 3dc0d2d110 user: fvogel
2023-08-25
12:45 Closed ticket [201b9316ae]. artifact: 6a3b6a85bd user: kjnash
2023-08-10
11:55 New ticket [201b9316ae]. artifact: 3f32ed930f user: kjnash

Ticket UUID: 201b9316ae9c25c1fe2720cf3ab9a41d94f0cf7a
Title: Minor changes to style in library/scaling.tcl.
Type: Bug Version: Tk 8.7
Submitter: kjnash Created on: 2023-08-10 11:55:25
Subsystem: 46. Unix Fonts Assigned To: nobody
Priority: 5 Medium Severity: Cosmetic
Status: Closed Last Modified: 2023-10-01 07:58:24
Resolution: Fixed Closed By: fvogel
    Closed on: 2023-10-01 07:58:24
Description:
Minor changes to style in library/scaling.tcl.

1. Do not export commands from library/scaling.tcl - these commands are private to namespace ::tk and are accessed only by scripts in Tk directory library/, using their fully qualified name where necessary.

2. Read the variable ::tk::fontScalingFactor through a new accessor command ::tk::FontScalingFactor.
The value of the variable is not changed in any other Tk files.

Fix: see branch "scaling-fixes".
User Comments: fvogel added on 2023-10-01 07:58:24:

This was fixed by [29591b0f], which was merged in trunk by [003f186c].