Commit Graph

11 Commits

Author SHA1 Message Date
Albrecht Schlosser c5f4934995 Update bundled nanosvg library to current upstream version
... with FLTK modifications (see README.bundled-libs.txt).

This fixes an issue where some svg images could not be loaded.

Upstream: https://github.com/memononen/nanosvg/

commit 9da543e8329fdd81b64eb48742d8ccb09377aed1 (upstream/master)
Merge: c886e50 0ce2e2b
Author: Mikko Mononen <memononen@gmail.com>
Date:   Sun Dec 4 17:46:22 2022 +0200

    Merge pull request #236 from sezero/signed-char

    change struct NSVGpaint:type to signed char
2022-12-22 01:13:45 +01:00
Albrecht Schlosser d9d3406be8 Upgrade the bundled nanosvg library to current version
For details see README.bundled-libs.txt.
2022-07-09 14:37:46 +02:00
Albrecht Schlosser a774e120bc Update nanosvg library to latest upstream version
commit ccdb1995134d340a93fb20e3a3d323ccb3838dd0
Merge: 3cdd4a9 419782d
Author: Mikko Mononen <memononen@gmail.com>
Date:   Fri Sep 3 21:24:42 2021 +0300

    Merge pull request #198 from ctrlcctrlv/CVE_2019_1000032

    Fix decimal values in color fields (nsvg__parseColorRGB, nsvg__parseColorHex)
2021-09-13 19:31:27 +02:00
Albrecht Schlosser 9f84fd05e8 Update bundled nanosvg library to latest version
For details see:

- README.bundled-libs.txt
- nanosvg/README.txt
2021-02-22 14:37:26 +01:00
Albrecht Schlosser 2eb72175ba Update nanosvg library to current upstream version
See README.bundled-libs.txt
2019-05-23 14:23:09 +02:00
Matthias Melcher c97990e517 Removed all shadow lint in header files (STR #2714). 2019-02-02 22:29:53 +01:00
Albrecht Schlosser 716a5067a9 Update nanosvg library to current upstream version
See README.bundled-libs.txt
2019-01-31 19:06:06 +01:00
Albrecht Schlosser 0ecb83b298 Update bundled nanosvg lib to latest upstream version.
$ git log -2 master
commit 06c1f0f3bb041d69a73bb74067d063a700215b0e
Merge: 1f17a7e d6eabf2
Author: Mikko Mononen <memononen@gmail.com>
Date:   Sat Apr 14 06:50:42 2018 +0300

    Merge pull request #116 from porglezomp-misc/master
    
    Parse <svg> percentage width for automatic sizing

commit d6eabf29c9c10038924e823e693dddef281abee5
Author: Caleb Jones <code@calebjones.net>
Date:   Fri Apr 13 19:57:06 2018 -0400

    Parse <svg> percentage width for automatic sizing
    
    Instead of calculating percentage coordinates relative to 1px, we calculate them
    relative to 0px width, that way an explicit <svg width="100%"> will be converted
    to <svg width="0px"> and trigger the bounding-box sizing calculation.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-01 10:45:47 +00:00
Albrecht Schlosser 4ebaee0f40 Reorganize nanosvg bundled library.
Rename altsvgrast.h to its original name nanosvg.h and use a new
GitHub fork of nanosvg to maintain FLTK specific patches.

https://github.com/fltk/nanosvg

The diff files (altsvgrast.diff and nanosvg.diff) are no longer necessary
and have been removed. For more information see README.bundled-libs.txt.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-04 21:39:50 +00:00
Manolo Gouy a0e7cbfa57 Fix nanosvg implementation of nsvg__atof() to allow compilation with Visual Studio 7.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-09 15:47:04 +00:00
Manolo Gouy 1a28d85dc3 Add new Fl_SVG_Image class to support scalable vector graphics images using the (modified) nanosvg software.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-03 13:14:25 +00:00