Page 1 of 1
Iconeditor
Posted: Thu Mar 02, 2023 6:31 pm
by MrSpock
Hello,
Please extend the icon editor to 32 pixels in version 9.1.0 and allow transparency.
Re: Iconeditor
Posted: Fri Mar 17, 2023 6:34 pm
by MrSpock
Pushed!
When I select large buttons, I also want to have corresponding icons.
Up to version 8.xx this was also possible.
Re: Iconeditor
Posted: Tue Mar 21, 2023 3:30 pm
by bbadmin
TextPad 9's toolbar buttons are created from SVG images so we'll enable custom images to be imported from SVG files in the next release. These can be created using 3rd party tools such as Inkscape.
Re: Iconeditor
Posted: Sun Apr 02, 2023 10:03 am
by bbadmin
SVG images can now be used in TextPad 9.2.
Re: Iconeditor
Posted: Sun Apr 02, 2023 4:34 pm
by MrSpock
And how?
If I use Preferences ยป View it is impossible to use an own icon.
Re: Iconeditor
Posted: Sun Apr 02, 2023 5:54 pm
by bbadmin
The installer should have created a file called CustomIcons.svg in folder %APPDATA%\Helios\TextPad\9. To workaround that, create the file yourself containing these lines:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><svg width="32" height="32">
<svg id="blank" width="32" height="32" version="1.1" viewBox="0 0 32 32" x="0" y="0" xmlns="http://www.w3.org/2000/svg">
<rect width="32" height="32" style="stroke:black;fill:none" />
</svg></svg>
Will look into the reason this was not created automatically.
Re: Iconeditor
Posted: Mon Apr 03, 2023 5:42 pm
by MrSpock
OK, a second install and the file will be created.
Now it is possible to import a svg-file but is nothing to see. The imported svg-file shows an arrow but it is white (see attachment).
In the explorer-preview appears "Some items have been blocked so that the sender cannot identify your computer."
Re: Iconeditor
Posted: Mon Apr 03, 2023 7:30 pm
by bbadmin
I don't understand the "sender cannot identify your computer" issue.
Here's a SVG you can try. It draws a red down arrow.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<svg width="32" height="32" version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<polygon transform="matrix(1.6 0 0 1.6 .026 0)"
points="11 0 9 0 9 16.172 2.929 10.101 1.515 11.515 10 20 10.707 19.293 18.485 11.515 17.071 10.101 11 16.172" fill="#ff0000"/>
</svg>
Re: Iconeditor
Posted: Tue Apr 04, 2023 4:34 pm
by MrSpock
Good, the example works. But a *.png which was "converted" with Inkscape into a *.svg does not work.
In my opinion it was not a good decision to use *.svg. After all I have read about it, there is hardly a format that is less regulated than for example *.png.
Please show me how to convert the attachment into a textpad compliant icon.
Re: Iconeditor
Posted: Tue Apr 04, 2023 5:53 pm
by bbadmin
It doesn't really make sense to convert a raster image to SVG, even if it's possible. All Inkscape does is to embed the PNG data with a special tag which TextPad does not recognise. It supports 16x16 bitmaps for backwards compatibility, but now uses SVG so that the icons scale well for high resolution displays. I'll forward an enhancement request for handling embedded PNG data.