SVG 1.1 - fonts have wrong default family

Post unfinished work here for feedback and advise.
iongion
Posts: 3
Joined: Sun Feb 04, 2018 3:32 am

SVG 1.1 - fonts have wrong default family

Postby iongion » Sun Feb 04, 2018 3:59 am

Hi, I am generating a SVG programmatic, now, the SVG displays properly in Firefox, Chrome and friends.
This SVG has not extensions, just a standard SVG.
Now, I do not understand why the fonts are not properly displayed in Inkscape, I do not know if it is from me or from Inkscape itself, the fonts have a default font family that is :(
I have this restriction that fonts cannot be embedded using base64.
I have tried everything I could imagine but no solution ...

In the attached file, you can see the manifestation(btw, thx for the 0.92+, it fixed the external reference for images using non-absolute path).
Is there anything I can do ? Is it a bug/intent ? Thank you!
Attachments
overlay.zip
(191.47 KiB) Downloaded 352 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: SVG 1.1 - fonts have wrong default family

Postby brynn » Sun Feb 04, 2018 11:23 am

the fonts have a default font family that is :(


The font family is sad? Let me make sure I understand the problem. Here's what I observe.

When I select the text with the Selection tool, the status bar identifies the font. But if I switch to the Text tool (without deselecting the text) the font at the top of the dropdown menu is a different font. It doesn't happen every time, but I'd say about half the time.

Is that what you're talking about? Or something else.

I have no way of knowing which display is incorrect, since I'm familiar neither with those fonts, or really any fonts, to recognize just by looking. But the font should be identified the same way, no matter which tool you're using.

Are the fonts being linked, just like images can be linked rather then embedded? I didn't realize that was possible! I have no idea if the problem I'm observing is related to the linking, or something else.

Or maybe I haven't even identified your problem yet?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: SVG 1.1 - fonts have wrong default family

Postby Moini » Mon Feb 05, 2018 3:06 am

Inkscape 0.92 does not support @font-face, would that explain the issue? 0.93 will.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

iongion
Posts: 3
Joined: Sun Feb 04, 2018 3:32 am

Re: SVG 1.1 - fonts have wrong default family

Postby iongion » Sat Mar 03, 2018 1:44 am

Thank you guys for answering, I researched more and I've understood the problem better, 0.93 will be awesome with this feature!


Return to “Work in progress”