Quote:
Originally Posted by Doitsu
If you're planning to write a couple of Latin textbooks it might make sense to create a custom font in which all regular Latin lowercase characters have an acute accent.
|
Won't work. You have to have letters without accents in the same word, and if you try to wrap a single syllable or letter with a font change, you're likely to run headfirst into a
nasty ADE bug. ADE (at least as of about a year ago) egregiously and flagrantly violates the HTML spec by allowing lines to wrap at tag boundaries even when there's no whitespace.
You might be able to work around that bug by adding a zero-width nonbreaking space at the tag boundaries, but then you probably won't be able to find the word in
any reader, because there will be whitespace within the word....
If you want to go a little bit nuts, you might be able to get away with something like this:
Code:
<span style="display: inline-block; width: 0; color: rgba(0,0,0,0.0); visibility: hidden;">hominibus</span>homínibus
but that's quite a bit beyond the EPUB 2 required subset, so even that isn't guaranteed to work.
Basically, I'm pretty sure there's no way to hack this that won't cause even bigger problems, and even if there is a way, it really isn't a good idea. Just use the proper UTF-8 characters for the accented versions of the characters. It should "just work".