![]() |
#31 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
![]() |
![]() |
![]() |
#32 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
I don't know, maybe it's overkill, but what harm does it do to include it, just in case? ![]() Thanks to Tex, too, for your other detailed reply! Looks very interesting, even promising to actually get that no-lig issue to work right -- I'll get back for a closer look at that after the weekend. ![]() Last edited by Psymon; 01-19-2019 at 06:11 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,353
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Tex is correct - that is what devices are supposed to do: "Fail gracefully"
Unfortunately not all devices do what the spec requires ![]() ![]() Just be very careful to validate the css as well - and test, test, test! |
![]() |
![]() |
![]() |
#34 | ||
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#35 | |
Enthusiast
![]() Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
Quote:
Code:
.noligs { font-feature-settings: "liga" 0, "dlig" 0, "rlig" 0, "hlig" 0, "calt" 0; } |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
ADE (RMSDK) will ignore the CSS 100% if there is one single error. And most ePub is read using ADE. Also,I can say that most of that code won't work with the most widely used versions of ADE.
|
![]() |
![]() |
![]() |
#37 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Apply the ligatures to your <p>s or to your specific classes. But there's no need for it to be on your html, body, fonts, p, classes, [...]. You're just going to cause yourself headaches when you can't figure out CSS Specificity: https://css-tricks.com/specifics-on-css-specificity/ (What takes priority/overrides what.) And then you'll be scratching your head as to why oh why your ligature can't be disabled. (Sound like someone?) :P Quote:
Unprefixed forms: https://developer.mozilla.org/en-US/...ature-settings Prefixed forms: https://css-tricks.com/almanac/prope...ture-settings/ Quote:
The prefixed versions work on those specific browser vendors, and are used when the standards are still in flux: https://developer.mozilla.org/en-US/.../Vendor_Prefix If the device don't understand it, it don't use it! (It's how you can use CSS3 like rounded borders... where old ADE would just display square edges.) Just take disabling hyphens:
Like I said. Hideous? Yes. Would I do it? No (I would leave hyphenation to the device. Disabling would disproportionately hurt smaller devices + those who read with larger font sizes.). Last edited by Tex2002ans; 01-20-2019 at 02:15 PM. |
|||
![]() |
![]() |
![]() |
#38 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I opened a new thread about Implementing small-caps with Open-type features
Last edited by roger64; 03-11-2019 at 09:03 PM. Reason: opening new thread |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I turn off ligatures in ADE? | JSWolf | ePub | 15 | 01-18-2013 04:10 PM |
List of ligatures | JSWolf | General Discussions | 12 | 01-17-2013 11:20 PM |
Odyssey Hyphenation and Ligatures? | owly | Bookeen | 2 | 12-21-2011 02:49 PM |
old english ligatures | bobcdy | Workshop | 3 | 08-26-2011 05:18 PM |
What's with ligatures. | frabjous | ePub | 44 | 03-03-2010 08:02 PM |