| 
			
			 | 
		#1 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 559 
				Karma: 400004 
				Join Date: Feb 2009 
				
				
				
				Device: ONYX M96 
				
				
				 | 
	
	
	
		
		
			
			 
				
				no small caps?
			 
			
			
			I'm reading an ebook with small caps text, but KOReader fails to render it.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	It is a bug or I'm missing something?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	font-variant: small-caps;  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |||
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 559 
				Karma: 400004 
				Join Date: Feb 2009 
				
				
				
				Device: ONYX M96 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Mh, weird. If I choose to turn off 'fonts embedded' KOReader show me the text in small caps. If I turn on 'fonts embedded', KOReader show me the text in lowercase. In HTML I have: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
 Quote: 
	
 Quote: 
	
  | 
|||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I assume this simply means that the embedded font has borked/trimmed OpenType features.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 559 
				Karma: 400004 
				Join Date: Feb 2009 
				
				
				
				Device: ONYX M96 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I wouldn't necessarily be sure about that. Adobe has the best font engine in the business, it might be doing some black magic to coerce features out of a funky font  
		
	
		
		
		
		
		
		
		
		
		
		
		
			 .More interesting is your "other readers" comment: which ones? ;o). Another train of thought: is the embedded font actually detected *at all*? Or is it falling back to a fallback font? Last edited by NiLuJe; 03-10-2021 at 02:34 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |||
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 559 
				Karma: 400004 
				Join Date: Feb 2009 
				
				
				
				Device: ONYX M96 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 Quote: 
	
 UPDATE: also Moon+Reader and ReadEra fail to show the small caps... Last edited by fbrzvnrnd; 03-10-2021 at 03:16 PM.  | 
|||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hard to say more without having the font on-hand to take a look at its feature table, though. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	One thing you can try is ripping the font out of the ePub and installing it as a KOreader font, to see if the behavior is specific to how embedded fonts are loaded or if it's specifically an issue with this font  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 559 
				Karma: 400004 
				Join Date: Feb 2009 
				
				
				
				Device: ONYX M96 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It seems to me a KOReader bug: the CSS states to use Simoncini with small caps or fallback to Serif with small caps if Simoncini with small caps is not present. KOReader uses Simoncini without small caps and does not fallback to Serif with small caps.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm indeed fairly confident that a missing `font-variant` doesn't trip a fallback codepath in CRe (as opposed to a missing glyph). 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Our resident CRe wizard @poire-z will probably chime it at one point to say how feasible something like that would be  .(Or, more generically, if it even makes sense and/or what the actual specs say about the canonical behavior (if there is one) in such an instance  ).
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 559 
				Karma: 400004 
				Join Date: Feb 2009 
				
				
				
				Device: ONYX M96 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,625 
				Karma: 3120635 
				Join Date: Jan 2009 
				
				
				
				Device: Kindle PW3 (wifi) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi 
		
	
		
		
		
		
		
		
		
		
		
		
	
	To learn about the open-type features of any font, I found the following site very useful: https://wakamaifondue.com/  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  
		 | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Simoncini Garamond Std does not support small caps. So the solution is to use simulated small caps. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Code: 
	span.CharOverride-28 {
font-family: "Simoncini Garamond Std", serif;
font-size: 0.8333em;
}
Last edited by JSWolf; 03-11-2021 at 11:44 AM.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 frumious Bandersnatch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570 
				Karma: 20150435 
				Join Date: Jan 2008 
				Location: Spaniard in Sweden 
				
				
				Device: Cybook Orizon, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			... and apply that style only to the "small" caps, i.e. not to large caps, not to spaces, not to punctutation...
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Small caps | JLius | ePub | 10 | 06-09-2014 02:37 AM | 
| Small caps | Notjohn | Sigil | 9 | 02-23-2013 11:19 AM | 
| Small Caps | djulian | Kindle Formats | 2 | 04-05-2012 09:48 AM | 
| small caps | yuxi_kelly | ePub | 20 | 06-05-2011 01:04 AM |