| Ticket UUID: | b43dbc00617608043ab799a0fab02dd4b7e1b652 | |||
| Title: | nanosvg upstream changes: #273, #275: add paint order parsing | |||
| Type: | Bug | Version: | main | |
| Submitter: | oehhar | Created on: | 2025-10-07 15:48:05 | |
| Subsystem: | 41. Photo Images | Assigned To: | oehhar | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2025-10-09 13:01:50 | |
| Resolution: | Fixed | Closed By: | oehhar | |
| Closed on: | 2025-10-09 13:01:50 | |||
| Description: |
Implement the following upstram pull requests from nanosvg to image photo svg driver:
| |||
| User Comments: |
oehhar added on 2025-10-09 13:01:50:
Ok, great. THanks, Harald nab added on 2025-10-09 11:16:45: false alarm... absolutely no complain when compiling trunk on Linux ARM64 with Clang ++ oehhar added on 2025-10-08 15:10:38: Yes, of cause. The original ticket has discussed that: https://github.com/memononen/nanosvg/pull/275 and thought, that isnan is better in performance if supported. You may provide an #ifdef solution for your case and we may propose this also for the upstream project. I also needed the following for older MS-VC 6-10 compilers https://github.com/tcltk-depot/tksvg/commit/5d3f4951afc0636df026e5dfa1b4e564d10e7203: /* for MS-VC6-10, define isnan */ #if defined(_MSC_VER) && _MSC_VER <= 1600 #define isnan(a) _isnan(a) #endif Thanks and take care, Harald nab added on 2025-10-08 14:58:05: Hi, I'm using Clang to compile Tk everywhere (macOS, Windows, Linux) in Linux ARM64, I remember that there is a problem with isNan() is there's any way to diverge from nanoSvg trunk and do not use isNan()? best regards, nicolas oehhar added on 2025-10-08 13:00:28: merged oehhar added on 2025-10-07 17:02:25: Merge proposed to tk branches main, core-9-0-branch and to tknanosvg package. oehhar added on 2025-10-07 16:58:58: Changes in branch [b43dbc00-nanosvg-pull-273-275] with commits:
Will merge if CI is ok. Please add a note, if any issues. Thanks, Harald | |||