Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-29-2012, 05:57 AM   #1
GMTuri
Junior Member
GMTuri began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
Question fonts size not adapting to screens

hi everyone! i've started creating ebook for a website (free downloads) using Sigil. they seem working fine but i've just discovered that fonts do not change size according to screen dimension (using smartphone, for instance), which basically make the epub working just like a pdf. i've read the user's manual but not all threads in this forum. can anyone help? thanks and happy new year!
GMTuri is offline   Reply With Quote
Old 12-29-2012, 06:33 AM   #2
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Hi and welcome to Mobileread.

Sounds like your fonts are using a fixed size, e.g. measured in pixels or actual lengths. Look at your code and see if you have any entires for "font-size" either in you CSS file (if you used one) or in the actual tag in the html/xhtml files. If you do then the units used may be the problem.

Fixed sized units like "px", "pt", "cm" or "mm" will cause the text to be the same size, regardless of the device.

Variable sized units like "em" or "%" will scale with the screen dimensions and zoom levels.

Personally, I don't specify any font size for the base size, and only add it for elements I want to be different, like a title.

If you can't see anything in your code, post a sample up here and we can look at it.
ghostyjack is offline   Reply With Quote
Advert
Old 12-29-2012, 02:19 PM   #3
GMTuri
Junior Member
GMTuri began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
Thumbs up

thanks a lot, ghostyjack! that was precisely the problem. now all works fine!

another easy question for you, if you don't mind. photos/images (size) can adapt to screens or not? and if yes, how?

thank you very much again!!!
GMTuri is offline   Reply With Quote
Old 12-30-2012, 06:55 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You can use percentages for image sizes. However scaling can give ugly results.
Toxaris is offline   Reply With Quote
Old 12-30-2012, 08:44 AM   #5
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by GMTuri View Post
hi everyone! i've started creating ebook for a website (free downloads) using Sigil. they seem working fine but i've just discovered that fonts do not change size according to screen dimension (using smartphone, for instance), which basically make the epub working just like a pdf. i've read the user's manual but not all threads in this forum. can anyone help? thanks and happy new year!
It's futile to specify too much regarding layout in an eBook. It's not about laying out a page so much as pouring text into a container. The container (phone, pad, computer...) can make appropriate decisions over things like font size, and there will also be user options. Don't over-ride them by forcing an explicit font size.
exaltedwombat is offline   Reply With Quote
Advert
Old 12-30-2012, 10:45 AM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,659
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
For scaled pictures: start with something close to the expected size. Blowing up 5 or more times will look like that happened. Start way Too big, and your device will choke (or bog).
Use a SVG wrapper if you can, so you can maintain aspect ratio. (IMHO stretch-o-vision is uglier than blank bars on the edges)
theducks is offline   Reply With Quote
Old 12-31-2012, 04:34 AM   #7
GMTuri
Junior Member
GMTuri began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
Thank you everyone!!!
GMTuri is offline   Reply With Quote
Old 01-01-2013, 09:15 AM   #8
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by exaltedwombat View Post
It's futile to specify too much regarding layout in an eBook. It's not about laying out a page so much as pouring text into a container.
That's about the best description of e-publishing I've ever seen.
Notjohn is offline   Reply With Quote
Old 01-01-2013, 09:52 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,659
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by exaltedwombat View Post
It's futile to specify too much regarding layout in an eBook. It's not about laying out a page so much as pouring text into a container. The container (phone, pad, computer...) can make appropriate decisions over things like font size, and there will also be user options. Don't over-ride them by forcing an explicit font size.
e-books are more like sand art.
You pour carefully
and it can look great.
theducks is offline   Reply With Quote
Old 01-06-2013, 03:50 AM   #10
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,445
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by theducks View Post
e-books are more like sand art.
You pour carefully
and it can look great.
Sand painting, Ducks, my sweet. Sand painting. And it's nearly as hard to get right. ;-)

Hitch
Hitch is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy to read fonts for LCD/OLED screens JxK Android Devices 1 01-29-2012 03:05 PM
Fonts Changing Size Upon Conversion to EPUB pattilee Conversion 1 01-26-2012 06:03 PM
Touch No good font size for a book (fonts aren't scalable enough) jerrry94087 Barnes & Noble NOOK 6 06-12-2011 11:30 AM
Changing text size and fonts with PRS 505 levi_john Sony Reader 1 01-20-2009 03:25 AM


All times are GMT -4. The time now is 01:10 AM.


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