11-14-2019, 03:48 AM | #1171 |
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
|
11-14-2019, 04:56 AM | #1172 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Knowing this stuff is literally my job. I get paid for it. Last edited by Rev. Bob; 11-14-2019 at 05:02 AM. |
|
Advert | |
|
11-14-2019, 06:34 AM | #1173 |
Resident Curmudgeon
Posts: 76,368
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Here's a question I hope someone can answer. RMSDK comes with monospace. Why did Kobo break it?
|
11-14-2019, 07:06 AM | #1174 | ||||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
Quote:
And back to my comment about ePub 2. The CSS standard that uses is a lot vaguer about this. |
||||
11-14-2019, 07:28 AM | #1175 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
What does "RMSDK comes with monospace" mean? Does it mean "Includes a monospace font". Or "renders things marked as monospace"? Or something else. How do you think that Kobo broke this? I mean, apart from not actually including a monospace font in the firmware, how is it actually broken? When you answer, please be specific and details. Or point to actual examples of the problem (beyond no monospace font being supplied, as we all know that). |
|
Advert | |
|
11-14-2019, 07:39 AM | #1176 | |
Grand Sorcerer
Posts: 7,534
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Glo HD
|
Quote:
Isn't that the purpose of the epub spec: not needing to know the each implementation of the an epub renderer as to where fonts are stored, how they are named, ... And in case it isn't clear, I'm not talking about some random mal-formed corner case epub; I'm asking about well formed commercial epubs where the coder knows what they are doing, so they can get expected results on as many platforms as possible. |
|
11-14-2019, 10:42 AM | #1177 | |||||
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Quote:
I’ll even go so far as to say that it’s reasonable for a platform to slide on “fantasy” and “cursive” defaults… because those definitions are so vague that they’re so rarely used; a designer has no reasonable expectation about what specifying either of those will look like, and that makes a lot of difference. But monospace? There are plenty of reasons to use that, so much so that browsers have allowed users to define it since before CSS was even imagined. Users and publishers alike have a reasonable expectation that a system capable of handling CSS will have a default monospace font installed. Bottom line, including true monospace support should be a no-brainer. It’s not like this is a new or uncommon use case, and monospace fonts aren’t exactly rare. Quote:
Quote:
Quote:
I mean, say your program looks in a specified location and finds something called Frit-Qat. How does it determine what variety of font that is? As a human, it’s relatively easy: look at a sample, see if it’s got serifs, see if it uses proportional spacing, compare it to cursive writing, and see if it’s a decorative oddball design. But software can’t make those judgment calls. You have to make the assessment and tell it… something you can’t really do with sideloaded fonts, which are the only ones users have “legitimate” access to. |
|||||
11-14-2019, 11:44 AM | #1178 | |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Standard epubs (not just on Kobo) have always required CSS @font-face statement(s) containing the precise path to the font file(s) to be used. Sometimes that path points to a file inside the epub (standard coding for embedded fonts). Sometimes (Kobo and Sony) you can employ tricks to point to a file stored on the device itself - which saves all that messing around with font embedding. In addition, Kobo (and probably other Adobe RMSDK users) does have a part of the firmware (the Adobe RMSDK part) where there are instructions (for standard epub not kepub) telling the Adobe renderer what to do with the generic font-family values: - font-family:serif should use Georgia - font-family:sans-serif should use Avenir - font-family:monospace should use CourierStd Unfortunately, CourierStd is not included in the Kobo firmware. Even if it was the code is wrong because the coded CourierStd filenames do not match the strict naming convention Kobo uses. The kobopatch I've mentioned previously corrects the faulty pointers to non-existent CourierStd files allowing the user to set correct pointers to a sideloaded font-family which does exist. But patching is hacking and not everyone wants to do that ... As for the Kobo automatically deducing which of its available fonts can be used for monospace ... When the Kobo loads and merges its built-in fonts plus your sideloaded fonts I don't believe it has any idea what each of those fonts is (serif, sans-serif, monospace, small-caps, cursive, ...). We know the internal fontname is important to Kobo but there is too much variation to form reliable conclusions based on fontname only. If you open a font file in a font editor you can see an enormous amount of metadata. Some of those fields might be useful but you can bet your bottom dollar that font creators have not applied that metadata consistently over the years - much like publishers have no agreed standards about adding metadata to ebooks. Add to that the fact that fonts have been used by major corporations (Microsoft, Apple, IBM, Adobe, ...) who will never agree on standards unless they're the ones controlling the standards. BTW, I'm no expert on epub standards either, but I have had a lot of practice looking for usable workarounds on various eink devices and Android apps. |
|
11-14-2019, 11:48 AM | #1179 | |
Wizard
Posts: 2,851
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Quote:
|
|
11-14-2019, 12:39 PM | #1180 |
Grand Sorcerer
Posts: 7,534
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Glo HD
|
jackie_w, thank you for the explanation and bearing with me.
|
11-14-2019, 09:41 PM | #1181 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
|
11-14-2019, 09:42 PM | #1182 |
Resident Curmudgeon
Posts: 76,368
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's because Kobo botched it. monospace should work in RMDSK on Kobo Readers. It's a part of ADE which is what RMSDK is. So yes, it is a bug that monospace does not render a monospace font when it should.
|
11-14-2019, 10:23 PM | #1183 | |
Wizard
Posts: 2,851
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Quote:
Not even remotely true, a bug is when software does something the programmers don't want, such as crashing, not opening something, or as was introduced in 4.18 not properly updating the time remaining in reading progress. A deficiency is when the program does not do something that some may reasonably expect it to do, such as displaying monospace fonts in this case. Those books that use them are still readable, though slightly harder, save perhaps for specific languages. I wouldn't be able to comment on how a vertical language would be affected here. Or if it were unable to change fonts, we the user may find it deficient given this is a feature we have come to expect from virtually ever ereader. I wouldn't have thought the difference need be explained to someone in a technical field where semantics are important because <blah> is not the same as {blah} nor [ blah] |
|
11-14-2019, 10:25 PM | #1184 | |||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
|
|||
11-14-2019, 10:27 PM | #1185 | ||
Wizard
Posts: 2,851
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Quote:
Just so you don't need to scroll back to the question: Quote:
|
||
Tags |
pocket app |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Probably a Kobo bug. | eXistenZ | Kobo Reader | 19 | 06-13-2014 10:16 PM |
[Old Thread] Bug in downloading metadata | Dasun | Library Management | 3 | 03-21-2011 08:31 PM |
Possible bug or misfeature when a thread is closed | tompe | Feedback | 7 | 10-05-2010 10:38 AM |