I'm using a font family that has normal width and condensed width. In other programs, e.g., LibreOffice Writer, all the fonts are available (I can select which one I want) and are displayed correctly. In Inkscape, however, the font styles have wrong names, and some of them aren't available. I'm leaving some screenshots in the thread. It's evident when you note that there are 16 typefaces installed, and only 12 typefaces available in Inkscape. The current situation in Inkscape is:
Arial MT Pro Regular is shown in the menu as "Normal" but it actually displays the Arial MT Pro Condensed typeface (note that, in the case of this font family, Regular != Medium. It has both Regular and Medium typefaces in normal width, and one Regular Condensed typeface)
All of the condensed typefaces aren't shown in the menu and none of the options display them, so I can't use any of them. Even if I use the "Text and Font" menu, it shows the typeface as "ExtraBold Cond", when I select and apply it, it displays the Arial MT Pro ExtraBold typeface, and not Arial MT Pro ExtraBold Condensed
My environment:
Windows 10 Pro version 2004
Inkscape 1.1-alpha (ac89b25, 2021-02-20)
I have to use this alpha build because the latest stable build has a problem with saving documents to PDF, where some characters are replaced, I posted a thread about this some days ago. I also tested on the latest stable version (1.0.2), and the problem persists.
I have to use this alpha build because the latest stable build has a problem with saving documents to PDF, where some characters are replaced, I posted a thread about this some days ago. I also tested on the latest stable version (1.0.2), and the problem persists.
No, like I mentioned in your other thread, latest stable is 1.0.2-2. It says 1.0.2 on the download page, but actually downloads 1.0.2-2
Issue solved! I'll share my solution if anyone encounters the same problem in the future.
Font files have some metadata and attributes embedded in them, apparently Inkscape uses the String ID Preferred Family to determine what a typeface should be called inside the program. The value of this string it's what is going to be displayed in Inkscape as the font family name. In my case, Arial and Arial Condensed had the same Preferred Family value, this usually would be okay, but in my case, the font styles were overridden, because both the normal Arial and condensed Arial had a Regular typeface each, and Inkscape got confused and only displayed the normal ones, and didn't display the condensed ones. What I did was use FontForge to modify the String ID Preferred Family from "Arial MT Std" to "Arial MT Std Cond" in the condensed font files, and it worked. Below is a screenshot of what I did.
I'm using a font family that has normal width and condensed width. In other programs, e.g., LibreOffice Writer, all the fonts are available (I can select which one I want) and are displayed correctly. In Inkscape, however, the font styles have wrong names, and some of them aren't available. I'm leaving some screenshots in the thread. It's evident when you note that there are 16 typefaces installed, and only 12 typefaces available in Inkscape. The current situation in Inkscape is:
My environment:
I have to use this alpha build because the latest stable build has a problem with saving documents to PDF, where some characters are replaced, I posted a thread about this some days ago. I also tested on the latest stable version (1.0.2), and the problem persists.
No, like I mentioned in your other thread, latest stable is 1.0.2-2.
It says 1.0.2 on the download page, but actually downloads 1.0.2-2
Issue solved! I'll share my solution if anyone encounters the same problem in the future.
Font files have some metadata and attributes embedded in them, apparently Inkscape uses the String ID
Preferred Family
to determine what a typeface should be called inside the program. The value of this string it's what is going to be displayed in Inkscape as the font family name. In my case, Arial and Arial Condensed had the samePreferred Family
value, this usually would be okay, but in my case, the font styles were overridden, because both the normal Arial and condensed Arial had a Regular typeface each, and Inkscape got confused and only displayed the normal ones, and didn't display the condensed ones. What I did was use FontForge to modify the String IDPreferred Family
from "Arial MT Std" to "Arial MT Std Cond" in the condensed font files, and it worked. Below is a screenshot of what I did.