![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 978
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
Font handling in SVGs
I'm about to draw a bunch of line art diagrams for a book intended for my Inkpad Color 3.
Using SVG is the "obvious" choice, however I did a quick test and it doesn't look like PB honours the specified typeface at all. Essentially everything looks like Times. I'm drawing using Affinity Designer 2; here's a bit of my exported SVG using Times New Roman: Code:
<text x="448.819px" y="706.625px" style="font-family:'TimesNewRomanPSMT', 'Times New Roman', serif;font-size:50px;">12pt ks@%</text> Code:
<text x="448.819px" y="708.863px" style="font-family:'ArialMT', 'Arial', sans-serif;font-size:50px;">12pt artscGR</text> Are there any known issues here or tricks I can use? At the end of the day I can always embed a PNG, or get the export to render text as curves, but the downsides of those options are clear. Edit: I also tried the latest Inkscape, but it was no better. Edit: I tried embedding the font and using @font-face in CSS - no change. I tried <link>ing the stylesheet into the SVG files - also no change. Last edited by chrisridd; Yesterday at 07:09 AM. Reason: Tried embedding the fonts |
![]() |
![]() |
![]() |
Tags |
svg text |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible to access note raw SVGs? (10.3 Go) | Fitz Frobozz | Onyx Boox | 1 | 04-14-2025 09:38 PM |
Do SVGs have to be wrapped in DIVs? | what | ePub | 3 | 03-23-2021 02:40 AM |
Marvin not handling not handling #151; | pehkay | Marvin | 3 | 12-13-2013 07:27 AM |
SVGs are centered by KF8, how do you prevent it? | FunkeXMix | Kindle Formats | 3 | 01-09-2013 07:32 PM |
ePub (and KF8) from SVGs | heinrich66 | ePub | 5 | 05-03-2012 01:56 PM |