Quote:
Originally Posted by norway1456
SYou say that I could use XPGT and that you use SVG. What is the difference between SVG and XPGT?
|
SVG is a standard part of EPUB2, XPGT is an Adobe extension. They are totally different technologies. SVG is vector image format. XPGT is a stylesheet.
Quote:
I know that there exists an adobe-specific stylesheet called page-template.xpgt, but have never used it because I like to specify my own stylesheets in CSS. I have tried to read the file, but didn't understand much of it. Any tips to sites where I can find any documentation and syntax for the page-template?
|
It used to be described here:
http://blogs.adobe.com/digitaleditions/template.html - however our blogging systems has changed and now you have to go through some sort of Internet cache to get it, e.g.:
http://replay.waybackmachine.org/200.../template.html
Quote:
As for SVG, if I understand correctly, SVG contents will only be visible in adobe and invisible in all other viewers?
|
Should be visible in any decent viewer. SVG is a standard part of EPUB2. If SVG is not there, many CSS properties probably also won't be there.
If SVG is no supported, you will still most likely to see the text - but without formatting.
What other viewers do you have in mind?
Quote:
I chose to set the min-height because I wanted the divs to resize when the contents grew to avoid overlapping texts, but if the cost of that is that some of the text will disappear, I think I prefer your solution. Or maybe I just stick to Jellbys idea to use a fix height between the various sections. That solution has several disadvantages, the most severe of them is that a margin set in em will increase with increasing font sizes, whereas I would like the margin to decrease (in order to give room for the growing content) or at least be constant (not require any more room than it already does). Any ideas to a unit that does not increase with increasing font-sizes and looks reasonable(TM) in most reading devices and independent of screen size and resolution?
|
Device manufacturers do play tricks with resolution. It is true that 1pt is more stable than 1px, but it still not very reliable.