[Bug 168164] Re: font sizes specified in pixels instead of points

2018-08-23 Thread Paulo Gabriel
Suggestion: make the font unit selectable. No matter if it will or will not be defined form the default document unit, the important thing is to make it modifiable. You can even set "pt" as default and there is no problem. It's just interesting to provide a select box on page settings that allows

[Bug 168164] Re: font sizes specified in pixels instead of points

2015-09-30 Thread Jasper Frumau
If I use pixels as default unit and dimensions in pixels why can't the font size be in pixels too? Why is there not an option to choose the font unit? Initially I thought I had the font in pixels which in needed for my webdesign template but when I checked the source code using the XML editor I rea

[Bug 168164] Re: font sizes specified in pixels instead of points

2015-04-28 Thread Alex Valavanis
** Changed in: inkscape (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manage notifi

[Bug 168164] Re: font sizes specified in pixels instead of points

2015-01-31 Thread Alex Valavanis
** Changed in: inkscape Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manage notificat

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-12-21 Thread Alex Valavanis
** Tags removed: patch ** Tags added: patch-accepted-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manage notifications ab

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-10-03 Thread John Smith
Thanks for finding that insaner ! Committed to trunk as r11733. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manage notifications

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-10-03 Thread insaner
was not able to compile on fedora 14 with $ rpm -q gtkmm24 gtkmm24-2.22.0-1.fc14.i686 (14:28:35) insaner: $ rpm -q gtk2 gtk2-2.22.0-1.fc14.1.i686 it was throwing a CXXwidgets/font-selector.o widgets/font-selector.cpp: In function ‘void sp_font_selector_set_sizes(SPFontSelector*)’: wi

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-09-18 Thread dopelover
I've noticed a strange behaviour. Rounding units works in a weird way in some text areas. 1) draw flow text area 2) fill it with standard "Lorem Ipsum" (Extension>Text>Lorem Ipsum...) 3) select created text and change font size 4) observe the font size values in a input area (text toolbar or Text

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-09-18 Thread John Smith
Commit r11675 : * fix the precision issue (comment #52) * show font size to precision in user preference Input/Output->SVG Output->Numeric precision. @David, thanks for spotting that, should be fixed now, let me know if you see any other bad cases. BTW Fix is to use Inkscape::CSSOStringStream w

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-09-14 Thread David Mathog
There are some rounding errors in the font size display in r11664. Open the attached example file. 18.2pt is 22.75 px in the XML editor, but 18.1999 (plus or minus a few 9's) in the display. The fix would be for the bit of code that is displaying the point size, wherever that is, to do this:

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-24 Thread John Smith
Committed r11621 - "always output in px" is now on by default. >Issue: With current trunk I can consistently reproduce an issue where if I >create text (the default of "sans-serif" is used), if I still have a blinking >cursor in the text box, clicking on the fontface dropdown arrow shows it for

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-21 Thread ScislaC
1) Yes it appears so as it's what users expect, even though the default unit people are dealing with should change to PT in the gui. 2) I think it's a power-user feature that would be appreciated by a decent size portion of our community, as long as it works everywhere and is defaulted to our old

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-20 Thread John Smith
Further commit to trunk r11616 * Add an option to "always output in px" (default is off) * Size of preview text in Font dialog should (better) match the canvas at 100% (previously we used px instead of pt) So the current state is : a) Inkscape uses px and 72dpi for all text transforms/calculati

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-20 Thread Guillermo Espertino (Gez)
I love having pt as units because my work is mostly for print, and it was a real pain to calculate the type size from pixels for every text object, every time. However I found that when I add a viewBox to documents stored with current trunk with pt as units, the size of SVG text is wrong when vi

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-20 Thread David Mathog
Font size in the GUI should be displayed in whichever units the user wants, with the default being points and not pixels, as that is what 99% of all drawing programs use. However, there is no reason that the internal font size cannot remain in px. It only takes a tiny bit of GUI related code to c

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-20 Thread Jaspervdg
This isn't entirely correct: " which requires that everything in the actual drawing content is based on SVG user units (px) only.", but ~suv is correct that the problem lies with the fact that Inkscape simply assumes 90dpi without fixing a viewBox and width/height. I also ran into this recently whe

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-18 Thread ~suv
> Should we encourage users to not use these standard SVG units > because some "other" programs don't render those units correctly Some "other" SVG renderers (i.e. all tested web browsers as well as Inkscape's reference SVG implementation batik) being incorrect is not the underlying issue AFAIU:

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-18 Thread John Smith
With this change it has become "optional", users can finally choose their preferred SVG units with the default as "industry" standard points for text. This is really the opposite of the previous situation of px only "hard coding". > it might make sense to make it optional, and default to using th

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-18 Thread ScislaC
Less about benefits of mixing units, more about allowing writing to specification. I'm thinking more of web folk that will use "em" when we better support external CSS and such. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://b

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-18 Thread ~suv
> (…) and allows power users to hit grand slams (when they choose)... What exactly is the benefit of hardcoding (and thus mixing) relative and (seemingly) absolute units in the same document? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-17 Thread ScislaC
John: Any thoughts on this preference? It allows things to work "as expected" and allows power users to hit grand slams (when they choose)... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-17 Thread ~suv
ScislaC wrote: > ~suv: complimentary preference to write hardcoded units, just defaulted to > off? I can't claim to be an SVG expert myself, and do hope that others with more insight and experience with SVG will chime in: the issue with units (SVG user units 'px' vs real (absolute) units) and the

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-16 Thread ScislaC
~suv: complimentary preference to write hardcoded units, just defaulted to off? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manag

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-16 Thread ~suv
> Inkscape welcome to the world on text points ! A. Hard-coding the units (r11608) in the style attribute of text objects potentially does cause trouble if the SVG file is rendered by other viewers (e.g. web browsers). Text with units other than 'px' apparently may scale differently than the rest

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-16 Thread Kris
** Changed in: inkscape Milestone: None => 0.49 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manage notifications about this b

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-16 Thread John Smith
Inkscape welcome to the world on text points ! Commited to trunk as r11608. Points is now the default unit for fonts. Can select other units from Preferences->Tools->Text ** Changed in: inkscape Status: In Progress => Fix Committed -- You received this bug notification because you are a

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-14 Thread ScislaC
I say commit it... I've randomly hit issues in a few sessions randomly with the UI becoming unresponsive in the text tool, but I can't reproduce or narrow down... it could be libs in ubuntu quantal or an actual issue which would benefit from wider testing on more platforms. -- You received this b

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-14 Thread John Smith
Fix for bug #1036010 is now committed. Let me know if there are any other issues, otherwise lets look to close this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-14 Thread John Smith
OK I can reproduce Issue 4 now. It happens when the font size is stored as em in the doc and its due to bug #1036010. If you check the text in the XML Editor, the font-size:3.3em will change to font-size:m; when changing font faces. Basically a std library function is interpreting this 3.3em

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-14 Thread ScislaC
re: Issue 3: I am no longer seeing this issue... if I hit it again I will try to find steps to reproduce. re: Issue 4: It's in the toolbar. In my preferences file, my default string is `style="fill:black;fill-opacity:1;stroke:none;font-family :sans-serif;font-style:normal;font-weight:normal;font-s

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-14 Thread John Smith
@ScislaC, thanks for testing ... > Issue 1: Should be fixed in this patch. >> Issue 3: One-way sync issue with T&F dialog. If you change the font size in >> the text toolbar it does not update in the dialog (changing the font face >> does, that's why I bring it up). I couldn't reproduce this. E

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-13 Thread ScislaC
Super exciting stuff! As for the issue of Inkscape assuming font sizes, I think we need to assume it's px unless the font size explicitly includes a unit type. Issue 1: When using "em", the preview size in the Text & Font dialog looks like it's still using px to calculate it. (probably related to

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-12 Thread John Smith
Patch with these improvements: * Fixed arrow tooltip * Points is the default font unit. Do we also assume svg like "font-size;10" is also 10pt ? Currently it is assumed 10px. * Changed the default drop-down list of font sizes to be relative to the preferred unit * Added em unit preference. Some

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-09 Thread ScislaC
Tested. Issue: If unit is changed to Point for example, tooltip on numeric field correctly says pt... but the tooltip for "arrow button" next to it says px. Suggestion: I would actually vote to make points the default unit (it's what people are accustomed to in pretty much all other software they

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-09 Thread Ubuntu Foundation's Bug Bot
The attachment "168164.v1.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' fro

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-09 Thread John Smith
Here is a patch that allows the user to set their preferred font size unit in the User preferences (Tools->Text->Text size unit) from px, pt, pc, mm, cm and in. The text toolbar and text dialog will then show the font sizes in the users preferred unit with the tooltip showing the unit. When text

[Bug 168164] Re: font sizes specified in pixels instead of points

2012-08-09 Thread John Smith
** Changed in: inkscape Assignee: (unassigned) => John Smith (john-smithi) ** Changed in: inkscape Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Titl

[Bug 168164] Re: font sizes specified in pixels instead of points

2011-11-24 Thread Paul d'Aoust
Amen! And a slice of bread too. A few more reflections: After using Inkscape for mocking up a lot of website designs in the past year, I can see the benefit of being able to choose your text size units through a listbox -- perhaps at document- level, through Document Properties, although maybe to

[Bug 168164] Re: font sizes specified in pixels instead of points

2011-11-23 Thread dcbevins
Points and Pica's are bread and butter. Pass the butter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points To manage notifications about

[Bug 168164] Re: font sizes specified in pixels instead of points

2011-03-10 Thread Carnë Draug
This bug is still present on inkscape version 0.48 In my case made a template for the department, half of the people were using Inkscape (like me) while the other half used Illustrator. Big big mess in the end because of such a small thing. Please fix it. Thanks -- You received this bug notific

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-12-28 Thread Pablo Trabajos
** Tags added: units -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://l

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-12-27 Thread frederik.nnaji
anybody so far? Inkscape is a vital tool for making Elements of the Graphical User Interface of Free Software. It would be nice if an Inkscape dev could say something here, a statement at least.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-10-31 Thread Guillermo Espertino (Gez)
As was stated above by Tom Davidson, there's a couple of ways to convert between inkscape pixels and points. And both are tedious :-p You can manually change the size of every type object using the XML editor, or use a factor of 1.25 to convert the desired point size into pixels. Inkscape uses a

Re: [Bug 168164] Re: font sizes specified in pixels instead of points

2010-10-31 Thread Guillermo Espertino (Gez)
Inkscape uses a resolution of 90dpi for the "real-size" representation. So, if you create a 90x90px square it will be 1x1 inches in "real" units. A typographic point is 1/72 of an inch, which is equal to a resolution of 72 dpi. 90/72=1.25. So 1.25 is the factor you can use to translate between inks

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-10-31 Thread eyerouge
I'm a dev. from WTactics.org and we love to use Inkscape for plenty of our stuff. This issue is indeed a bug: While not a technical one and in the words true meaning, it's a human one beyond all logic. It shouldn't be on a "wishlist" - it's like lacking mouse or fill support in Inkscape and puttin

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-10-04 Thread Kjohrf
OK. I'll give $20 to whoever fixes this in 0.49 Is there a way to do that? If so, who else can give? -- font sizes specified in pixels instead of points https://bugs.launchpad.net/bugs/168164 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-10-02 Thread Alex Valavanis
** Changed in: inkscape (Ubuntu) Importance: Undecided => Wishlist ** Changed in: inkscape Status: Confirmed => Triaged ** Changed in: inkscape (Ubuntu) Status: Confirmed => Triaged -- font sizes specified in pixels instead of points https://bugs.launchpad.net/bugs/168164 You r

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-09-18 Thread Dennis
Please let me point out the following: AFAIK, the px/user unit is a relative unit, which is negotiated when displaying the svg. But when working for some preprint etc stuff, absolute units are necessary. So you choose your e.g. 12pt font size to fit into a box of 2cm height. I think, as there is a

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-09-07 Thread vwanweb
This would be a great fix, the pt. measurement is to text as x/y coordinates is to svg. Using px as a unit of measure for text just throws text into the wind when it comes to "print media". Once a user runs head first into this problem, there is no readily available information on how to convert

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-09-07 Thread firebird
I second Kjohrf & Paul's latest comments re: escalating this if possible. Thanks! -- font sizes specified in pixels instead of points https://bugs.launchpad.net/bugs/168164 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-09-06 Thread Paul d'Aoust
Nominated for 0.49. Devs, is it possible to elevate this to a higher priority? When I filed this bug, I initially marked it as 'Wishlist' because I didn't want it to be a pest, but after reflecting on everyone's opinions (and my experience since then), this is a fairly critical issue for anyone who

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-09-06 Thread Kjohrf
Looks like it did not make it into 0.48. Another vote for this being a crucial fix to Inkscape. -- font sizes specified in pixels instead of points https://bugs.launchpad.net/bugs/168164 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-08-23 Thread ASteppke
Is there any progress on this bug for the 0.48 release? It has been reported several times in the last four years, confirmed and nominated. It is very user unfriendly (manually edit the size in the file) and differs from basically every other graphics or layout software that is out there (Adobe, C

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-03-29 Thread Paul d'Aoust
*big happy sigh* Thanks so much, Alex. I'm really looking forward to seeing this bug nailed! I even tried to look at the source code myself to see what I could do, but it didn't take long to realise that I have no clue how to code in C++. I should just stick to what I know -- i.e., graphic design a

[Bug 168164] Re: font sizes specified in pixels instead of points

2010-03-28 Thread Alex Valavanis
** Also affects: inkscape (Ubuntu) Importance: Undecided Status: New ** Changed in: inkscape (Ubuntu) Status: New => Confirmed -- font sizes specified in pixels instead of points https://bugs.launchpad.net/bugs/168164 You received this bug notification because you are a member o