| 
			
			 | 
		#1 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 314 
				Karma: 1002965 
				Join Date: Mar 2006 
				Location: UK 
				
				
				Device: ILiad. Gen 3, PocketBook 360, Kobo Aura HD, Kindle Oasis 2 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Use two fonts in imp files?
			 
			
			
			I have a book in which there are lots of paragraphs representing a dream in the storyline. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I want to use a different font for these so they are noticeable. However, as eBook Publisher does not recognise font-family names -- only serif or sans-serif -- I have used serif in the main body and sans-serif in the "dream" paragraphs. My problem is getting the "dream" paragraph text to increase or decrease when selecting the zoom option. The main body text does this but I cannot work out what I am doing wrong with the "dream" text. In my html code I have a class set up for the "dream" text as follows: .dream { font-family: sans-serif; font-size: 13pt;} If I omit the font-size then the text appears too large. I can get it to zoom if I use font-size: xx-small, small, medium etc but the text is far too large even using xx-small. Is this a bug or is it me?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 GuteBook/Mobi2IMP Creator 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958 
				Karma: 2530691 
				Join Date: Dec 2007 
				Location: Toronto, Canada 
				
				
				Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Check the attachment here starting on page 9 to see the current "built-in" font sets. You can change the view on the 1150 to see the effect of using the different sizes with zooming. Also, near the end of this test document, you will find a section on using color (ok grayscale for the 1150). Play with the different combinations. If you want the background to change, then you will need to put the 'dream' part inside an (invisible) table using the <td> and color. By the way, DaleDe has a nice summary of how the different font sizes relate to the built-in sizes. Just check the website link under his signature in any post. Last edited by nrapallo; 04-10-2008 at 04:31 PM. Reason: added another solution (color fonts)  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | |
| 
			
			
			
			 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: 
	
 Edit: I have been asked for the source for this document so here it is. It is crude done quick and dirty with all the style in the main document. Dale Last edited by DaleDe; 04-11-2008 at 06:42 PM. Reason: add an attachment.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 314 
				Karma: 1002965 
				Join Date: Mar 2006 
				Location: UK 
				
				
				Device: ILiad. Gen 3, PocketBook 360, Kobo Aura HD, Kindle Oasis 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks for your help guys. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	After spending some time doing different tests I have decided to make it easier on myself and have all the "dream" text bold. At least all the text will then respond to the zoom button.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| PRS-300 Fixed-width fonts for text files. | seanhennessy | Sony Reader | 0 | 09-24-2010 12:41 PM | 
| PRS-600 PRS-600 doesn't display correct fonts in ePub files. | MSJim | Sony Reader | 29 | 08-07-2010 07:06 PM | 
| Embedding fonts in Mobi files | EricLandes | Kindle Formats | 3 | 02-19-2010 04:20 AM | 
| Error copying files when try to use fonts | jelusamot | Sony Reader | 0 | 02-12-2009 07:23 PM | 
| Two questions about TXT files and Fonts | ShacharWeis | Sony Reader | 9 | 10-02-2007 04:24 PM |