Quote:
Originally Posted by SigilBear
My interest in Bootstrap revolves around its use in displaying images as fonts. Most of my books are educational, and, as you know what they say, a picture is worth a thousand words.
For example, if you go http://politix.geostacks.com/topics/political-system and scroll down to "What is a Political System," note the gear icons on either side of the first paragraph. (The second icon is animated.)
They're both fonts, not images.
Similarly, if you look at the sidebars @ http://politix.geostacks.com/topics/government you'll see a number of tiny images (including an exclamation point in a triangle) that are fonts.
I would find these mini-images tremendously useful in some of my projects.
Then again, they aren't wholly dependent on Bootstrap. Does anyone know if there's a way to display such icons in epubs that doesn't require Bootstrap?
|
Well, the first one is easy--you can do that in a table, but I would strongly recommend that you use the gears (or whatever) as images, not fonts. That's utterly unrelated to Bootstrap--you need to remember that many devices allow the end user to completely, 100%, override the font choices you make. In that event, people won't see gears or other cutesy icons, they'll see empty boxes with Xes in them, or they'll see characters that make no sense, in some other font. Simply convert the gears or whatever to small images and put them in a 3 column table, with the content in the middle cell and the gears on either side. Done and dusted.
Even if Bootstrap does make its way into the ePUB spec, it's exceedingly unlikely that the ability to override fonts is going to go away, so, as I said, the issue you're trying to deal with is unrelated to Bootstrap. Sure, the developers of Bootstrap developed an entire group of icons and font-icons, but again...that's sort of night-and-day what we're discussing here.
I don't understand or see what you're talking about in the 2nd example. I don't see the "tiny images including exclamation marks," I see a lot of missing characters? Where, exactly, is it that I'm supposed to see that? Can you give me a line of text, where that's happening?
Hitch