Order it now! Amazon prioritizes orders on a first come, first served basis.


View Full Version : Different fonts in the same document


Vesper
06-19-2008, 03:20 AM
Is it possible? I tried mobi and html but to no avail. :headscratch:

DrS

p.s. Please don't say pdf

HarryT
06-19-2008, 10:03 AM
I don't believe that it can be done. The idea of Mobi is that you allow the user to select the font that they wish to use, rather than imposing a font on them. You can change the "style" and size of the font, but not the basic font.

wallcraft
06-19-2008, 11:06 AM
Is it possible? It is supposed to be possible, but specifying fonts inside a MOBI file is discouraged by MobiPocket because this is difficult to do well when targeting a wide range of devices. What is supposed to work is things like:

<style type="text/css">
p {
font-family: "Palatino Linotype", "Times New Roman", Verdana;
}
.chinese {
font-family: "Arial Unicode MS";
}
</style>

The above is from Font, style bug (http://www.mobipocket.com/forum/viewtopic.php?t=8670).

JSWolf
06-19-2008, 11:58 AM
Why cannot Mobipocket fix things so they work? I would rather sacrifice a little speed in jumping ahead/back then to have these bugs because they don't want to change how poorly moving ahead/back works.

Vesper
06-19-2008, 04:24 PM
It is supposed to be possible, but specifying fonts inside a MOBI file is discouraged by MobiPocket because this is difficult to do well when targeting a wide range of devices. What is supposed to work is things like:

<style type="text/css">
p {
font-family: "Palatino Linotype", "Times New Roman", Verdana;
}
.chinese {
font-family: "Arial Unicode MS";
}
</style>

The above is from Font, style bug (http://www.mobipocket.com/forum/viewtopic.php?t=8670).

Any hint on how can I get something like this to work without resorting to manual html editing?

DrS

HarryT
06-20-2008, 03:30 AM
In my experience, Vesper, you have to manually edit the HTML to get decent Mobi books. How do you put in the "tags" for "Guide" items, for example, otherwise? What Mobi creation tools are you using at present?

Vesper
06-20-2008, 06:18 AM
In my experience, Vesper, you have to manually edit the HTML to get decent Mobi books. How do you put in the "tags" for "Guide" items, for example, otherwise? What Mobi creation tools are you using at present?

Ummm... guides? tags? I'm using plain old mobipocket creator. Nothing fancy - just throw the document in, usually in word format and click on compile.

Why word? well, I managed to convert some rather complicated pdfs and realized word is the only way to go for getting it right the way I want it to mobi... Going the html way is too much of a hassle...

DrS

HarryT
06-20-2008, 07:02 AM
So you're not bothered about getting working navigation links in Mobi Reader? "Table of Contents" - that kind of thing? You really need to put tags into the HTML for that kind of stuff. Mobi books are HTML with a few "custom" tags, in a wrapper. You need to be comfortable working in HTML in order to get the most out of them.

JohnnyD
06-20-2008, 07:58 AM
Any hint on how can I get something like this to work without resorting to manual html editing?

DrS

Sorry. The Cybook won't show different fonts in the same document. Not even in html. I made a test document a while ago which shows different fonts in a web browser (and even in Mobipocket Reader on my PC if I remember correctly) but not in my Cybook. Alas.

bwaldron
06-21-2008, 04:20 PM
Alas.

Oh, I don't know. For the most part, I'm glad that the Cybook overrides fonts that may be specified in the file. If it didn't do so, I would definitely want a user-specified option to make this happen.