05-25-2011, 06:13 AM | #1 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2010
Device: ipad
|
small caps
if I use INDD to create an epub, the small caps show well on ipad.
BUT it do not work on Adobe Digital Editions. BUT my book has 40 headers for every chapter, all of them are caps and small caps. Who can tell me a easy way to get small caps show well both in ipad and ADE? I do not want to write <span>ABC</span> for every small caps in Dreamweaver. crying crying begging, |
05-25-2011, 06:53 AM | #2 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hello
This is a tricky field. ADE requires true small caps and does not recognize emulated small caps. The usual (MS) fonts lack a true small cap font though. So, if you want to add true small caps, you should consider using embedded fonts. But some e-readers don't recognize embedded fonts. A catch 22 problem... If your headers have small caps, they should be recognized as such but you must give them in the CSS stylesheet not only a font-variant:small-caps but mainly a font-family with small-caps support. The span element is required only for text within a paragraph. Now that I have been pretty unclear, I let you consider one EPUB like the joint one. It makes use of embedded fonts, small-caps for titles and part of text. Could be an example of what I meant to say. Bon courage. I cooked this EPUB with writer2xhtml (short is W2X) and Sigil. Last edited by roger64; 05-25-2011 at 07:01 AM. |
Advert | |
|
05-25-2011, 07:00 AM | #3 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
If you have a small cap style applied in ID.
Then you can open the xhtml files in textwrangler or another editor which does regular expressions (GREP) search for what ever the line is, for example: <p class="bodytext"><span class="smallcaps">This is the small caps</span>and this is the rest of the paragraph text</p> Find/change in text editor Find <span class="smallcaps">(.*?)</span> Replace <span class="smallcaps">\U\1\l</span> Then in your css you just need the span.smallcaps{ font-size: 85% } This method "fakes" small caps by making the type uppercase but smaller |
05-25-2011, 07:35 AM | #4 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The trick proposed by Adjust could be done in CSS with:
Code:
span.smallcaps{ text-transform: uppercase; font-size: 85% } |
05-25-2011, 09:35 AM | #5 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Last edited by roger64; 05-25-2011 at 10:14 AM. |
Advert | |
|
05-25-2011, 08:49 PM | #6 | |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Quote:
Only works in iBooks This is why I use my method. |
|
05-26-2011, 05:32 AM | #7 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I know, "text-transform" is not in the spec, and you can count on it being supported anywhere. I just say that it would be fine (but not perfect yet) if it worked.
|
05-26-2011, 05:35 AM | #8 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Ah, ok. I misread your post, apologies
|
06-01-2011, 11:32 PM | #9 |
Resident Curmudgeon
Posts: 76,421
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you want the best possible small caps, find a good body font family that also has a small caps variety and use them.
|
06-02-2011, 12:32 AM | #10 | |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Quote:
1.5 Embedding of the Font Software into electronic documents or Internet pages is only permitted under the absolute assurance that the recipient cannot use the Font Software to edit or create a new document (read-only). It must be ensured that the Font Software cannot be fully or partially extracted from said documents. http://www.linotype.com/2061-28225/l...otypeeula.html |
|
06-02-2011, 01:08 AM | #11 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
As for a free pd font with all caps, I use garava font from aimwell.org. Google garava font. It's a very comprehensive font family with several varations including smallcaps.
|
06-02-2011, 01:20 AM | #12 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Wow, I think a wall of that font would be hard to read, the serifs are very fine...
|
06-02-2011, 06:08 PM | #13 |
Resident Curmudgeon
Posts: 76,421
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Charis SIL is the font that most publishers use when they embed a font. Charis SIL has small caps built in, but ADE cannot access them. But using SIL TypeTuner, you can create a small caps version by extracting the small caps from the SIL font.
|
06-02-2011, 09:19 PM | #14 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
06-02-2011, 09:53 PM | #15 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Yeah, even still, I'm not comfortable encrypting licensed fonts for inclusion for commercial products.
I actually know someone in my industry who got a visit by the font police... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
author sort appears in ALL CAPS | cybmole | Calibre | 11 | 05-08-2011 08:05 AM |
DR1000 FW2.0 - RC2 - font-variant: small-caps | ThR | iRex | 0 | 06-29-2010 06:31 AM |
newbiq Q about Drop Caps and Calibre | NASCARaddicted | Calibre | 2 | 01-14-2010 08:03 PM |
Unutterably Silly ANGRY CAPS | Not_A_Crook | Lounge | 56 | 12-10-2009 02:16 AM |
css drop caps coming out of calibre | brewt | Calibre | 3 | 01-18-2009 05:00 PM |