![]() |
#16 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
![]() Hitch |
|
![]() |
![]() |
![]() |
#17 |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Oh, of course, I can certainly understand your reasons for doing so -- just as with designing for the Amazon market, it totally makes sense that you want to reach that outlet to sell your books, and need to design for that. I'm not designing to "sell," though, but rather the emphasis for me is on being free to design things the way I want to (and not have those designs fall apart in Kindle or whatever).
I guess each approach has its reasons and merits -- it's just that with mine, you can't make any sort of living from it. I really do applaud you, though, and what you do, Hitch. It's not what I do, but nevertheless you're an "ebook hero" of mine. I guess it's similar to, say, a heavy metal guitarist being able to appreciate a classical violinist (or vice versa) or something. ![]() ![]() |
![]() |
![]() |
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
I would highly recommend reading these fantastic articles (they also include fantastic visual comparisons):
Each of them goes through reasons/locations where you might want to include each setting. This is also another good article showing visual examples of each setting + the CSS to enable each one:
And Mozilla's page on font-feature-settings is more developer-focused (but still fantastic). On the left-hand side, you can see select between different CSS properties you can use (like font-variant-ligatures, font-kerning, [...]). Side Note: I was planning on writing a more in-depth article about this (for my blog, when that gets finalized lol). On Reddit a few months back, someone was posting about "O vs 0", and it was most likely an OpenType issue. So I wrote a few decent answers explaining the situation. ![]() Side Note #2: And like Hitch mentioned, if you don't specify it in your CSS, there ain't no way it's turning on. It's all off by default (or parts of it already enabled/disabled by the browser/reading system when needed, like at certain font sizes... see "text-rendering" at CSS-Tricks). And many times, some settings are off by default for good reason (may slow rendering down dramatically). Last edited by Tex2002ans; 01-16-2019 at 04:11 PM. |
|
![]() |
![]() |
![]() |
#19 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Oh, wow, took a peek at just the first link so far, and it looks like I have my studying to do!!
![]() And in that regard, too, I'm reminded of what Jackie wrote earlier, too... Quote:
I haven't tried it, but I also don't have every device to test it out on, either -- so perhaps I'm better off just doing it my kludgy way after all? ![]() Last edited by Psymon; 01-16-2019 at 05:54 PM. |
|
![]() |
![]() |
![]() |
#20 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
![]() Hitch |
|
![]() |
![]() |
![]() |
#21 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Further to my last reply, in the section on ligatures at that one link you provided, Tex...
https://helpx.adobe.com/fonts/using/...ntax.html#liga ...it says the following... Quote:
|
|
![]() |
![]() |
![]() |
#22 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
My apologies, though, if you can't get through the door tonight and have to sleep outdoors! Hope it's not too cold, wherever you are. ![]() |
|
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
iBooks? ADE? Sigil? Chrome? Firefox? [...] What program/device are you testing this in? 2. "st" is a Discretionary Ligature. That means it would fall under "dlig": https://helpx.adobe.com/fonts/using/...ntax.html#dlig (And/or Historical "hlig" (?).) 3. You mentioned you were pasting CSS from elsewhere. Can we see your entire CSS file? You probably have something overriding something else. If it's the EPUB you linked to in Post #6, you inserted: Code:
-moz-font-feature-settings: "hist=1, liga=1, dlig=1"; -ms-font-feature-settings: "hist", "liga", "dlig"; -webkit-font-feature-settings: "hist", "liga", "dlig"; -o-font-feature-settings: "hist", "liga", "dlig"; font-feature-settings: "hist", "liga", "dlig"; Remember, KISS stupid. :P Also, (ugly hack), I saw a Stack Exchange answer mentioning sticking a zero-width joiner (‍) between the st to stop the ligature from working: Code:
<p>This is a tes‍ting word</p> Last edited by Tex2002ans; 01-16-2019 at 09:09 PM. |
|
![]() |
![]() |
![]() |
#24 |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Hey, Tex, pardon this brief reply -- I'm having some health issues at the moment, plus my keyboard is totally acting up on me and screwing up text I'm trying to type.
You make some very good points -- in particular about cleaning up all that redundancy in my CSS. And re #1, I meant in Sigil and ADE (and I presumed in iBooks). VERY interesting about that zero-width joiner, too! Oh, dammit! I can't type on this stupid keyboard!!! ![]() Might take me a couple/few days -- sorry, this keyboard issue is driving me crazy! ![]() Last edited by Psymon; 01-17-2019 at 05:55 AM. |
![]() |
![]() |
![]() |
#25 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
Hitch said:
who'd use a subset version? Oh, some wonky folks pirate anything --- there are countless partial fonts out on the free sites that must be subsets lifted from various sources. (I don't mean the ones labeled "Demo".) Last edited by GrannyGrump; 01-17-2019 at 04:06 AM. |
![]() |
![]() |
![]() |
#26 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
![]() |
![]() |
![]() |
#27 | ||
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
![]() Quote:
And then I thought about having a license where only I could be giving them away via my site, just to make sure that other font sites don't have older versions, but invariably my fonts will probably end up "out there" anyway, and then what -- am I going to go after people on the other side of the world? So I just said forget it -- with the SIL OFL, all those headaches are done with. It's a shame that inevitably older versions will end up out there, but what can ya do? If nothing else, it's a good Buddhist lesson in "non-attachment." As far as my books go in which I'll use them, I doubt I'll ever subset them, if I can help it -- at least if people rip the fonts from my book, they're getting the full version of them (even if it means an extra meg or something in the total file size). (PS. Still might take me a couple/few days to get back re that other stuff Tex mentioned -- lots going on at the moment.) Last edited by Psymon; 01-17-2019 at 09:27 AM. |
||
![]() |
![]() |
![]() |
#28 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
It works! Or seems to, but it's very strange what happens in my code when I do use that character entity. I type in this, where I'd wanted that... Code:
<i> Laſ‍t Folio.</i> But then when I save my book, it disappears! Or, rather, it doesn't disappear, but the "visible" character entity disappears, and yet it's still there, still preventing my lig to render out. It's like that character entity gets converted into an actual zero-width joiner. My code -- as soon as I save -- changed from the above to this... Code:
<i> Laſ*t Folio.</i> Oh, how weird. When I copy/paste that bit of code here into this forum post, and then preview my post (and only after I preview my post, not before), that zero-width joiner gets converted to an asterisk! Definitely not so in my epub, though -- as I said, in there it's literally invisible, with no space or anything in-between the long-s and t characters. ![]() EDIT/FOLLOW-UP: Oh, bummer. While that ‍ trick does seem to work out nicely in Sigil, when I look at my book in ADE it doesn't, my lig ends up rendering out anyway. Oh well. Perhaps I'm just better off sticking with my original kludge. Mind you, I still have all that other stuff you mentioned to look at and check over -- we'll see what happens, where I end up here with all that. ![]() Last edited by Psymon; 01-18-2019 at 09:57 AM. |
|
![]() |
![]() |
![]() |
#29 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
In Sigil, you could go under Edit > Preferences > Preserve Entities, and add: Code:
‍ In EPUB3, HTML "named entities" are not allowed, so you have to use the decimal form instead: Code:
& #8205; Quote:
You can see it exists if you do a Tools > Reports > Characters in HTML Files. Or you can do a Regex search and use this: Search: \x{200D} That's the hex for a zero-width joiner. See Regular-Expresssions.info's article on "Non-Printable Characters. Quote:
Usually you can slap a noparse tag: (Remove the asterisks.) Code:
[*noparse][/*noparse] Side Note: I know there was an issue a while back I had with obscure Unicode characters disappearing when using "Quick Reply" or "Editing" my posts. But using "Advanced Reply" preserved a lot of the characters. This Unicode 7.0 post I wrote was the culprit. I doubt that bug has been fixed... I doubt many people are writing these characters in their posts, so the priority gets pushed down to the bottom. :P * * * Side Note: Those extremely interested in ligatures may also want to check out this speech, "Selective Ligature Suppression" given at TUG 2018. It's based on a LaTeX package that was created, but a lot of the discussion applies to ligatures/typography more broadly. While in most cases, ligatures are fine, there are rare exceptions which should be suppressed along "morpheme boundaries". Example:
(Also another blog post I've been planning to write. Summaries of every talk I watch. :P) Side Note to Side Note: And honestly, the actual title on Youtube is "TUG 2018 - Conference - Mico Loretan"... makes it absolutely impossible to find via search, and you have zero clue wtf the speech is unless you watched it. That issue seriously plagues a lot of these obscure talks, so I hope to make them much more findable by promoting/summarizing them. :P Last edited by Tex2002ans; 01-18-2019 at 08:17 PM. |
|||
![]() |
![]() |
![]() |
#30 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,120
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |