[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
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 the font unit change to/from "pt" and "px". Everybody will be happy, both when designing for print or for web. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: Fix Released Status in inkscape package in Ubuntu: Fix Released Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
** Tags removed: patch ** Tags added: patch-accepted-upstream -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Committed Status in “inkscape” package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
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 which takes care of rounding and truncating zeros. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Committed Status in “inkscape” package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
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 and Font dialog) For example when I set font size to 26,25pt I get 25,84pt. This issue affects inkscape r11595 on Windows XP. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Committed Status in “inkscape” package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
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*)’: widgets/font-selector.cpp:352:67: error: cannot convert ‘double’ to ‘const gchar*’ for argument ‘2’ to ‘void gtk_combo_box_append_text(GtkComboBox*, const gchar*)’ make[3]: *** [widgets/font-selector.o] Error 1 so i went to that line stared for a while.. tried a few things, and this seems to have fixed it: change line 352 in widgets/font-selector.cpp from -- #if GTK_CHECK_VERSION(2, 24,0) gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT(fsel->size), Glib::ustring::format(size).c_str()); #else gtk_combo_box_append_text (GTK_COMBO_BOX(fsel->size), size); #endif } --- to --- #if GTK_CHECK_VERSION(2, 24,0) gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT(fsel->size), Glib::ustring::format(size).c_str()); #else gtk_combo_box_append_text (GTK_COMBO_BOX(fsel->size), Glib::ustring::format(size).c_str()); #endif } --- ie, replace "size" with "Glib::ustring::format(size).c_str()" hope that helps -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Committed Status in “inkscape” package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
Thanks for finding that insaner ! Committed to trunk as r11733. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Committed Status in “inkscape” package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
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: font_size = round (1000.0 * font_size)/1000.0; Or 1. It loses a bit of precision, but are there any applications that need 1/1th of a px font size precision? In any case 18.1 -> 18.200 and would then display as 18.2. ** Attachment added: "point_size.svg" https://bugs.launchpad.net/inkscape/+bug/168164/+attachment/3315200/+files/point_size.svg -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Committed Status in “inkscape” package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
** Changed in: inkscape Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: A Vector Drawing Tool: Fix Released Status in inkscape package in Ubuntu: Triaged Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
** Changed in: inkscape (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: Vector Graphics Editor: Fix Released Status in inkscape package in Ubuntu: Fix Released Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 168164] Re: font sizes specified in pixels instead of points
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 realized it was in points and was just converted. Later on I found this thread and realized that after a long debate the font unit was made in pt. Why can't we choose to make both print people and web people like me happy? An option in the document setting perhaps would work. This way all can be displayed in pixels when need be, not just the document size or units, but also the text. And if print people want pt they could have that too. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to inkscape in Ubuntu. https://bugs.launchpad.net/bugs/168164 Title: font sizes specified in pixels instead of points Status in Inkscape: Fix Released Status in inkscape package in Ubuntu: Fix Released Bug description: I've been using Inkscape for work as my only vector editor for the past year or so, and while it's extremely capable, there is one coding choice which I find completely bewildering: Why is font size specified in pixels instead of points? This seems to be used in both listboxes and the actual raw SVG. For the longest time I could not figure out why my text always looked so small. I don't think pixels are a useful measurement for text, as points are the de facto standard. Using inkscape 0.44.1 autopackage.org build on Ubuntu Linux 6.06. To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/168164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp