09-14-2019, 11:13 AM | #121 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
But for apps that allow user font choices, if the font in use doesn't have the glyphs needed, then that's down to the user. |
|
09-14-2019, 01:10 PM | #122 | |||||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
I just wrote about all the pros/cons a few weeks ago: https://www.mobileread.com/forums/sh...08#post3882608 Those characters were only included in Unicode for backwards compatibility with some legacy encodings. Use normal numbers: "25/26 or 2/3" and then rely on CSS for OpenType Fractions. Quote:
Quote:
And there are millions of others just like it, and they won't ever be patched. EPUB And like JSWolf said, older versions of ADE (like v2.0.1) is an okay approximation for many of these older devices. That version of RMSDK was used in many of the EPUB readers. Newer versions of ADE renders with newer RMSDK (and Readium for EPUB3)... so ADE 4+ will show support for things that many older ereaders just won't ever support (like more advanced CSS3, WOFF, etc.). Kindles / MOBI It's kind of like using Kindle Previewer 2 to emulate what an older Kindle would look like... instead of relying on Kindle Previewer 3 (which ONLY shows newer KF8 format). But there are still MILLIONS of older Kindles out there that only support KF7 ("old MOBI"). Quote:
Quote:
It might be okay for personal copies... but I would never use it for an ebook for sale. Quote:
Quote:
In LaTeX, you can then manually create lists of words to adjust hyphenation manually if needed: Code:
\hyphenation{man-u-al} In the web/ebooks/CSS... no. * * * Side Note: See a lot of my previous Hyphenation discussion from 2014, especially Post #20: Using regex for more elegant hyphenation and word wrap Side Note #2: For bleeding edge hyphenation info, see: http://www.hyphenation.org/tex Also see "Hyphenation in TeX and elsewhere, past and future" by Mojca Miklavec and Arthur Reutenauer in TUGboat Volume 37 (2016) No. 2 (PDF) for some of the discussion on licensing issues + growing pains (updating the patterns for UTF-8, getting patterns into browsers+other programs/devices). * * * LaTeX Hyphenation is based completely on hyphenation patterns (I'll call this "Algorithm-based"). A giant list of pre-hyphenated words is fed, and this creates the pattern for each language. From what I can gather, this is where much of the hyphenation patterns/research comes from, and then the web browsers sort of adopt solutions from here. Patterns get updated every so often, and there are people who keep track of hyphenation exceptions that the patterns get wrong, such as the ushyphex (US Hyphenation Exceptions) package: https://ctan.org/tex-archive/info/di...phenex?lang=en In LaTeX, you also have full control over things like:
and because you have full access to the renderer, you can also do more complicated language-specific typography. (There's very complicated hyphenation in some languages: Letters/spelling changes, double hyphens, duplicated letters, dealing with single letter words, etc... it's why it's usually best to just use babel/polyglossia, assign your document the correct language, and leave it up to the experts.) * * * Web Standards Miles behind LaTeX, but they're slowly playing catchup. CSS3 You pretty much just have hyphens: https://developer.mozilla.org/en-US/...eb/CSS/hyphens You specify document language, and hope the support is there (and that it's good). Sadly, Polish isn't one of the better ones... yet. CSS4 They're adding a few more advanced things to deal with hyphenation: https://www.w3.org/TR/css-text-4/#hyphenation You'll get access to a few more LaTeX-type things such as:
Ebooks Like JSWolf said, some of the better devices (like Kobo) actually let you replace with your own Hyphenation Dictionaries. On Kobo, you can also adjust # of chars to the left/right of hyphens. Devices that support hyphens usually embedded their own patterns (and most likely applying English hyphenation rules to languages like Polish... which is why it's usually abysmal). But many of the older devices out there don't support hyphenation at all. Again, it's best to just leave it that way. Don't muddle your ebooks with Soft Hyphens, because they introduce much worse problems than poorer justification. Side Note: Many programs also apply very bad/wrong left/right hyphens... like Microsoft Word has right-hyphen-chars as 2... so you get atrocious hyphenation at the 2-letter "-ly". Proper English typography has 3 (which is what LaTeX sets it to). Last edited by Tex2002ans; 09-14-2019 at 01:39 PM. |
|||||||
Advert | |
|
09-14-2019, 03:00 PM | #123 |
Grand Sorcerer
Posts: 12,176
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I've often seen issues on Kobo's when reading cookbooks in ePub format. Quite often fractions display as a square due to the symbol not being in the font being used. KePub rendering is normally correct due to the engine finding the missing symbol in the default font.
|
09-14-2019, 03:06 PM | #124 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
|
|
09-14-2019, 03:14 PM | #125 |
A Hairy Wizard
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Or..... just don't use text-align:justify.... no hyphens needed, "ever".
|
Advert | |
|
09-14-2019, 03:37 PM | #126 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
09-14-2019, 06:56 PM | #127 |
Bibliophagist
Posts: 35,512
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Personally, I like ragged right much better than justified. For your tastes, seeing a chapter header such as 'CHAPTER ELEVEN' being split into 'CHAPTER' and ' ELEVEN' and having both words stretched across the screen looks good but I beg to differ.
|
09-14-2019, 07:21 PM | #128 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
And when you left justify, you are not guaranteeing that there won't be any hyphenation. One thing I really don't like it the gaps you get between the end of the last word and the margin. It can look really bad without hyphenation. Just thing of a line where you have a long word of 7-9 characters that doesn't fit by one character. That looks awful. Full justified with hyphens looks better to most people (myself included). |
|
09-15-2019, 02:01 AM | #129 | |
Bibliophagist
Posts: 35,512
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
09-15-2019, 09:21 AM | #130 | |
A Hairy Wizard
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
edit: For that matter, on most devices, the user can simply change the alignment to their own choice... so, you can select justify and deal with bad hyphens all you want! Last edited by Turtle91; 09-15-2019 at 09:26 AM. |
|
09-15-2019, 09:50 AM | #131 | ||
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
09-15-2019, 09:55 AM | #132 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-15-2019, 10:04 AM | #133 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So if we get a similar formatted eBook, why are there now complaints? I complain when the format is lousy. But with pBooks, the format was not lousy. And we did have some L/R margins because of the spine. Now we don't need such margins because there is no spine. So can we not complain when an eBook is formatted well enough and only complain when it's poorly formatted? Left justified is not enjoyable to read. Yes, I have read many eBooks left justified, but no more. |
|
09-15-2019, 11:35 AM | #134 | |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The fact is that there has always been a wide disparity of notions about how text was supposed to look on a page--physical or electronic. Enough so that I feel confident in doubting just about anybody who says "this is the way it's supposed to be done." *shrug* |
|
09-15-2019, 11:51 AM | #135 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So really, when things are done that prevent these setting from working, then it may not be as good a reading experience. Some of the formatting used in a lot of eBooks looks kind of sloppy (IMHO). And with this sloppy formatting, look at the pBook and there isn't such sloppy formatting. |
|
Tags |
epub, font, woff2 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin Best Practices | sbenz | Development | 12 | 11-28-2014 10:34 PM |
Superscript best practices? | DiapDealer | ePub | 19 | 04-14-2012 04:28 PM |
Apple practices...... | carpetmojo | News | 67 | 02-16-2012 05:15 AM |
Best practices for margins | Mookiemon | ePub | 8 | 07-24-2011 07:13 PM |
DTBook - best practices | Nate the great | Workshop | 6 | 05-15-2009 04:06 AM |