[Bug 165521] Re: font variants information ignored
Closing because INVALID: fixed in Inkscape 1.0rc1. Tested on Inkscape 1.0rc1 (09960d6, 2020-04-09), macOS 10.13.6 (17G12034). Original report: cannot corroborate as I do not have the Adobe fonts listed. Tested with other typeface families with more than four faces (e.g, Archivo, Chivo, etc.), all typeface families are displayed and utilized correctly by Inkscape. Comment #1: Inkscape displays and utilizes correctly all four typefaces in Times New Roman family (Regular, Italic, Bold, Bold Italic). Comment #15 et al: I can confirm Tavmjong Bah's findings in Comment #21 that Museo Sans Rounded 100 (installed only for testing purposes) does have its OS/2 Weight Class mistakenly set at 250. When the font is regenerated with the correect OS/2 weight class (100 Thin), it appears in the Inkscape font lists as "Thin", which corrisponds to my testing with pango-view (100=Thin, 300=Light, 500=Regular, 700=Semi-Bold, 900=Bold, 1000=Ultra-Bold). (Thanks to Patrick Storz) Comment #25: problem resolved. Inkscape displays and utilizes correctly the six typefaces in macOS's Futura.ttc (Medium, Medium Italic, Bold, Bold Italic, Condensed Medium, Condensed ExtraBold) If you feel this issue has been unjustly closed, please feel free to open a new issue at https://inkscape.org/report . Thank you. Closed by: https://gitlab.com/greytomorrow -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
** Tags added: bug-migration ** Changed in: inkscape Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
I have problem as well. Since it's been suggested that this is a Pango issue, I can offer two points of support for that: - It doesn't occur with Scribus, which isn't linked against Pango. Inkscape is (version 1.36.3 for me). - It has actually been reported as a bug there as early as 2002: https://bugzilla.gnome.org/show_bug.cgi?id=95043 https://bugzilla.gnome.org/show_bug.cgi?id=490609 That's not to say that Inkscape might not be able to work around it, but if any interested programmer is reading, maybe that library is a better place to start. Actually, I'd be willing to chip in for a bug bounty. Does someone know a good place to do that? One of the big projects, or bring it up on one of the Inkscape dev's Patreon sites? ** Bug watch added: GNOME Bug Tracker #95043 https://bugzilla.gnome.org/show_bug.cgi?id=95043 ** Bug watch added: GNOME Bug Tracker #490609 https://bugzilla.gnome.org/show_bug.cgi?id=490609 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
Ran into what seems to be this bug just now. I'm running 0.91 on OS X. I have four "Futura Std" styles installed: light, medium, heavy and bold. They all show up in Font Book and LibreOffice just fine. In Inkscape 0.91 only light, medium and bold are available. I also note that for the latter of the four the "Text and Font" menu shows "CSS: Bold, Face: Heavy", though I don't know if that means it is confusing the two. It is the bold variant I'm seeing. The fonts in question are: http://fontsgeek.com/fonts/Futura-Std-Bold http://fontsgeek.com/fonts/Futura-Std-Heavy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
Bug #1612945 (which also affects current Inkscape 0.92.1) seems to be related to this problem; resulting in incorrect font weight in SVG file that tries to use the affected font family. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
Well, this is embarassing. Looks like my email auto-reply posted here and I see no way to edit the post. Please just ignore it. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
Actually, it appears Pango is using the OS/2 weight (Fontforge: Element-Font Info...-OS/2-Misc-Weight Class). Here are the values: Museo Sans Rounded 100: 250 Museo Sans Rounded 300: 300 Light Museo Sans Rounded 500: 400 Book Museo Sans Rounded 700: 600 Demibold Museo Sans Rounded 900: 700 Bold Mueso Sans Rounded 1000: 900 Black 250 Is mapped to Light, preventing 300 from being added. Changing 250 to 200 allows Inkscape to see both. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 165521] Re: font variants information ignored
Ich bin bis zum 06.10. im Urlaub. Für dringende Fälle steht mein Kollege, Peter Szmidt pi...@pxlart.de, zur Verfügung. Andernfalls melde ich mich, wenn ich wieder da bin. Mit freundlichen Grüßen Joshua Trees -- PXLART Peter Szmidt Joshua Trees GbR Stolberger Straße 21 28205 Bremen Tel: +49 173 8134026 E-Mail: j...@pxlart.de WWW: http://pxlart.de/ PGP Key: https://pgp.mit.edu/pks/lookup?op=getsearch=0x302650B8BD85E7F1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
The designer face name is now shown in the Text and Font dialog along with the CSS face name (r13414). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
I have had another look at this bug. There are a log of issues. Looking at Museo Sans Rounded with FontForge and some print statements inside Inkscape one finds: Name PS Weight TTF Style Pango Pango Weight 100 Extra Light 100300 Light 300 Light300300 Light 500 Normal500400 Normal 700 Semi Bold 700600 Semi-Bold 900 Bold 900700 Bold 1000 Black 1000 900 Heavy Pango is using the PS Weight to determine the Pango/CSS weight. From looking at the Pango code, it seems that Extra Light should have a CSS value of 200. There appears to be a bug parsing the value in Pango. Inkscape keeps track of fonts using the Pango Font Description (PFD) which is based on CSS font properties. The duplication of weight 300 is the reason the Inkscape GUI shows only five weights when in fact their are six. This needs to be fixed in Pango. Pango does have a function that returns a unique style name suitable for displaying to users for each face in a font family. In the case of Museo Sans Rounded the values are the same as in the 'Name' column above. Unfortunately, this information is not easily accessible inside Inkscape. It will take some hacking to make it available in our GUI (the argument to the function is a 'face' which is a temporary object that exists only when building the font map). The long term solution has two parts. The first part is we should support CSS @font-face rules. With this, one can directly link a font resource (e.g. a font file) to a style. Then there is no guessing about which font face will be used. No substitution will be necessary. This will require a lot of work as it is not apparent (at least to me) on how to get Pango to support User fonts. The second part is to support the CSS Font Module Level 3 'font-variant' property. This allows choosing which glyphs to use out of a single font face. For example, instead of needing a separate font file for small-caps, the small-caps are in the same file as the regular glyphs. This is the current trend with font packaging and is the direction the HTML/CSS is heading. As a final comment. Firefox, at least on Linux, uses Pango as a backend. It has the same bug with Museo Sans Rounded as Inkscape (showing five weight variants rather than six). But this is better than Chrome and Opera, which only display two weights. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
We are limited by what Pango and CSS do. CSS does not define a weight of 1000. I don't see a weight of 1000 listed in the CSS3 Fonts Module working draft. If you think that this is important then you should send a comment to the CSS working group. There will be a public comment period and all comments must be responded to before the spec can be finalized, but it would be best to contact them earlier. See: http://www.w3.org/TR/css3-fonts/ Pango does include weight of 1000. As for the synthetic fonts (generated by Pango), I plan on turning those off. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
Re: Comment #17 As for the synthetic fonts (generated by Pango), I plan on turning those off. This will be very much appreciated! CSS does not define a weight of 1000. I'm unclear as to how this affects the issue I reported in comment #15. Regarding the font files I attached to that comment, I doubt that the font designer's choice of numeric style names, including the name 1000, directly relate to the numeric CSS font weights listed at http://www.w3.org/TR/css3-fonts/ . As the font was designed with six weights, and CSS defines nine weights, it seems to me that the font's six styles could be mapped to CSS weights. **However, within the Inkscape UI, the style names defined by the font's designer should be displayed, and not any other names of weights as defined in CSS or Pango.** To quote the CSS working draft: The CSS font selection mechanism merely provides a way to determine the “closest” substitute when substitution is necessary. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
I confirm JBR's issues -- I'm having exactly the same problem. This is somewhat of a showstopper, since playing with font-weights is a great resource in design. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
The Text and Font dialog is currently displaying incorrect Style information (v 0.48.2 r9819 on Arch Linux). The attached fonts, purchased from a professional font foundry, have the available styles 100, 300, 500, 700, 900, 1000. Instead, styles named Normal, Heavy, Light, Italic, Bold, Semi-Bold, and Bold Italic are listed. Thus, access to at least one of the styles is prevented by Inkscape. Furthermore, the italic variants are 'forced' and not intended by the font's designer. The appropriate fix would be to list the styles 100, 300, 500, 700, 900, 1000 as intended by the font's designer. Italicized variants should not be included in the Styles list so that the user understands that the font was not intended by the designer to be italicized. For comparison, the gtk/gnome application font-manager http://code.google.com/p/font-manager/ displays the appropriate styles, though it also incorrectly lists the unintended variants Italic and Bold Italic. ** Attachment added: ZIP containing fonts referred to in comment. https://bugs.launchpad.net/inkscape/+bug/165521/+attachment/2561875/+files/MuseoSansRoundedSet.zip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to a duplicate bug report (36876). https://bugs.launchpad.net/bugs/165521 Title: font variants information ignored To manage notifications about this bug go to: https://bugs.launchpad.net/inkscape/+bug/165521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
There have been several font weights added to be handled properly in Inkscape, as part of the refactored text tool: http://wiki.inkscape.org/wiki/index.php/Release_notes/0.48#Text_Tool Additional details: Some of the relevant commits by Tavmjong Bah are 9332 Added missing Pango Weights 9334 First step in fixing the changing of font faces (must also update toolbox.cpp). Expands use of pango_font_decription_better_match() 9340 Second step in fixing changing of font faces. 9348 Added/Fixed Pango font weights. 9365 Converted text toolbar to GTK toolbar. ... and some minor fixes in later revisions AFAICT. (copied from an earlier comment in related bug #362810). -- font variants information ignored https://bugs.launchpad.net/bugs/165521 You received this bug notification because you are a member of Ubuntu Bugs, which is a subscriber of a duplicate bug (36876). -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
** Tags added: fonts ** Tags removed: other -- font variants information ignored https://bugs.launchpad.net/bugs/165521 You received this bug notification because you are a member of Ubuntu Bugs, which is a subscriber of a duplicate bug. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
list updated from sf.net to LP bug tracker (comment #11): Bug #165521 “font variants information ignored” (Confirmed) Bug #165872 “Alternate fonts can look bad” (CLOSED as out of date) Bug #166935 “bold italic variant is wrong in a Type1 font” (Duplicate of #165521) Bug #167353 “Fonts weight variants selection” (Confirmed) Bug #167377 “Certain fonts dont work” (Confirmed) Bug #167041 “css font-family, not properly escaped” (Fix Released) -- font variants information ignored https://bugs.launchpad.net/bugs/165521 You received this bug notification because you are a member of Ubuntu Bugs, which is a subscriber of a duplicate bug. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 165521] Re: font variants information ignored
I have the same problem with Inkscape 0.46 (Oct 24 2008) : Some font variants are not shown in the fonts selector. I join 2 font sets : + Day Roman : a ttf font. Under Fontmatrix there is the Day Roman family with Regular and Expert variants. Under Inkscape there is only Normal and the faked Italic/Bold + Existence : a otf font but splited into several files. Under Fontmatrix there is the Existence family with Light, Stencil Light and Unicase Light. Under Inkscape there is only Light and the faked Italic/Bold Regards. ** Attachment added: Fonts_DayRoman-Existence.tar.gz http://launchpadlibrarian.net/23528858/Fonts_DayRoman-Existence.tar.gz -- font variants information ignored https://bugs.launchpad.net/bugs/165521 You received this bug notification because you are a member of Ubuntu Bugs, which is a subscriber of a duplicate bug. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs