Quote:
Originally Posted by Psymon
[...] really, this changes everything! I'd resigned myself to only being able to publish my book as I'd really like it to be on iBooks and nowhere else, but from the looks of it, I'll now be able to do so no problem on other platforms, too.
Seriously... THANK YOU!!!

|
Welcome to the "dark side".
See what following standards gets you?
Also, it is usually bad forum etiquette to post so many posts in a row. Best bet is to just Edit the previous post (if there is only a few minutes between posts).
Quote:
Originally Posted by Psymon
How on earth does it do that, like, how does a font "know" if the character is at the beginning, middle or end of the word?
|
I don't know the specifics, but I believe fonts have huge tables (think multiplication tables) explaining exactly what the character will do when combined with any other characters in the font. So the font defines things like slightly different spacing if an 'f' is next to an 'f', or a 'f' next to a 't'.
You can easily tell if it is in the beginning of a word if it has a space (or "word boundary") to the left of the character, or in the middle of a word if there is a letter to the left/right, and the end of a word if it has a space (or "word boundary") to the right.
Side Note: I am not too sure on the specific font terminology, but word boundary is a term used in Regex:
http://www.regular-expressions.info/wordboundaries.html