View Single Post
Old 03-09-2010, 11:36 AM   #10
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by kovidgoyal View Post
It will work at any screen size. What happens at different screen sizes is that the text is scaled. However, I'm not sure if Adobe Digital Edition supports the crucial

text-anchor="middle" property

you'll have to test it and see. Also text in SVG does not support multiple lines, so you have to have a separate text element for each line you want centered.
Unfortunately, it looks like it doesn't . The text is centered vertically, but not horizontally (it starts at the middle of the screen and runs off to the right). ADE doesn't seem to support textPath either.

Good idea to try SVG though - I'd never thought of that.
charleski is offline   Reply With Quote