Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2022, 02:41 PM   #46
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,042
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
.888em is just is just Jon's preference. He always tries to present his typographic preferences as some sort of standard that should always be adhered to by everyone. Use what looks best to you. Especially if it's just for your own personal reading pleasure.
DiapDealer is online now   Reply With Quote
Old 03-04-2022, 02:44 PM   #47
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,482
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by phillipgessert View Post
There are definitely smallcap fonts. I can't speak to that .888em figure there but you generally want small caps to be a smidge taller than your font's x-height, and that does sound like it'd likely land close for many fonts.
I found the value of 0.8333em in an eBook. It's the best size I've seen so far in simulated smallcaps. I did find that when .7em or smaller was used, it was too small. I have seen small used which is .9em and that was slightly too large.
JSWolf is offline   Reply With Quote
Advert
Old 03-04-2022, 02:46 PM   #48
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,482
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
.888em is just is just Jon's preference. He always tries to present his typographic preferences as some sort of standard that should always be adhered to by everyone. Use what looks best to you. Especially if it's just for your own personal reading pleasure.
.888em is wrong. It's 0.8333em.
But I know .7em is too small for the proper size of small caps. I'm not saying mine is correct, but it's pretty close if not. But if anyone has a better value, please post it.
JSWolf is offline   Reply With Quote
Old 03-04-2022, 03:01 PM   #49
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,042
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I don't care, Jon. It's still just your personal preference at .8333. The "correct" value is what looks best to those reading it, not what looks best to Jon.
DiapDealer is online now   Reply With Quote
Old 03-04-2022, 03:25 PM   #50
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,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
It's not just personal preference, it depends on the font. Fonts with a larger x-height will want a larger scale and fonts with a smaller x-height a smaller scale. I doubt 0.8333 or 0.85 or 0.8 will make much of a difference as a default for a generic unknown font. If you want it to work best for your particular font choice, experiment and find the best value to the 8th decimal figure if you like.

Besides, text-transform:uppercase is not equivalent to small-caps. If you want to fake small-caps, you better do something like:

Code:
T<small>HIS<small> <small>TEXT</small> <small>IS</small> <small>IN</small> F<small>RENCH</small>!
where you assign your preference scale to <small>. Note that only "small" letters are scaled, not capital letters, spaces, or punctuation.

But my advice would be:

1. If small-caps are just a style choice, think of something else, maybe bold, italic or underline would be valid for whatever emphasis or highlight is intended.

2. If it's important that it's actually small-caps, use an embedded true small-caps font.
Jellby is offline   Reply With Quote
Advert
Old 03-04-2022, 03:43 PM   #51
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Jellby View Post
It's not just personal preference, it depends on the font. Fonts with a larger x-height will want a larger scale and fonts with a smaller x-height a smaller scale. I doubt 0.8333 or 0.85 or 0.8 will make much of a difference as a default for a generic unknown font. If you want it to work best for your particular font choice, experiment and find the best value to the 8th decimal figure if you like.

Besides, text-transform:uppercase is not equivalent to small-caps. If you want to fake small-caps, you better do something like:

Code:
T<small>HIS<small> <small>TEXT</small> <small>IS</small> <small>IN</small> F<small>RENCH</small>!
where you assign your preference scale to <small>. Note that only "small" letters are scaled, not capital letters, spaces, or punctuation.

But my advice would be:

1. If small-caps are just a style choice, think of something else, maybe bold, italic or underline would be valid for whatever emphasis or highlight is intended.

2. If it's important that it's actually small-caps, use an embedded true small-caps font.
I actually made my guys go through an exercise to make a one-size-fits all dropcap--and they work--but omg, it took us forever.

Hitch
Hitch is offline   Reply With Quote
Old 03-04-2022, 03:50 PM   #52
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,362
Karma: 6794938
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
.888em is wrong. It's 0.8333em.
But I know .7em is too small for the proper size of small caps. I'm not saying mine is correct, but it's pretty close if not. But if anyone has a better value, please post it.
Ok. I was just curious where it came from.

I did play with all sizes between .9 - .5 and found .7 was just right for me. I tried .9 and .8 and found them too big and the smallcaps look somewhat diminished.

I tried to size the smallcaps the same size as the lowercase letters, and .7 came the closest without going into 2 or 3 decimal places as shown in the image.



Quote:
Originally Posted by Jellby View Post
Besides, text-transform:uppercase is not equivalent to small-caps. If you want to fake small-caps, you better do something like:

