help with including an SVG icon in my Sphinx documentation

20 views
Skip to first unread message

Tanim Islam

unread,
Aug 31, 2020, 6:49:57 PM8/31/20
to sphinx...@googlegroups.com
Hello,

I see this problem on my local Sphinx web page, but also it lives on my project's Read the Docs website (https://howdy.readthedocs.io) and on the GitHub main page of my project (https://github.com/tanimislam/howdy).

There is an icon, "howdy_icon.svg", on the GitHub and Read the Docs website. The font of the text, which is "HOWDY!", is a system font. HOWEVER, this icon, howdy_icon.svg, uses Balsamiq Sans (imported from Google) for the text, "HOWDY!".

Why don't both pages show the correct font for the SVG icon? Is this one of those security things?

Tanim

Matt from Documatt

unread,
Sep 10, 2020, 2:43:25 AM9/10/20
to sphinx...@googlegroups.com
Hi Tanim,
I bet it has nothing to do with Sphinx.

However, it seems you speak about https://raw.githubusercontent.com/tanimislam/howdy/master/docs/source/_static/howdy_icon.svg (ugly font) and https://howdy.readthedocs.io/en/latest/_static/howdy_icon.svg (correct font). I'm not front-end expert, but console at first URL reveals me the following errors:

image.png
Don't ask me for details, I don't know :-) But I hope it helps you, friend!

Matt




--
You received this message because you are subscribed to the Google Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CADAM1W2QWvcgCJZnFfQPvAYBQsYC9jof9%2Bz7Sv8tabMbDUZOfA%40mail.gmail.com.

Daniel Scott

unread,
Nov 25, 2020, 10:31:59 PM11/25/20
to sphinx...@googlegroups.com
--
Reply all
Reply to author
Forward
0 new messages