Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2014, 01:23 PM   #1
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Do the Kobo firmwares support ligatures?

I was wondering if the Kobo rendering engine supports font ligatures. And by support I mean that if the source text contains just the normal individual characters but a font contains proper ligature definitions, the ligature is displayed. Like this (http://www.impallari.com/lobster/):



where the text is simply "venezuela fixture exitoso". The bottom row shows the ligatures for "ez", "fix", "ex", "os" (it also shows terminal letters, but that's a different feature).

Last edited by Jellby; 05-25-2014 at 04:54 PM.
Jellby is offline   Reply With Quote
Old 05-25-2014, 04:13 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Jellby View Post
I was wondering if the Kobo rendering engine supports font ligatures. And by support I mean that if the source text contains just the normal individual characters but a font contains proper ligature definitions, the ligature is displayed. Like this (http://www.impallari.com/lobster/):

where the text is simply "venezuela fixture exitoso". The bottom row shows the ligatures for "ez", "fix", "ex", "os" (it also shows terminal letters, but that's a different feature).
Not sure if I would call those ligatures other than the fi pair. To me, they look more like kerning. However, the Kobo ereaders have some kerning support if the font supports it. Some fonts have excellent kerning support, others have minimal support.

BTW, the link you posted gives me a 404 error unless I manually add the .gif file name to the URL manually.

Regards,
David
DNSB is online now   Reply With Quote
Advert
Old 05-25-2014, 05:03 PM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
It's true that the "ez" is not a ligature in its original sense, but "ex" and "os" are definitely ligatures. Technically, if "ez" is defined in the font as a single glyph, then it's a ligature too.
Kerning affects only the spacing.

The main point here is that the text contains only "e" and "x", not a special character for the combination "ex". And the font has the information to know that whenever "e" and "x" are together, it shouldn't draw the normal shapes (top line), but instead use a special glyph that contains the "ex" combination.

So, if a book contains the word "office", do the Kobos, with any font, display an "ffi" ligature?
Jellby is offline   Reply With Quote
Old 05-25-2014, 05:26 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,528
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The link gets messed up due to the ): at the end... Try http://www.impallari.com/lobster/
PeterT is offline   Reply With Quote
Old 05-25-2014, 07:39 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Jellby View Post
It's true that the "ez" is not a ligature in its original sense, but "ex" and "os" are definitely ligatures. Technically, if "ez" is defined in the font as a single glyph, then it's a ligature too.
Kerning affects only the spacing.

The main point here is that the text contains only "e" and "x", not a special character for the combination "ex". And the font has the information to know that whenever "e" and "x" are together, it shouldn't draw the normal shapes (top line), but instead use a special glyph that contains the "ex" combination.

So, if a book contains the word "office", do the Kobos, with any font, display an "ffi" ligature?
Looking at the Lobster font, those conjoined characters seem to be in the 65537 (0x10001) to 65634 (0x10062) range which would mean that you would need to use that glyph to replace the standard character pair and use the Lobster font to display that character.

I do wonder why they didn't place those characters in the 0xE000 to 0x0F8FF which is the Private Use Area.

With your example of "office", you would need to specify the "ffi' ligature though quite a few fonts come close to the appearance of the ligature using kerning and/or GPOS.

Regards,
David
DNSB is online now   Reply With Quote
Advert
Old 05-26-2014, 04:38 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DNSB View Post
With your example of "office", you would need to specify the "ffi' ligature though quite a few fonts come close to the appearance of the ligature using kerning and/or GPOS.
That means it doesn't support ligatures then, at least not in the way I'd like.
Jellby is offline   Reply With Quote
Old 05-26-2014, 05:21 AM   #7
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
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
I just did a very quick test and created test files with the three words from the example above: a regular epub, and a kepub. On my Aura HD, the regular epub displays the ligatures correctly, the kepub doesn't.

EDIT: Added a few words. Other ligatures, like ffi, working beautifully in the regular epub. The end letters too. No luck with the kepub.

Last edited by doubleshuffle; 05-26-2014 at 05:39 AM.
doubleshuffle is offline   Reply With Quote
Old 05-26-2014, 10:35 AM   #8
Anak
Guru
Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.
 
Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
Quote:
Originally Posted by doubleshuffle View Post
I just did a very quick test and created test files with the three words from the example above: a regular epub, and a kepub. On my Aura HD, the regular epub displays the ligatures correctly, the kepub doesn't.

EDIT: Added a few words. Other ligatures, like ffi, working beautifully in the regular epub. The end letters too. No luck with the kepub.
Correct, epub does support the use of ligatures, kepub don't.
Ligatures only work, offcourse if the font contains the OpenType typographic features for ligatures.
Note: ligature support for standard Ligatures (liga) only. Other forms of ligatures don't work. E.g. contextual ligatures (clig), discretionary ligatures (dlig).

To force the render engine not to use ligatures add this code to the CSS
Code:
adobe-text-layout: optimizeSpeed;
Turn on (which is the default setting; there is no need to add this line of code)
Code:
adobe-text-layout:optimizeQuality;
Anak is offline   Reply With Quote
Old 05-26-2014, 11:54 AM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Jellby View Post
That means it doesn't support ligatures then, at least not in the way I'd like.
Unfortunately, that mind reading software is still a few years away. There are some ligatures that are more or less standard such as the Æ entity, others can be accessed by using the &#xYYYY; entity where YYYY is a hex number. Then there is the CSS contextual support which makes use of the OpenType calt property. You could try using font-variant-ligatures: contextual which would come the closest to what you appear to want. Again this requires support baked into the font.

Please note that the calt feature is intended for use by script typefaces which are intended to have their glyphs joined. For my part, I find that script typefaces are not enjoyable for reading for any length of time. A short paragraph is about my limit.

You can check the Microsoft tag registry for more on various OpenType features. Check https://www.microsoft.com/typography...eatures_ae.htm for example.

Regards,
David
DNSB is online now   Reply With Quote
Old 05-27-2014, 07:01 PM   #10
Alastair_S
Zealot
Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.Alastair_S ought to be getting tired of karma fortunes by now.
 
Posts: 121
Karma: 1767614
Join Date: Feb 2014
Device: Kobo Touch
Quote:
Originally Posted by Anak View Post
Ligatures only work, of course if the font contains the OpenType typographic features for ligatures.
Is a list of Kobo compatible fonts that contain ligatures available anywhere?
Alastair_S is offline   Reply With Quote
Old 05-30-2014, 03:55 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DNSB View Post
Unfortunately, that mind reading software is still a few years away. There are some ligatures that are more or less standard such as the Æ entity, others can be accessed by using the &#xYYYY; entity where YYYY is a hex number. Then there is the CSS contextual support which makes use of the OpenType calt property. You could try using font-variant-ligatures: contextual which would come the closest to what you appear to want. Again this requires support baked into the font.
No mind-reading for me. I probably explained myself wrong, or we are talking about different things. What I wish is just support for the "liga" feature of OpenType (of course, support por "dlig", "calt", etc. would be a bonus). Displaying a glyph by using the &#xYYYY; code for it is not "ligature support" in my book.

Sure, it requires support in the font, my question was whether the Kobo can make use of what the font has to offer.
Jellby is offline   Reply With Quote
Old 05-30-2014, 04:02 AM   #12
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
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:
Originally Posted by Jellby View Post
Sure, it requires support in the font, my question was whether the Kobo can make use of what the font has to offer.
This question has been answered in posts #7 and #8 of this thread...
doubleshuffle is offline   Reply With Quote
Old 05-30-2014, 06:06 AM   #13
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by doubleshuffle View Post
This question has been answered in posts #7 and #8 of this thread...
Yes, I saw that, and thank you. This was just post-answer discussion
Jellby is offline   Reply With Quote
Old 05-31-2014, 10:25 AM   #14
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
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:
Originally Posted by Jellby View Post
Yes, I saw that, and thank you. This was just post-answer discussion
Ah, I see. I'll try to optimize my mind-reading wetware...
doubleshuffle is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List of ligatures JSWolf General Discussions 12 01-17-2013 11:20 PM
What are KOBO Touch supported firmwares ? magphil Devices 12 07-22-2012 04:31 PM
Odyssey Hyphenation and Ligatures? owly Bookeen 2 12-21-2011 02:49 PM
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless shaf Kobo Reader 5 12-04-2011 05:10 PM
What's with ligatures. frabjous ePub 44 03-03-2010 08:02 PM


All times are GMT -4. The time now is 01:17 AM.


MobileRead.com is a privately owned, operated and funded community.