09-03-2019, 09:19 AM | #61 | |
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:
Just like monospaced font always did, you end up with rivers, if you use it for more than a word or so. ASCII art? In an eBook? Rotsa ruck with that, as Scooby-Doo would say. Hitch |
|
09-03-2019, 10:40 AM | #62 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
Wasn't suggesting to use it for the paragraph text, but ePub uses html and both 'pre' and 'code' elements are suppose to render with a monospace font.
So like it or not, readers that do not have a monospace font have incomplete support for the specification which unfortunately requires books that do use pre and code to include a monospace font to deal with those readers. Maybe not very many books need those tags, but they are part of the standard. |
Advert | |
|
09-03-2019, 11:29 AM | #63 | |
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:
Not to mention all the devices that won't display an embedded font, no matter what one does, OR the devices and software readers that will allow the end user to completely override what the designer intended. It's nothing to do with what I like. It's just...the devices, software, etc. But, again--it's your book and you can do with it what you will. If you want to use monospace font for something, have at it! :-) Hitch |
|
09-03-2019, 11:33 AM | #64 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
What is it you need to use a monospace font for? Is it something you can use the default sans-serif font instead? Also, Hitch is a professional and knows what she is talking about when it comes to fonts. I agree as I've seen plenty of embedded fonts that are a big fail. What to do is make a test eBook that embeds the fonts you want and try them with a 300DPI eInk Reader and see how they look. Do they have enough weight? My guess is no they don't. Last edited by JSWolf; 09-03-2019 at 11:37 AM. |
|
09-03-2019, 11:59 AM | #65 | |
Unicycle Daredevil
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
Quote:
|
|
Advert | |
|
09-03-2019, 02:38 PM | #66 | |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
"The last year within the Digital Publishing Toolkit research project, Hogeschool van Amsterdam and Hogeschool Rotterdam together with various designers and developers, collaboratively worked on the EPUB From Print to Ebooks: a Hybrid Publishing Toolkit for the Arts."
... enjoy monospaced headings Quote:
|
|
09-03-2019, 06:18 PM | #67 | |
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:
When I see that they set this NOT to hyphenate, and deliberately used monospaced layout and a mono font... this is going to look really bloody clunky in a smaller device. Also--does anyone remember why I'm thinking that these headings are going to break queerly on Nooks? Something about this is dinging my noggin'. Anybody else remember? Dubshuff? Do you recall why this is making me think it would break on a Nook? Hitch |
|
09-03-2019, 06:24 PM | #68 |
Unicycle Daredevil
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
|
09-03-2019, 06:38 PM | #69 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
Code:
Knock Knock, Neo The Matrix has you... Follow the white rabbit Think Differently or on iOS, drop the ly. |
09-03-2019, 06:45 PM | #70 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-03-2019, 06:50 PM | #71 | |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
Quote:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="calibre:cover" content="true"/> <title>Cover</title> |
|
09-03-2019, 06:59 PM | #72 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
To change the options, you want.. Tools > Preferences > Editor settings and uncheck Beautify individual files automatically when they are open Tools > Preferences > Integ... (last icon on the left side) and uncheck Update metadata embedded in the book when opening. By doing this, the ePub will not be changed when loaded in the the editor. |
|
09-03-2019, 07:34 PM | #73 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
And remember:
Any sort of fancy CSS3 scrollbars don't work. So many of the other solutions online try to use Javascript to help line breaking (displaying indented arrows, numbering lines, etc.)... can't rely on that in ebooks either. |
|
09-03-2019, 09:03 PM | #74 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
The point isn't that huge code listings in an ePub is a good idea.
The point is that there are legitimate reasons for monospace fonts in currently produced media, such as was used on the Thomas A. Anderson's computer screen in The Matrix when Trinity contacted him. And none of those lines would cause a problem in a book if using the code tag, which allows for line wrapping when needed. Readers without monospace fonts are an unfortunate decision because there are legitimate reasons for publishers to use them where a variable-width font does not give the atmosphere to the reader. I do not understand why that is hard for some to comprehend. Publishers who use a code tag, a perfectly legal tag to use - or even a span if they want monospace but it's not semantic code - have no choice but to bundle their own because some devices lack the ability to properly render HTML that is specifically supported by ePub. |
09-03-2019, 09:15 PM | #75 | ||
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:
Then you get the eReaders, software "devices" built by every Tom, Dick and Harriet, which will either automatically override all, repeat, ALL the CSS and HTML that you've put in the book, or only "some" and/or will allow the user to do so. And new-to-it users, who think that everything in the standard is, of course, supported someplace when in reality, the opposite is true. Sure--there are some pure, plain,to-the-standards eReaders out there, but by and large, it's the sellers of the devices that are driving the bus. Don't believe me? Look at the last few revisions and "updates" to the ePUB standard, notice how much of it has to do with multimedia and Apple and then cogitate on who is maintaining the "standards" and for whom.... There are plenty of readers w/o monospace fonts. As I tried to explain, initially, I have no issue with them when used in a limited way. As long as they aren't used for the reading material, by and large, hey--your book. Your choice. Vis: the calibre metadata tags--I recommend you review what Calibre is for--a library tool--and why those tags exist. They have nothing to do with walled gardens. Hitch |
||
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 |