Check-in [d76cdf291b]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Add TIP #507 (Include simple svg support with nanosvg) from René Zaumseil
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d76cdf291bb6490beff60ae957d3c90bdd26cfadcc2a4d1a094b5e9a6c7a04d5
User & Date: fvogel 2018-05-13 16:17:56
Context
2018-05-13
18:36
Added TIP #508: New subcommand [array default] check-in: bff18ba5f1 user: fbonnet tags: trunk
16:17
Add TIP #507 (Include simple svg support with nanosvg) from René Zaumseil check-in: d76cdf291b user: fvogel tags: trunk
2018-05-03
15:47
Add branch-name for ongoing TIP #497 implementation. Other typo. check-in: 981d899cc3 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to index.json.

cannot compute difference between binary files

Changes to index.md.

    87     87   <th>#</th>
    88     88   <th>Type</th>
    89     89   <th>Tcl Version</th>
    90     90   <th>Status</th>
    91     91   <th>Title</th>
    92     92   </tr></thead><tbody>
    93     93   
           94  +<tr class='project projectdraft projectdraft87 project87'>
           95  +<td valign='top'><a href='./tip/507.md'>507</a></td>
           96  +<td valign='top'>Project</td>
           97  +<td valign='top'>8.7</td>
           98  +<td valign='top'>Draft</td>
           99  +<td valign='top'># TIP 507: Include simple svg support with nanosvg</td>
          100  +</tr>
    94    101   <tr class='project projectdraft projectdraft90 project90'>
    95    102   <td valign='top'><a href='./tip/506.md'>506</a></td>
    96    103   <td valign='top'>Project</td>
    97    104   <td valign='top'>9.0</td>
    98    105   <td valign='top'>Draft</td>
    99    106   <td valign='top'># TIP 506: Purge RefCount Macros</td>
   100    107   </tr>

Added tip/507.md.

            1  +# TIP 507: Include simple svg support with nanosvg
            2  +	Author:         René Zaumseil <[email protected]>
            3  +	State:          Draft
            4  +	Type:           Project
            5  +	Vote:           
            6  +	Created:        9-May-2018
            7  +	Post-History:   
            8  +	Keywords:       Tk
            9  +	Tcl-Version:    8.7
           10  +-----
           11  +
           12  +# Abstract
           13  +
           14  +Tk needs scalable images on high res mobile devices.
           15  +
           16  +# Rationale
           17  +
           18  +Tk is running on desktop and mobile devices. The out of the box image formats
           19  +do not scale and are to tiny on high res mobile devices.
           20  +The same goes for the image formats provided by the img extension.
           21  +
           22  +There is already an tk image extension at https://github.com/auriocus/tksvg
           23  +The implementation is using nanosvg. It has no other external dependencies
           24  +and is only 2 header files.
           25  +
           26  +The original nanosvg project is hosted at https://github.com/memononen/nanosvg
           27  +
           28  +# Specification
           29  +
           30  +The already existing tksvg extension will be adapted and included in Tk.
           31  +A new image format will be created. The name is **svgnano**.
           32  +
           33  +# Discussion
           34  +
           35  +- nanosvg is no full svg library
           36  +- the name of the image format should mention this (p.e. **nanosvg** or
           37  +**svgnano**)
           38  +- are there better libraries with our requirements (C only, license)?
           39  +
           40  +# Implementation
           41  +
           42  +A patch implementing these changes will be available in the fossil repository in the [tip-507 branch]
           43  +(https://core.tcl.tk/tk/timeline?r=tip-507).
           44  +
           45  +Documentation updates not yet done.
           46  +
           47  +# Alternatives
           48  +
           49  +- using another library with full svg support
           50  +
           51  +# Copyright
           52  +
           53  +This document has been placed in the public domain.