![]() |
#271 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Literata works quite well, I did end up mucking about with fontforge, and enabled kerning and removed hints. I added some weight with font control, because it was a small change. For now it's replaced Minion Pro for me.
|
![]() |
![]() |
![]() |
#272 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
In each case the fonts I had that didn't work properly with KePubs had the PANOSE weight set incorrectly, I didn't need to remove the PANOSE info altogether, I just corrected the weight so it matched the actual font weights (book/bold.) The only font that still has problems is the built-in OpenDyslexic font, so perhaps someone could tell Kobo that they need to look at the PANOSE weight for that font? |
|
![]() |
![]() |
![]() |
#273 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
This may require some more investigation from interested parties as to exactly what has a detrimental effect and what does not. The only reason I thought to change the PANOSE information at all (considering I know bugger all about fonts...) is that was the only major difference I could see between the two font versions (that wasn't kerning or ligatures), so I thought aha! maybe this needs to be investigated... |
|
![]() |
![]() |
![]() |
#274 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Bad idea to remove hinting. Bad idea to add weight in FontForge before trying the advanced font controls.
|
![]() |
![]() |
![]() |
#275 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
If a font has been "hand hinted" (usually for LCD screens), then chances are, they will look awful on the eink screen. Case in point, The font designer of Alegreya uploaded a hand hinted True Type version of the font. I tried it on my Kobo. I removed it immediately because it looked terrible. Last edited by sherman; 09-07-2015 at 05:08 AM. |
|
![]() |
![]() |
![]() |
#276 | |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
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:
![]() |
|
![]() |
![]() |
![]() |
#277 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Could this be a Qt issue? I know Kobo is using this for other font related functions, so this could be a shortcoming there.
|
![]() |
![]() |
![]() |
#278 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
|
Quote:
Hinting, by its very nature, is for the screens. It does interpolation of the pixels so that glyphs would seem more natural, more like print. Hinting instructions tells the renderer which pixels are to be interpolated. But the screens the hinting is designed for are all geometrically aligned and that is why analysis works and interpolation happens so beautifully. On the other hand, eInk capsules aren't geometrically aligned, they are like this: https://upload.wikimedia.org/wikiped...rocapsules.png (this is from a Kindle) There absolutely no way hinting that depends on any kind of a geometrical premise would work and there is no system of hinting I know of that doesn't depend on it. For that to happen the system needs to analysis the eInk capsules and the placement of the glyphs on the page, create hinting instructions for every glyph, and do the hinting. All of them on the fly and page-to-page basis. Our eReaders don't have this kind of resources to use effectively yet. I have no idea why you keep telling that hinting works, that is a mathematical impossibility; anything that works, works by accident. And about the advanced font controls, it is just a hack. Adding weight to glyphs by automation requires advanced algorithms and analysis. While Kobo's hack works, it messes up the balance. Sometimes a leg becomes thicker, sometimes height becomes uneven, sometimes we lose sharpness... I mean, it is just a fast hack. But adding weight by using algorithms of FontForge (or Glyphs, the one I use) offers much better end results. It might be destructive but no one is forcing you to erase the source. Last edited by GERGE; 09-07-2015 at 01:59 PM. |
|
![]() |
![]() |
![]() |
#279 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
Once upon a time, when looked at text, fonts looked extremely ugly. They were stair-stepped. Each pixel was either 100% foreground color or 100% background color. Then somebody invented anti-aliasing. Anti-aliasing works this way: Pixel doesn't have to be either black or white, it can have 256 shades of grey, depending on how much of the pixel would be white and how much would be black if the font border line went through the pixel. This works nice for letters like "S" that are all curves, but not with horizontal and vertical lines. If the letter 'I', for example, was rendered big enough, so that the stem was wide several pixels it didn't matter that the border pixels were grey. But if it was about 1 pixel wide you had to force the borders of the stem so they are located on the borders of the pixels, so instead of two pixels with 50% grey you get 1 pixel with 100% black and surrounding pixels are white. To get this, you have to round the dimensions of letters so that the borders of letters fall exactly between pixel borders. BUT, when you start rounding you might get capital "I" where left serif is 2 pixels wide and right serif is 1 pixel wide. This is why Microsoft started using hinting. Hinting is set of rules saying how the dimensions are supposed to be rounded - so that, for example, you do not get letter "T" with one arm shorter than the other. Hinting information is basically a set of instructions, similar to assembly code that tells computer how to round the dimensions, so that all stems of letters are same width, all serifs are same dimensions, ... Nowadays, there are lots of clever algorithms baked into the [font] rendering libraries, and the computers have enough processing capacity so even without hinting info contained within the font you get nice looking letters on the screen. Plus, most of the hinting info in the font is automatically generated. Still, hand-tweaked hinting info inside the font provides even better results. This is A LOT of work and this is the reason why one good font costs lots of money. Quote:
|
||
![]() |
![]() |
![]() |
#280 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,950
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
|
|
![]() |
![]() |
![]() |
#281 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
I am talking about cells of electronics that "flip the bits". The tiny capsules that contain the particles are non-uniform and smaller than the grid of electronics. See picture linked to the post you are answering The higher the resolution, the less need for hinting. An old monitor running at 640x480 had pixels much more visible to the naked eye than on a 6" screen with 1430x1080 pixels. Last edited by kacir; 09-08-2015 at 02:24 AM. |
|
![]() |
![]() |
![]() |
#282 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
If you're not sure about the hinting the best thing is just to try the font with and without hints and see which looks better to you.
I haven't yet found a font that looks better with hinting, but I have found some that look much much better without hinting. Edit: For most of them the hinting has no noticable effect one way or the other, so I might as well remove the hinting to save some memory. Last edited by GeoffR; 09-08-2015 at 01:16 AM. Reason: For most of them ... |
![]() |
![]() |
![]() |
#283 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
|
Maybe we had a bit of miscommunication there but what I mean by interpolating the pixels is the same thing you are saying. Hinting alignes to the grid, plays with the stem weights... As far as I am aware, hinting changes which pixels the glyphs are rendered upon.
So, this is interpolating, interpolation means creating new data points by using known data; that is, changing the pixels it is rendered upon. And while the roots of cells geometrically aligned, I don't think this means much in the end. It can be likened to holding many helium filled balloons in your hand. You can keep the strings in your hand pretty well organized, but how would the balloons look? I am aware that this is not a good analogy, but the relationship between the electronic grid and capsules in the screen aren't so dissimilar. Not even the size of capsules are similar on epaper, here is another picture: https://c2.staticflickr.com/4/3101/2...c1d423bf_m.jpg (I have no idea which ereader this is, but this is clearly epaper) |
![]() |
![]() |
![]() |
#284 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
So I found another issue with fonts last night, I don't know whether this is a known issue or not.
It seems that if you have two fonts named like so: Code:
Alegreya Alegreya SC To solve this, I simply had to change the font name of the small caps variant to remove the space. So it would seem that if you have to versions of a font, and the names up to the first whitespace are identical, there will be problems. |
![]() |
![]() |
![]() |
#285 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I have "Gentium Basic" and "Gentium Book Basic" installed and have no problems at all. I also have "Tex Gyre Adventor", "TeX Gyre Bonum", "TeX Gyre Pagella", and others which have no problems. But I tried "Courier Prime" and "Courier Prime Sans" and had problems, only the Sans could be selected in the EPUB reader. Quote:
Last edited by GeoffR; 09-08-2015 at 11:07 PM. Reason: I also have "Tex Gyre Adventor", ... |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Summary | sunny1z | Kobo Reader | 1 | 01-18-2013 08:46 AM |
Troubleshooting Reading Notes on K3 in Summary | sirmaru | Amazon Kindle | 0 | 09-26-2010 07:55 PM |
book summary in reader | coolnamehere | Calibre | 2 | 06-06-2010 04:01 PM |
Book Summary | persiphone | Calibre | 5 | 03-05-2009 01:51 PM |
Book summary | macphersondh | Sony Reader Dev Corner | 13 | 12-21-2008 08:25 PM |