Re: [Inkscape-devel] [Inkscape-user] the Scale setting and Display units
by Tyler Durden
Greetings all,
A universal default.svg with units px and scale=1 provides a simple single
solution to a number of issues:
- Resolves broken extensions and features like symbols and outset/inset,
etc.
- No need for users to consider scale, they just set the display units and
work.
- No need to tailor localizations with in/96, mm/3.77953.
- Fewer bug reports for scale and localization issues.
- Neophytes are less likely to abandon Inkscape as confusing or complicated.
That's a lot of benefit, for what could be relatively little effort.
Like with any graphics or CAD application, users should be familiar with
setting document units when starting to work. This is the most basic of
best-practices.
Even making a template is not difficult, but a button/tool to save the
current document as a template would be very handy.
Regards,
TD
5 years, 8 months
Re: [Inkscape-devel] [Inkscape-user] the Scale setting and Display units
by brynn
Oh, I didn't know about these templates!
However, I think it's better for users to know how to use the interface, rather
than use a template which only sets up the units, and not the page size (unless
you happen to want an A4 page).
I'm not clear what you mean by this:
> The one thing you cannot do, however, is modify the document units after
Inkscape has opened the startup file.
If you know how to change the units (as I've just learned how to do it
correctly) can't they be changed? Or do you mean that the user would have to
save a new template if they change the units?
I'm just writing the new FAQ item right now, so I'll include this info about the
templates too. But need to understand that last statement (above).
Thanks Alvin :-)
-----Original Message-----
From: alvinpenner
Sent: Wednesday, September 20, 2017 6:29 AM
To: inkscape-user(a)lists.sourceforge.net
Subject: Re: [Inkscape-user] the Scale setting and Display units
It may be worth mentioning that you can choose the document units that you
prefer when you start up Inkscape. If you use the startup template file
C:\Program Files (x86)\Inkscape\share\templates\default.svg (which is the
default), then you will find that the document units are mm. You can confirm
this by drawing a rectangle that has the width of the full page and then
using the XML editor to confirm that the width has been expressed in mm. A
typical example would be
<rect
style="..."
id="rect10"
width="210.91072" (should be 210, my hand was shaky)
height="88.446426"
x="0"
y="0.66666663" />
If you prefer to use px as the document units, then use the template file
C:\Program Files (x86)\Inkscape\share\templates\default_px.svg. In this case
if you draw a rectangle that has the full width of an A4 page you will get:
<rect
style="..."
id="rect18"
width="797.14288" (should be 793.7007, which is 210mm expressed in
px)
height="357.14285"
x="0"
y="2.519685" />
If you prefer to use pt as document units, then use the template file
default_pt.svg
If you want to permanently modify the startup units, then copy a file like
default_pt.svg to overwrite the file default.svg. (after first making a
backup, just in case.)
The one thing you cannot do, however, is modify the document units after
Inkscape has opened the startup file.
hth,
Alvin
--
Sent from: http://inkscape.13.x6.nabble.com/Inkscape-User-f2857977.html
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-user mailing list
Inkscape-user(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
5 years, 8 months
Re: [Inkscape-devel] [Inkscape-user] the Scale setting and Display units
by brynn
Oh, well if that's the only reason, I would suggest going back to px for the
native user units! It looks to this non-tech-oriented user like using mm for
the native units is making these things much more complicated (not to mention
confusing) than they really need to be.
Is there any reason why I can't make a feature request in LP, to revert to px?
Like is there some other reason for the change, or we're already planning to
revert, or ??? I know it might or might not happen. But really, just to make
the default doc match one single template -- this really is imposing a great
deal of confusion for many users!
Thanks again for taking the time to explain all this!
brynn
-----Original Message-----
From: Marc Jeanmougin
Sent: Wednesday, September 20, 2017 2:56 AM
To: inkscape-user(a)lists.sourceforge.net
Subject: Re: [Inkscape-user] the Scale setting and Display units
On 09/20/2017 05:22 AM, brynn wrote:
> 1 -- I would also like to see the display unit set for px by default.
> But as far as I understand, Inkscape is now recognizing mm as the
> default unit. I'm not sure why, but I wouldn't be surprised if it had
> something to do with SVG standards.
Nothing. I think it's because the default template is A4 so it sort of
made sense to use millimeters since A4 is defined as 210x297 mm²
--
Mc
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-user mailing list
Inkscape-user(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
5 years, 8 months
Re: [Inkscape-devel] Blur branch
by Yale Zhang
Vlada, good to hear from you again. It's very unfortunate I didn't do
more to get my vectorized blur code merged especially when it was 99%
done. It was reviewed and the main complaint was it didn't compile for
i686. That could've been done easily, but there was another problem I
realized which was how to handle vector remainders without reading
past the end of an array, which could cause a crash (but with low
probability).
Let me wrap this up over the next few weeks if my schedule permits.
Jabier, are you talking about my branch
https://code.launchpad.net/~simdgenius/inkscape/inkscape
or another one. There was a proposal a long time ago about
approximating blur as 3 sequential box filters. You can still do that,
but you would still need a version with higher accuracy for the best
rendering mode.
-Yale
On Mon, Sep 18, 2017 at 12:47 PM, Jabier Arraiza
<jabier.arraiza@...2893...> wrote:
> Hi Vlada.
>
> Thanks for the reply, Please could you upload the patches to gitlab to
> be sure the code not be lost? And maybe reviewed and applyed for a
> enought quelified dev.
>
> All the best, Jabier.
>
>
>
>
> On Mon, 2017-09-18 at 20:50 +0200, Vladimir Savic wrote:
>> Hi Jabier!
>>
>> Unfortunately, those patches got lost along the way. I still have
>> them somewhere on my computer, but I doubt it will apply to trunk
>> cleanly.
>>
>> Shame that no one from the core team gave it a chance. It was a major
>> improvement. I know that Yale (that is the name of developer, if I
>> recall correctly) continued working on even faster rendering -
>> something about multithreaded redrawing of canvas. On my intel i7
>> 6700 it was enormous improvement. I doubt that it will do anything
>> for people with one or two processor cores, though.
>>
>> Regards,
>> Vlada
>>
>>
>>
>> On Wed, Sep 13, 2017 at 10:26 PM, Jabier Arraiza <jabier.arraiza@...3065...
>> er.es> wrote:
>> > Hi all. I want to know the status of the blur branch, I think it
>> > introduce a great improvement but need to be tested well so the
>> > faster
>> > is landed in trunk the better.
>> >
>> > I don`t undertand his changes, also dont remember the branch
>> > location,
>> > recently cleanup my mailbox..., I remember Tav made some comments
>> > to it
>> > to be done.
>> >
>> > Cheers, Jabier.
>> > -----------------------------------------------------------------
>> > -------------
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > _______________________________________________
>> > Inkscape-devel mailing list
>> > Inkscape-devel(a)lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>> >
>>
>>
5 years, 8 months
Generic Auto Updater for Inkscape on Windows
by Victor Westmann
Hi everyone,
I was just wondering if this is interesting for Inkscape project on Windows
platform.
The website of the project is here: http://wingup.org
Text extracted from the homepage of GUP:
"WinGUp is a Generic Updater running under Windows environment.
The aim of WinGUp is to provide a ready to use and configurable updater
which downloads a update package then installs it.
By using cURL library and TinyXml module, GUP is capable to deal with http
protocol and process XML data.
Originally WinGUp was made for the need of Notepad++ (a generic source code
editor under MS Windows). During its conception, the idea came up in my
mind : if it can fit Notepad++, it can fit for any Windows program. So here
it is, with LGPL license to have no (almost not) restriction for
integration in any project.
Being LGPLed, WinGUp can be integrated in both commercial (or close source)
and open source project. So if you run a commercial or open a source
project under MS Windows and you release your program at regular intervals,
then you may need WinGUp to notice your users the new update."
I find it very convenient to be able to update notepad++ by clickinh on "?"
> "Update Notepad++".
I am aware that in Linux and MacOS environments updates are a more
automated task and usually happen in the shell or CLI side of things... but
I would just like to suggest this and collect the feedback on the
possibility of this feature.
Thanks everyone and have a great day!
--Victor Westmann
5 years, 8 months
Re: [Inkscape-devel] [Inkscape-user] the Scale setting and Display units
by brynn
Sorry for the delay. I think I'm getting it :-)
Now, more or less understanding "user units", I'm back at #3 of your first
reply. And here in the middle of that paragraph....I think....is the answer I
need.
> (temporarily set display unit to px, set scale
to 1, put display unit back to whatever you need),
So when someone needs to change the Display units, so that their drawing is as
close to real world size as possible, do this:
1 -- set the desired Page Size and units (this sets the viewBox, right?)
2 -- temporarily change Display units to px
3 -- change the Scale to 1
4 -- change the Display units to the desired unit
5 -- the Scale will automatically change to the appropriate value
6 -- leave everything else alone
If that's correct then
1 -- I'll make a new FAQ item for it (if no objections) - perhaps link to Marc's
article about it - or is there a wiki page for it?
2 -- I'm really thinking Inkscape needs to do all that internally. I think
users should be able to simply select the unit they want, the page size they
want, and Inkscape does the rest. May I make the bug/feature report, or is it
already planned or requested?
If that's not correct, please tell me where I'm going wrong.
Oh, one last question.
> If you only measure
your stuff with the display units (and do not use units in the code, it
should not matter (tools "should" take the scale into account, and if
some do not it's an bug
Do you mean to say that it's possible some tools are not respecting the Scale?
Or is that more of a theory.
Thanks again,
brynn
-----Original Message-----
From: Marc Jeanmougin
Sent: Friday, September 15, 2017 2:22 AM
To: inkscape-user(a)lists.sourceforge.net
Subject: Re: [Inkscape-user] the Scale setting and Display units
On 09/15/2017 10:00 AM, brynn wrote:
> What is a "user unit" and what do you mean by "outside coordinate
> system"? Please don't explain anything below that unless you can't
> explain "user unit" and "outside coordinate system" otherwise.
> Hopefully once I understand those 2 things, the rest will make sense.
> But I need to go one step at a time.
The "outside coordinate system" is just the length of things upon
displaying the file, assuming one respects the given "Size" of the document.
"Inside" the file, everything is measured with the "inside" coordinate
system. This system's unit is the abstract "user unit": your document
may have a rectangle measuring 2 user unit wide and 5 user units tall,
and you can tell (in the viewBox) that your complete document is the
area between the point of coord (0,0) and the point of coord (20,50), in
user units.
They're abstract units, like when you do basic geometry in mathematics,
without units; only meaning here that 2 user units wide is 10% of the
document's width and 5user unit tall is 10% of the document's height.
Only the additional data of the "Size" can tell you what the total
height is in the "outside world", hence what 10% of it (== my 5uu of
height) are worth.
Now, the units *inside* the file (like the "cm" in my post-scriptum) are
only shortcuts for given, fixed, multiples of the user unit (by
definition, "px" is the name of that user unit and "in" is the name
given to 96 user units), but if you do not set "1 user unit is one
outside-world-pixel", they're not worth what they seem.
--
Mc
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-user mailing list
Inkscape-user(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
5 years, 8 months
pressure sensitivity for Pencil tool using powerstroke?
by brynn
Hi Friends,
Someone has recently posted on a forum, asking for a tool which combines
pressure sensitivity of Calligraphy, freehand, powerstroke, and simplify, all in
one tool. I explained we have something pretty close to that with Pencil,
Triangle In/Out, with Simplify option.
But it made me start to wonder. The Calligraphy tool must have been
chosen for pressure sensitivity, at least in part because it can achieve
variable width. Well now that we have powerstroke, I wonder if it would it be
possible to give pressure sensitivity to the Pencil tool, using powerstroke?
Probably a wild thought. But can't hurt to ask. Just asking if that,
or something like it would be possible.
Thanks,
brynn
5 years, 8 months
Election Inkscape Board: Nominations
by unknown@example.com
Dear Inkscape Developer,
There is a new election underway to elect 2 new members to Inkscape Board,
you have 6 days (Sept. 23, 2017) to invite members of the community to stand for the election.
----
With Krzysztof Kosiński and Jon Cruz stepping down from the Inkscape board, it's time to elect two new replacements for our board. The board is the governing body for Inkscape in its non-profit home,
the Software Freedom Conservancy and looks after the project's financial and legal decisions in partnership with the conservancy.
----
You must be a member of the team on the website in order to vote or invite candidates to stand. You must make sure that your team membership status is settled before the vote opens in order for your ballot to be created in time.
Send invitation: http://www.inkscape.org/en/*board/elections/board-elections-2017/
5 years, 8 months
Deactivate scaling of imported bitmaps
by Lino Milkau
Hello,
I have an svg layer with certain width and height. When I import an image, I
want to be able to rotate it and mirror it, but I want the resizing function
disabled.
Is this possible to hard code this?
If so, how?
Kind Regards
Lino Milkau
5 years, 8 months