Include font in presentation #595
Replies: 7 comments 9 replies
-
In Inkscape I think that you could also do "Object to path". Has the advantage that it also makes the transitions more smooth. Drawback: You cannot edit your text as text anymore. This is the reason why I always save two versions of my svg's: One before, and one after having done "object to path" on the entire svg. The "object-to-path" is thus the very last thing I do, before publishing my presentation. |
Beta Was this translation helpful? Give feedback.
-
Hi, But that's probably what you refer to with add the font in the html-head, so maybe you can describe the issues you are dealing with when using this solution? |
Beta Was this translation helpful? Give feedback.
-
Hello and thank you guys ! Adding to the html is something I'd like to avoid : I'd like to keep the Sozi-exported html as-is. I already have to modify the inkscape-exported svg (to add youtube embedded videos) and I'd like to keep the workflow as smooth as easy as possible on my current project. I didn't know I could add a base64 font inside the svg and this could be a nice solution ! I ended up using ejvindh's solution because I really needed the frame-rate boost, but it's sub-optimal in my opinion because of what he listed but also some other side-effects : underlined text is not underlined anymore and links now require that you click precisely on the characters rather than in the bounding box. |
Beta Was this translation helpful? Give feedback.
-
I actually found the solution. Here is my CSS file Here is a sample of my work with custom local fonts. |
Beta Was this translation helpful? Give feedback.
-
I think that many people (including myself) feel more comfortable if their presentation is saved as a standalone HTML file. Sozi will not enforce one solution or the other: if some users are OK with having the fonts in separate files, it is still possible. |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying to my comments. Like the one i posted. It just gives explanation for the user on how to drop font files onto the project folder. Sozi could be powerful enough to setup the css file already listing the fonts needed . Under font-family . So much of that could be scripted so i didnt need to fumble through my svg and try to remember which fonts i used amd how to spell them etc. But, my solution already is the easiest to implement. Drop fonts on project folder. |
Beta Was this translation helpful? Give feedback.
-
I found this old discussion. But, you already do not embed the json file, right? So the html file already seems not to be standalone. |
Beta Was this translation helpful? Give feedback.
-
Hello !
I'd like to include a specific font in my presentation, (or in the html export).
I know I could export text to path in my svg, or modify the html to add the font in the html-head, but those solutions both have drawbacks. Is there another option ? I saw the CSS or JS files option, maybe there is something I could do here ?
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions