| 
			
			 | 
		#1 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
			
			 
				
				EPUB without fonts
			 
			
			
			Hi 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I am used to produce EPUB with embedded fonts. I would like to add EPUB without fonts. It's easy to suppress any information about font-family. But for styles, if I wish to give a clean EPUB without font, I need to transform the small-caps styles to reduced capitals styles. This must be done for paragraph and character styles (spans), probably best in Sigil. Has somebody any advice to make this transcription automatic?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 in CSS... .smallcaps { font-size: .75em } in the XML... <p>Here are some <span class="smallcaps">SMALLCAPS</span> for your enjoyment</p>  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 frumious Bandersnatch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570 
				Karma: 20150435 
				Join Date: Jan 2008 
				Location: Spaniard in Sweden 
				
				
				Device: Cybook Orizon, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It becomes interesting when you have MIXED CASE smallcaps... 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Usually, it's not critical to have the letters shown as actual smallcaps, in those cases I just set the conditional styles (ADE only) to use bold (for instance) instead of smallcaps. Readers that support smallcaps will ignore the ADE-only style, and when (if) ADE supports smallcaps I'll simply remove the conditional styles.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@JSWolf.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	This is the downside of small-caps... You can't easily get rid of them... ![]() @Jellby I have still things to learn to understand your reply. Yes, I enjoy using - sparingly - these mixed case words with true small-caps. And the nicest they are, the hardest to go... How do you write your mixed case word without true small-caps? Do you need four spans to describe: mixed case? One for M, one for ixed, one for C, one for ase?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Code: 
	M<span class="smallcaps">ixed</span> C<span class="smallcaps">ase</span>  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Berti 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197 
				Karma: 4985964 
				Join Date: Jan 2012 
				Location: Zischebattem 
				
				
				Device: Acer Lumiread 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I have a shortcut. I will leave my CSS style-sheet as it is except for this change: search for the small-cap font Code: 
	font-family:'Linux Libertine O C'; Code: 
	font-size:0.7em; For mixed cases though, I should have to parse manually the occurences in the xhtml files and correct them... I think I will probably forget them and leave everything as a fake small-cap... :-) Last edited by roger64; 10-12-2012 at 12:01 PM. Reason: Edit to suppress text-transform: uppercase  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 frumious Bandersnatch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570 
				Karma: 20150435 
				Join Date: Jan 2008 
				Location: Spaniard in Sweden 
				
				
				Device: Cybook Orizon, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That's risky, the "text-transform" property is not in the ePub spec, some readers may support it though (I'm not sure about ADE, but I believe it doesn't?)
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I correct my previous message Last edited by roger64; 10-12-2012 at 12:02 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 roger64, do use .75em if you want your smallcaps and not .7em.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Linux User 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282 
				Karma: 6123806 
				Join Date: Sep 2010 
				Location: Heidelberg, Germany 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			https://wiki.mobileread.com/wiki/EPubHacks also contains some suggestions about small caps. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Seems to me though as if there just isn't a good solution. My current calibre settings would filter your smallcaps hack right out. There are too many books with whacky font sizes defined in them - on Smashwords probably because they use Word/DOC as a source? - so font size is one of the properties I filter out when converfixing books.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 As for the smallcaps using a font size being a hack, it's how nearly all ePub do it. So if you ePub > ePub all of you do ruin some things like smallcaps.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Berti 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197 
				Karma: 4985964 
				Join Date: Jan 2012 
				Location: Zischebattem 
				
				
				Device: Acer Lumiread 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 The point is, that the letters within the <span> MUST be converted to uppercase (Look at your example a few messages above (#5)). This is the major difference between small caps (Font) and fakesmallcaps. Last edited by mmat1; 10-13-2012 at 04:10 AM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			When I have an ePub that has enough instances of smallcaps, I do convert them to lowercase and use a real smallcaps font. Definitely looks better. I use Charis SIL most of the time and I have a smallcaps version.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| ePub->ePub conversion with obfuscated fonts | DiapDealer | Conversion | 1 | 03-17-2012 03:33 PM | 
| Foreign fonts (PL) in epub | tntmarek | Interead COOL-ER | 1 | 03-04-2011 07:05 PM | 
| ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 09:43 PM | 
| Epub & fonts | Nate the great | ePub | 8 | 07-28-2009 07:13 AM | 
| ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 06:56 PM |