Code:
T<small>HIS<small> <small>TEXT</small> <small>IS</small> <small>IN</small> F<small>RENCH</small>!
where you assign your preference scale to <small>. Note that only "small" letters are scaled, not capital letters, spaces, or punctuation.

But my advice would be:

1. If small-caps are just a style choice, think of something else, maybe bold, italic or underline would be valid for whatever emphasis or highlight is intended.

2. If it's important that it's actually small-caps, use an embedded true small-caps font.
That is interesting. I did not consider using the <small> method. But seems a bit of extra work.

I used my particular method of .7 and text transform, so if there was a fix for the smallcaps issue in Kobo, I could quickly change the css code.
Attached Thumbnails
Click image for larger version

Name:	smallcaps.jpg
Views:	143
Size:	74.6 KB
ID:	192572  
Karellen is offline   Reply With Quote
Old 03-04-2022, 03:51 PM   #53
jmurphy
Zealot
jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.
 
Posts: 106
Karma: 1133068
Join Date: Sep 2007
Device: ipaq
Quote:
Originally Posted by JSWolf View Post
.888em is wrong. It's 0.8333em.
But in message 43 of this very thread, you definitively, authoritatively stated:
"And as for your CSS, the font size should be 0.888em."
jmurphy is offline   Reply With Quote
Old 03-04-2022, 05:19 PM   #54
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,482
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jmurphy View Post
But in message 43 of this very thread, you definitively, authoritatively stated:
"And as for your CSS, the font size should be 0.888em."
And obviously some in this thread cannot read. I never posted 0.888em.
JSWolf is offline   Reply With Quote
Old 03-04-2022, 05:26 PM   #55
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,225
Karma: 19000635
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
Quote:
Originally Posted by JSWolf View Post
And obviously some in this thread cannot read. I never posted 0.888em.

I'm really hoping you meant this to be funny??
Turtle91 is offline   Reply With Quote
Old 03-04-2022, 05:36 PM   #56
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,531
Karma: 100606001
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
And as for your CSS, the font size should be 0.888em.
Quote:
Originally Posted by JSWolf View Post
.888em is wrong. It's 0.8333em.
Than why did you write: "the font size should be 0.888em"?

Quote:
Originally Posted by JSWolf View Post
.
I'm not saying mine is correct, but it's pretty close if not.
You always start out that you have the only correct answer, yet your answer is frequently objectively quite wrong.
j.p.s is offline   Reply With Quote
Old 03-04-2022, 05:43 PM   #57
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: 40,588
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
And as for your CSS, the font size should be 0.888em. And I'm not sure that the text-transform to uppercase works or not with ePub and if that is the case, you'll need to drop it and make sure the text is uppercase.
Quote:
Originally Posted by JSWolf View Post
And obviously some in this thread cannot read. I never posted 0.888em.
Perhaps you should talk to the other JSWolf who posted the first message quoted above? As for the comment about not being able to read? Let he who is without sin cast the first stone.
DNSB is offline   Reply With Quote
Old 03-04-2022, 10:37 PM   #58
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
What’s nuts is I could swear I’ve seen that specific measure before. I want to say it’s either an InDesign default or a popular answer to a StackOverflow question about faked smallcaps. In any case, it’d drive me nuts to have something that specific in a stylesheet. It’d bug me as something that just felt arbitrary.

Lot of comedy here but apparently I gotta spread karma around more before I can acknowledge it.
phillipgessert is offline   Reply With Quote
Old 03-04-2022, 10:57 PM   #59
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by JSWolf View Post
And obviously some in this thread cannot read. I never posted 0.888em.
Wolfie:

Sweetie, you really, really did.

Hitch
Hitch is offline   Reply With Quote
Old 03-05-2022, 06:05 AM   #60
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,482
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Does anyone have a better value then 0.8333em that works in more cases then not?
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reestablishing smallcaps roger64 Workshop 8 05-27-2017 02:49 PM
smallcaps how to? JSWolf ePub 20 06-02-2016 03:40 PM
How widely supported is EPUB3? SavinaRoja ePub 6 12-02-2011 12:08 PM
Is the Nook Touch in stock and widely available? rahulm Barnes & Noble NOOK 2 06-10-2011 11:17 PM
Smallcaps in Kindle cscotts Kindle Formats 5 01-26-2011 10:52 AM


All times are GMT -4. The time now is 11:59 AM.


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