| Ticket UUID: | e10819114cfa447c68d5d7d242cad3dd3dd6cb96 | |||
| Title: | [tk print] canvas: raw smooth not implemented | |||
| Type: | Bug | Version: | trunk | |
| Submitter: | emiliano | Created on: | 2025-05-06 21:08:47 | |
| Subsystem: | -- New Commands | Assigned To: | jan.nijtmans | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2025-11-04 09:28:11 | |
| Resolution: | Fixed | Closed By: | jan.nijtmans | |
| Closed on: | 2025-11-04 09:28:11 | |||
| Description: |
[tk print $canvas] doesn't implement the raw smooth method on windows for both lines and polygons. Running the attached demo script (using a virtual pdf printer) produces the attached file "smooth_raw_trunk.pdf" The branch tk-print-fixes have a fix for this issue: see this commit. After the change, the same script produces the attached file "smooth_raw_fixes.pdf" | |||
| User Comments: |
jan.nijtmans added on 2025-11-04 09:28:11:
> So my idea was commit what we have now all together I looked at the code, and it looks fine to me. Just don't use "bool" as variable-name that's my only remark ;-) Therefore, now merged to core-9-0-branch (and trunk) fvogel added on 2025-05-13 05:53:12: The plan looks fine to me. One week later, since we got no further comment I think you can merge if you wish so. emiliano added on 2025-05-07 22:16:02: My plan was to address the issues I found, with visible impact in the final user, in an ordered manner. I filled three tickets because, while all related, they can be seen as different aspects of the same functionality. I've stopped commiting further changes to allow reviewers (and testers) check the changes and give ok (or not, or propose changes), before going further in two more issues: full support for text rotation and a bit of housekeeping. So my idea was commit what we have now all toghether (along with proposed changes) despite having several bug reports pointing out small issues. fvogel added on 2025-05-07 20:05:49: I have reviewed the [b09c19dbccd1176e|patch], it looks totally fine to me. I also have tested the code and it works for me. Do you want me to merge? Since all your patches are in a single branch, how do you think this should all be merged? Cherrypick each patch, or merge the tk_print_fixes branch at once? | |||
Attachments:
- print_canvas_fixes.pdf [download] added by emiliano on 2025-05-06 21:13:30. [details]
- print_canvas_trunk.pdf [download] added by emiliano on 2025-05-06 21:13:20. [details]
- print_canvas.tcl [download] added by emiliano on 2025-05-06 21:10:53. [details]
