Do all fonts work in Sozi?

245 views
Skip to first unread message

Ged

unread,
Nov 24, 2015, 3:06:42 AM11/24/15
to sozi-users
I have produced a diagram in Inkscape and used a font called Futura-normal Condensed.  It does not come standard with Windows, but is a smart sans serif font similar to Arial, and reasonably well known.  When I load up my file on Sozi, it replaces my text with a completely different serif style font.  Why is that?  Does Sozi not support all fonts, or is it something to do with svg?

Guillaume Savaton

unread,
Nov 24, 2015, 3:25:12 AM11/24/15
to sozi-...@googlegroups.com
Hi, Ged.

2015-11-24 9:06 GMT+01:00 Ged <ostro...@gmail.com>:
I have produced a diagram in Inkscape and used a font called Futura-normal Condensed.  It does not come standard with Windows, but is a smart sans serif font similar to Arial, and reasonably well known.  When I load up my file on Sozi, it replaces my text with a completely different serif style font.  Why is that?  Does Sozi not support all fonts, or is it something to do with svg?

Have you tried opening your SVG document in a web browser? Please tell me if fonts are correctly displayed in this case.
Sozi should support all fonts that are installed in your system. I usually use non-standard fonts in Sozi for Linux. Maybe this issue is Windows-specific.

I have opened a ticket to keep track of this issue: https://github.com/senshu/Sozi/issues/329

Guillaume

Ged

unread,
Nov 24, 2015, 3:54:36 AM11/24/15
to sozi-users
Firefox and Chrome behave the same as I described in Sozi.  Edge retains the Futura font but all of the spacing is lost.  Would you like me to join Github and discuss it there?  Only the text is affected.  The images are fine.

Din Diu

unread,
Nov 25, 2015, 4:51:38 AM11/25/15
to sozi-users
Hello,

I just noticed this.
In my case, I used a svg of Arduino as a background. I just realized the font is between the original svg, the one with Inkscape and the one with Sozi
Original font : OCR-A (sans serif) but not installed on my computer.
with Inkscape : sans serif like Verdana
with sozi : serif

In fact I had also another problem with fonts. The layers with text didn't appear in Sozi, I had to transform them into paths.
Maybe it's because I use Windows XP...

Ged

unread,
Dec 17, 2015, 2:44:38 AM12/17/15
to sozi-users
I have been struggling with this issue but I cannot make the fonts work in Sozi.  To explain my problem please see the attached screenshots of my Inkscape and Sozi files.  As you can see, the fonts are quite different.  What is the reason for this?

Futurafontoninkscape.PNG
Futurafontonsozi.PNG

Guillaume Savaton

unread,
Dec 17, 2015, 9:45:15 AM12/17/15
to sozi-...@googlegroups.com
2015-12-17 8:44 GMT+01:00 Ged <ostro...@gmail.com>:
I have been struggling with this issue but I cannot make the fonts work in Sozi.  To explain my problem please see the attached screenshots of my Inkscape and Sozi files.  As you can see, the fonts are quite different.  What is the reason for this?

In your previous message on this topic (24 november), you confirmed that you observed the same issue in Firefox and Chrome.
Since Sozi is based on the same rendering engine as Chrome, it is "normal" to get the same behavior.

It seems that Futura is a commercial font, so I will not be able to reproduce the issue with this particular font. Did you observe the same behavior with other fonts?

Guillaume

Ged

unread,
Dec 17, 2015, 3:16:09 PM12/17/15
to sozi-users
No, it only seems to affect Futura.  Here's another screenshot showing a range of fonts on Sozi:
variousfontssozi.PNG

Ged

unread,
Dec 17, 2015, 3:30:11 PM12/17/15
to sozi-users
I think it can be downloaded free here.  http://ufonts.com/fonts/futura-condensed-normal.html

If not free, may I donate it to you somehow?  I am keen to make it work on Sozi because my diagrams need very condensed text.


On Friday, December 18, 2015 at 3:45:15 AM UTC+13, Guillaume Savaton wrote:

vugie

unread,
Dec 18, 2015, 8:22:07 AM12/18/15
to sozi-users
My wild guess is that this issue may be related to the format of particular font. While no browsers have problems with TrueType and OpenType fonts, I remember there were some problems with Postscript Type 1 fonts (.pfb and .pfm file extensions). Another issue may be font file naming convention which was very strict for Postscript Type 1 fonts. So check the format of this particular font installed in your system. The other case is if you use any non-standard font in your presentation, it won't be displayed correctly on other machines, unless you embed this font in html or svg (does Sozi support it BTW?). A walkaround would be to convert whole text to paths in Inkscape (so the text is actually a vector drawing).

vug

Ged

unread,
Dec 20, 2015, 8:25:40 AM12/20/15
to sozi-users
I have converted the text to 'path' in Inkscape, as suggested, and it now works in Sozi.  I dont think this should have been necessary, but hey, nothing in life is perfect - especially computers.
Reply all
Reply to author
Forward
0 new messages