Quote:
Originally Posted by Tex2002ans
...[snip]
And if all else fails (even the font embedding), I generated a (quite large) PNG from that Wikimedia SVG that you can scale down to 1em.
To generate the Apple PNG: I used Inkscape (exported as a 600px wide PNG) -> GIMP (stripped transparency and made grayscale) -> Export as PNG -> Ran the PNG through ScriptPNG to optimize it.
I haven't tested it in a long while, but last time I did something similar (if I remember, it had to deal with formulas needing to be in-line), scaling the image down to 1em worked on ADE + Kindle.
[snip]...
|
Avoiding font or svg... indeed. I liked the
png scaling to 1em trick. in this case of the single apple character, it does the job quite effectively.
Quote:
Originally Posted by Tex2002ans
...[snip]
I do know how to go from SVG -> Inkscape -> high resolution PNG -> EPUB (see ApplePNG attached above). (I can post steps on how I do this if anyone is interested).
[snip]...
|
Sure, if you have the time to detail a bit more.
I don't want to hijack this thread but I would apply the idea in my
Nadsat Translation Dictionary where I have strings of multiple characters (in alien language fonts). Since dictionaries are KF7 only, I could not use font embedding or svg and it annoys me that the images of text that I included cannot scale when font sizes are changed.
[EDIT 2013-09-22 13:52]
Alas no success.

Kindlegen reports no error but Height: and Width: image scaling properties are simply ignored by the mobi-only KF7 on the K3.
Spoiler:
Code:
<style>
img.oneEMh {height: 1em;}
img.oneEMw {width: 1em;}
</style>
with
Code:
<I>vul:</I> <img alt="" class="oneEMw" src="../Images/t'hai'la 3.gif"/> /t'hai'la/
or
Code:
<I>fer:</I> <img alt="" class="oneEMh" src="../Images/itl 3.jpg"/> /itl/
has no effect on the images when changing the text size on the reader