I installed the OpenSans .ttf family fonts in Linux Mint for both my user and everyone else, I read here on the forum that it would be resolved this way in Windows, but the result is the same, it works in other programs except Inkscape.
All of them appear in the list of fonts marked with a red cross and a yellow triangle informing that each font was "Not found in the system.
Tyler, I don't have a problem with installing the font on the system or mscorefonts, as I said everything works fine on the system, except in Inkscape and that's what I need to solve to be able to use it.
Even so, I followed your suggestion again, and removed mscorefonts and installed it again, the result was the same.
I'm trying to find more information about PPA on the internet, I've never used it until now, if you could help me with that it would be helpful.
Regarding restarting Inkscape, this is also not the case as I always install it with the software closed and only then open it to test.
As you can see at the beginning of this post, I am referring to the Open Sans family, because the Open Sans font is recognized, it could be the one you are talking about that worked there, what is not recognized are the variations:
Tyler, thank you for your patience and answers to try to help me, but I noticed that we are dealing with different things and that's why we haven't been successful so far.
See, that's why I put the commands and more detailed reports to understand what is happening, but I saw in your last video examples that you are testing another file.
See, if you are a Linux user, then you know that "Open Sans" is different from "open-sans" and in your video despite you searching for open-sans and installing fonts-open-sans you install the Open Sans font as shown in second video and this is not the one I have a problem with as I already stated above.
Inkscape cannot find the OpenSans-Bold font which is different from using the Open Sans font + Bold variation
I did the same procedure and the test here, they are different.
If you can still help me I will be grateful, I will keep trying or give up on this job.
Not sure where you are getting your OpenSans font. I can say with fair certainty that the one that works here in Inkscape is legitimate and works across platforms.
Again, I am not disputing your screenshots. What you reproduced I also reproduced here, but I need to repeat my argument: you are testing another file, the font I need is different, and since I cannot change the client's font and Inkscape cannot find it, I am limited and cannot serve the client.
See in my screenshot where a yellow triangle appears, it is not Open Sans + Bold variation, but OpenSans-Bold + Normal variation.
You can see that I tried to use your logic disregarding that the names are different since I choose the bold variation, but you can see that the visual result is very different.
I will add another screenshot so you can see how the font I need to work appears crossed out in the list.
I have attached the sources I received from the client so you can simulate them if you wish.
Select the font from the list in Inkscape. Do not manually type the name wrong. If you type the name wrong, it will look like the font is missing and a different font is rendered on canvas. (Marcelo's look more like Verdana, not Open Sans)
Examining the font in FontForge confirms that the PS fontname and the TTF fontname are different.
I suspect the original file was authored in Ai or another Adobe product, which may insert the PS fontname ("OpenSans-Bold"), rather than the TTF fontname ("Open Sans").
Sorry to reference a lame site like superuser (but even a blind squirrel occasionally finds a nut):
I'd simply install all the missing fonts before opening the PDF. Unless it's a SVG of course.
I'm guessing it's a SVG generated from Illustrator... and I rekon the document has the fonts mis-named with the PS fontname, instead of the more common TTF fontname.
Thank you guys for continuing to try to help me, this is really important, I'm behind on this service and it's a recurring service, so I'd like to solve this problem.
Well, I'll try to answer in order:
Post 1 @Aero, I'm not typing the name of the font and I don't usually do that, I just open the .svg file that the client sent me and select the text to edit, this already creates the screenshot with the yellow triangle and the crossed out names. See, the file opens displaying the original font, but since my job in this case is just to edit the text in the banner, I can't do it because all the new text looks different.
Post 2 @Tyler, I received the original .ai file and the fonts used. The design work was done in Illustrator by a designer. I installed the fonts as described above and they continue to work in other programs, except for Inkscape. However, when I opened the .ai file, the artwork was monochromatic in a yellow-orange tone. I asked the designer to export it to .svg. I don't know how he exported it, but the file I'm trying to edit is the exported .svg file. It solved the color problem, but the fonts have this problem. The problem isn't with the original .svg file. I open a new one and the same problem occurs.
Post 3 @Aero, the designer is the one who defined the font when creating the client's visual identity. I can confirm that it is indeed to use OpenSans-Bold and OpenSans-Light. Ignore the visual result that appears in the printout because it is during the problem, we haven't solved it yet, after all, if I could see the correct result after editing I wouldn't be wasting your time just because a yellow triangle appeared on the toolbar, you are right about it actually being rendered in this printout and looking like another font.
Post 4 @Tyler, the designer sent these fonts, I didn't have them before, so theoretically I am using the same ones he used in the creation. Yes, to make the example in the printout I opened a new file, opened the list and searched manually by selecting OpenSans-Bold even though it was crossed out and typed "Test" then copied and pasted the text, changed it to Open Sans, adjusted the sizes and chose Bolt for the second one as in your example, the text that I put next to it with the parameters is with another font, please consider comparing only the two words "Test".
Part 5 @Tyler, yes it was done in Illustrator and converted to .svg at my request because of the color problem, I'll check it out from PS instead of TTF, I received .TTF as I attached in this topic, the fonts used are these.
Post 6 @Aero, I didn't understand your list of activities, Open Sans is already installed and working, I've already informed Tyler about this previously, it turns out that using this Open Sans + Bold font doesn't look the same as the original file, in the last case it will be the only option, but every time I receive a new file I'll have to adjust all the text.
Post 7 @Tyler, I'll do that to see that it's not the same thing, for some reason we're missing it, it could be the issue you mentioned about PS and TTF, I don't know yet.
Post 8 @Aero, installing the missing fonts was what I did from the beginning before opening the original file that turned yellow. We are in a later scenario, after installing the "original" fonts, Inkscape cannot find them and renders the content as you noticed. The question that remains is:
Why doesn't Inkscape assume the file's content as Open Sans + Bolt since it would be the same thing? 🤔
Yes, the file is an .svg originated from an .ai, sorry for not having informed you of this before, it is a problem with the font and not the file. As I mentioned in this answer, if I create a new file the problem is the same. I cannot get the expected result by selecting the installed font because Inkscape renders differently and you have now clarified this.
I thank you for your dedication and patience, especially @Tyler😎 who has been with me since the beginning of the topic, but I will generate new versions in a folder just for me, replace all the text manually with Open Sans + Bold and Open Sans + Light and keep an .svg of each file, that way when I receive a new file to edit instead of having to correct everything again because it will certainly come that way from the creator, I will only need to add the text that does not yet exist or update what has changed in these versions.
Ok, manually replacing all the text worked with some effort, it looks the same when comparing it to a jpg of this art, however, when changing the font of a text that is broken into two lines, Inkscape removes the break, joining it into one line and if I divide it again with enter, the two lines overlap, in this case I have to undo and select line by line and change the font of each one.
Now I came across another problem, when exporting with the same size and resolution as the original, which was 300dpi, Inkscape changes it to 400dpi and the quality goes away along with the watermark, my god.
Original .jpg file .ai => .jpg - This is the expected result
When a font is missing, Inkscape will substitute a generic sans serif font. That is why the word "Text" looks different in comment #10.
The font designer did not use the same fontname inside the font metadata (TTF vs PS). The images in comment #23 show some of the metadata for the Open Sans font it is also named OpenSans. If they had, there would be no issue. Neither program (Inkscape or Ai) is wrong. (Imagine if you used different names on your passport and driver's permit.)
The svg file uses a 96dpi standard (I don't know why inches, but its is what it is).
I'd set the document size in Inkscape based on the pixel dimensions of the original artwork... If it is a 10" x 10" (300 dpi) document, scale the content to 3000 x 3000 pixels.
Ok, I had already asked the designer to export to .svg, I didn't know there was another way to save it with or its consequences, but I asked again to reinforce this difference in case you didn't use the export command.
I followed your link and read the content of the posts, I don't know if it will solve it, I did a test here by creating a new file and formatting it with the installed font that is working Open Sans + Bold variation and opened both files (original and test) in Sublime Text.
Even though the CSS structure is a little different, at least in the readable part I notice that the names are the same and there is nothing to change manually (I don't know if that would break the file), however the solution of exporting to .svg can act on the non-readable coded part of the file and solve the problem, I will wait to receive the new batch of .svg files.
Information I got from the original file by looking at the code in Sublime Text:
As you can see Inkscape writes text attributes inline without css (but css can be used if needed).
I would have the designer export the SVG using "Presentation Attributes", which avoids css in the SVG. https://youtu.be/bWcweY66DL8?t=101
In either case, you may be able to change the fontname in the SVG file to the TTF version, or simply select all the text and select Open Sans, and the Bold style.
I installed the OpenSans .ttf family fonts in Linux Mint for both my user and everyone else, I read here on the forum that it would be resolved this way in Windows, but the result is the same, it works in other programs except Inkscape.
All of them appear in the list of fonts marked with a red cross and a yellow triangle informing that each font was "Not found in the system.
Linux Mint 21.3
Inkscape V1.3.2 (Flatpak)
---------------------------------------------------------------------------------------------------
Procedures performed on fonts since the clean installation of the system:
sudo apt install ttf-mscorefonts-installer
mkdir ~/.fonts
mv ~/Downloads/*.ttf ~/.fonts
Permissions check:ls -l ~/fonts
-rw-rw-r-- equal to 664
Updated the system Font Cache:fc-cache -f -v
Test 1: Ok in programs except Inkscape.
---------------------------------------------------------------------------------------------------
sudo mkdir /usr/share/fonts/truetype/open-sans
sudo mv ~/Downloads/*.ttf /usr/share/fonts/truetype/open-sans
fc-cache -f -v
Test 2: Ok in programs except Inkscape.
---------------------------------------------------------------------------------------------------
Test 3: Ok in programs except Inkscape.
---------------------------------------------------------------------------------------------------
I'm kind of out of options now, I preferred to post everything I did to shorten the time spent asking questions about what I've already done.
Any chance you can use the PPA? it seems to solve a lot these type of issues.
I don't know what PPA is, can you tell me more about it?
Software for Ubuntu and its variants is often downloaded and installed using PPA: https://help.ubuntu.com/stable/ubuntu-help/addremove-ppa.html.en
Inkscape PPA releases usually integrate into the OS much better (e.g. registering permissions) than snap, flatpak and other packages.
https://inkscape.org/release/inkscape-1.3.2/gnulinux/ubuntu/ppa/dl/
I followed your recommendation and uninstalled Flatpak, then installed Inkscape via PPA using the commands in the terminal
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape
The result was the same, do you have any other suggestions that might help?
I am running 1.3.2 under linux mint, I was able to install the mscorefonts, I don't recall anything odd, so maybe reinstalling the mscorefonts.
Open Sans looks like it has a PPA, so I'd try that method.
Generally, I restart Inkscape after installing new fonts, so they are more likely to appear in Inkscape.
I can confirm that the PPA for Open Sans works here.
Tyler, I don't have a problem with installing the font on the system or mscorefonts, as I said everything works fine on the system, except in Inkscape and that's what I need to solve to be able to use it.
Even so, I followed your suggestion again, and removed mscorefonts and installed it again, the result was the same.
I'm trying to find more information about PPA on the internet, I've never used it until now, if you could help me with that it would be helpful.
Regarding restarting Inkscape, this is also not the case as I always install it with the software closed and only then open it to test.
As you can see at the beginning of this post, I am referring to the Open Sans family, because the Open Sans font is recognized, it could be the one you are talking about that worked there, what is not recognized are the variations:
sans-serif
OpenSans-Bold
OpenSans-Light
What do you suggest to resolve this?
I just installed the open-sans via PPA.
It is now available in Inkscape:
Tyler, thank you for your patience and answers to try to help me, but I noticed that we are dealing with different things and that's why we haven't been successful so far.
See, that's why I put the commands and more detailed reports to understand what is happening, but I saw in your last video examples that you are testing another file.
See, if you are a Linux user, then you know that "Open Sans" is different from "open-sans" and in your video despite you searching for open-sans and installing fonts-open-sans you install the Open Sans font as shown in second video and this is not the one I have a problem with as I already stated above.
Inkscape cannot find the OpenSans-Bold font which is different from using the Open Sans font + Bold variation
I did the same procedure and the test here, they are different.
If you can still help me I will be grateful, I will keep trying or give up on this job.
Not sure where you are getting your OpenSans font.
I can say with fair certainty that the one that works here in Inkscape is legitimate and works across platforms.
I uninstalled the open-sans from PPA and downloaded the updated Open Sans (OpenSans) from Google. https://fonts.google.com/specimen/Open+Sans
There are two options: variable and static. I installed the static OpenSans Bold and no others.
Notice that the family shown in the Inkscape interface is "Open Sans", not "OpenSans-Bold".
Open Sans Regular shown below is the PPA.
Open Sans Bold shown below is the newer static version.
Again, I am not disputing your screenshots. What you reproduced I also reproduced here, but I need to repeat my argument: you are testing another file, the font I need is different, and since I cannot change the client's font and Inkscape cannot find it, I am limited and cannot serve the client.
See in my screenshot where a yellow triangle appears, it is not Open Sans + Bold variation, but OpenSans-Bold + Normal variation.
You can see that I tried to use your logic disregarding that the names are different since I choose the bold variation, but you can see that the visual result is very different.
I will add another screenshot so you can see how the font I need to work appears crossed out in the list.
I have attached the sources I received from the client so you can simulate them if you wish.
If you type a fontname wrong in a document, that's exactly what it will look like.
Hi Marcelo,
It looks like you have been provided the earlier version of the font.
Please also provide a sample of your client's document. You can delete most of its contents, but leave some of the text objects.
Please describe the software used to create the original client document... Ai, Corel, Inkscape or other.
The version of the font is not the issue.
Select the font from the list in Inkscape. Do not manually type the name wrong. If you type the name wrong, it will look like the font is missing and a different font is rendered on canvas. (Marcelo's look more like Verdana, not Open Sans)
It may be that the document was authored with a nonstandard font or fontname.
The difference seen Marcelo's screenshot seems to show a comparison of the Inkscape-substituted font with a sample of Open Sans' bold variant.
Examining the font in FontForge confirms that the PS fontname and the TTF fontname are different.
I suspect the original file was authored in Ai or another Adobe product, which may insert the PS fontname ("OpenSans-Bold"), rather than the TTF fontname ("Open Sans").
Sorry to reference a lame site like superuser (but even a blind squirrel occasionally finds a nut):
https://superuser.com/questions/1457469/font-names-arent-aligning-between-svg-and-ttf-files
Maybe Inkscape?
I'd simply select all the "OpenSans" text elements and use the text tool dropdown menu to change them to "Open Sans" and bold style.
They are the same thing.
I'd simply install all the missing fonts before opening the PDF. Unless it's a SVG of course.
I'm guessing it's a SVG generated from Illustrator... and I rekon the document has the fonts mis-named with the PS fontname, instead of the more common TTF fontname.
Thank you guys for continuing to try to help me, this is really important, I'm behind on this service and it's a recurring service, so I'd like to solve this problem.
Well, I'll try to answer in order:
Post 1
@Aero, I'm not typing the name of the font and I don't usually do that, I just open the .svg file that the client sent me and select the text to edit, this already creates the screenshot with the yellow triangle and the crossed out names. See, the file opens displaying the original font, but since my job in this case is just to edit the text in the banner, I can't do it because all the new text looks different.
Post 2
@Tyler, I received the original .ai file and the fonts used. The design work was done in Illustrator by a designer. I installed the fonts as described above and they continue to work in other programs, except for Inkscape. However, when I opened the .ai file, the artwork was monochromatic in a yellow-orange tone. I asked the designer to export it to .svg. I don't know how he exported it, but the file I'm trying to edit is the exported .svg file. It solved the color problem, but the fonts have this problem. The problem isn't with the original .svg file. I open a new one and the same problem occurs.
Post 3
@Aero, the designer is the one who defined the font when creating the client's visual identity. I can confirm that it is indeed to use OpenSans-Bold and OpenSans-Light. Ignore the visual result that appears in the printout because it is during the problem, we haven't solved it yet, after all, if I could see the correct result after editing I wouldn't be wasting your time just because a yellow triangle appeared on the toolbar, you are right about it actually being rendered in this printout and looking like another font.
Post 4
@Tyler, the designer sent these fonts, I didn't have them before, so theoretically I am using the same ones he used in the creation. Yes, to make the example in the printout I opened a new file, opened the list and searched manually by selecting OpenSans-Bold even though it was crossed out and typed "Test" then copied and pasted the text, changed it to Open Sans, adjusted the sizes and chose Bolt for the second one as in your example, the text that I put next to it with the parameters is with another font, please consider comparing only the two words "Test".
Part 5
@Tyler, yes it was done in Illustrator and converted to .svg at my request because of the color problem, I'll check it out from PS instead of TTF, I received .TTF as I attached in this topic, the fonts used are these.
Post 6
@Aero, I didn't understand your list of activities, Open Sans is already installed and working, I've already informed Tyler about this previously, it turns out that using this Open Sans + Bold font doesn't look the same as the original file, in the last case it will be the only option, but every time I receive a new file I'll have to adjust all the text.
Post 7
@Tyler, I'll do that to see that it's not the same thing, for some reason we're missing it, it could be the issue you mentioned about PS and TTF, I don't know yet.
Post 8
@Aero, installing the missing fonts was what I did from the beginning before opening the original file that turned yellow. We are in a later scenario, after installing the "original" fonts, Inkscape cannot find them and renders the content as you noticed. The question that remains is:
Why doesn't Inkscape assume the file's content as Open Sans + Bolt since it would be the same thing? 🤔
Yes, the file is an .svg originated from an .ai, sorry for not having informed you of this before, it is a problem with the font and not the file. As I mentioned in this answer, if I create a new file the problem is the same. I cannot get the expected result by selecting the installed font because Inkscape renders differently and you have now clarified this.
I thank you for your dedication and patience, especially @Tyler 😎 who has been with me since the beginning of the topic, but I will generate new versions in a folder just for me, replace all the text manually with Open Sans + Bold and Open Sans + Light and keep an .svg of each file, that way when I receive a new file to edit instead of having to correct everything again because it will certainly come that way from the creator, I will only need to add the text that does not yet exist or update what has changed in these versions.
Thanks guys.🤗
Ok, manually replacing all the text worked with some effort, it looks the same when comparing it to a jpg of this art, however, when changing the font of a text that is broken into two lines, Inkscape removes the break, joining it into one line and if I divide it again with enter, the two lines overlap, in this case I have to undo and select line by line and change the font of each one.
Now I came across another problem, when exporting with the same size and resolution as the original, which was 300dpi, Inkscape changes it to 400dpi and the quality goes away along with the watermark, my god.
Original .jpg file .ai => .jpg - This is the expected result
Manually Edited .svg file - It seems to be ok
Final .jpg file .svg => .jpg - horrible
Is there anything I can do about this?
When a font is missing, Inkscape will substitute a generic sans serif font. That is why the word "Text" looks different in comment #10.
The font designer did not use the same fontname inside the font metadata (TTF vs PS). The images in comment #23 show some of the metadata for the Open Sans font it is also named OpenSans. If they had, there would be no issue. Neither program (Inkscape or Ai) is wrong. (Imagine if you used different names on your passport and driver's permit.)
The designer supplying your artwork may be able to Export the svg file so that is has the TTF fontname. https://graphicdesign.stackexchange.com/questions/27238/preserving-font-type-in-illustrator-svg-file I cannot say with confidence that the CC version of Illustrator has the TTF option in the export menu. I can test at my office, but I will need to check the Illustrator version.
Regarding the jpeg output...
The svg file uses a 96dpi standard (I don't know why inches, but its is what it is).
I'd set the document size in Inkscape based on the pixel dimensions of the original artwork... If it is a 10" x 10" (300 dpi) document, scale the content to 3000 x 3000 pixels.
Ok, I had already asked the designer to export to .svg, I didn't know there was another way to save it with or its consequences, but I asked again to reinforce this difference in case you didn't use the export command.
I followed your link and read the content of the posts, I don't know if it will solve it, I did a test here by creating a new file and formatting it with the installed font that is working Open Sans + Bold variation and opened both files (original and test) in Sublime Text.
Even though the CSS structure is a little different, at least in the readable part I notice that the names are the same and there is nothing to change manually (I don't know if that would break the file), however the solution of exporting to .svg can act on the non-readable coded part of the file and solve the problem, I will wait to receive the new batch of .svg files.
Information I got from the original file by looking at the code in Sublime Text:
Information I obtained from the test file by viewing the code in Sublime Text:
As you can see Inkscape writes text attributes inline without css (but css can be used if needed).
I would have the designer export the SVG using "Presentation Attributes", which avoids css in the SVG. https://youtu.be/bWcweY66DL8?t=101
In either case, you may be able to change the fontname in the SVG file to the TTF version, or simply select all the text and select Open Sans, and the Bold style.