Bug 312739 - Not possible to choose "Px" as length unit (though official SVG unit)
Summary: Not possible to choose "Px" as length unit (though official SVG unit)
Status: CONFIRMED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: 2.5.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on: 312690
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-06 11:41 UTC by Friedrich W. H. Kossebau
Modified: 2020-05-13 21:23 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich W. H. Kossebau 2013-01-06 11:41:36 UTC
+++ This bug was initially created as a clone of Bug #312690 +++

It seems to me that Karbon is designed to handle primarily page description documents, hence the page size is set in the Page Layout dialogue box.  When applied to SVG, however, this looks weird, as SVG images appear in all possible sizes and ratios in the wild (and they may contain interactive content which is not designed for printing at all).

At least SVG 1.1 also supports "px" as length unit, cmp. "The supported length unit identifiers are: em, ex, px, pt, pc, cm, mm, in, and percentages." from http://www.w3.org/TR/SVG/coords.html

So it seems only valid that Karbon also offers px as a length unit as well.

Reproducible: Always

Steps to Reproduce:
  1. Tell Karbon to use pixels for measurement.
Actual Results:  
  1. Oops, no way.

Expected Results:  
  Can do it.
Comment 1 animtim 2013-02-26 15:03:30 UTC
+1!
Adding pixel unit in every size entries is really needed (for document size, outline size, ...).
Comment 2 gomesrod 2015-01-22 00:12:13 UTC
I was looking for a tool to get started with vetorial graphics creation. Karbon was at first sight the best choice for me, given its simplicity. But the lack of the PX measurement unit made me give up, and start using another tool. As a web developer, I think this feature is essential !
Comment 3 Anthony Fieroni 2020-04-30 05:02:31 UTC
https://phabricator.kde.org/D15111
It's added some time ago, still does not have many reasons to accept it. If some can test and validate that's usable.
Comment 4 Noah Davis 2020-05-13 21:23:07 UTC
(In reply to Anthony Fieroni from comment #3)
> https://phabricator.kde.org/D15111
> It's added some time ago, still does not have many reasons to accept it. If
> some can test and validate that's usable.

Pixel units are required for icon design. Karbon is nearly unusable for icon design at the moment.

Unfortunately, the patch fails to apply when I run `arc patch D15111`.