Active
Project:
ImageAPI Text Renderer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2011 at 17:34 UTC
Updated:
5 Aug 2011 at 17:35 UTC
I've got a caption item (the title tag of an Imagefield) that I'm displaying on images, and I am getting a strange vertical offset of the text on some of the images. I have attached an "ok" version and "offset" version to this issue.
The SVG style I'm using is as follows:
font-size:11px;
fill:#ffffff;
background-color:#000000;
top:bottom-53px;
left:0px;
width: 320px;
height: 23px;
padding-left: 10px;
padding-top: 6px;
This is on a preset that applies actions in the following order:
Any idea why I'm getting a strange offset? Does it have to do with the padding-top rule? Is there a rule for vertically-centering the text in the render area that might be more appropriate?
Thanks for a great module! I hope to get this one item sorted out soon (and hoping it's something I can change on my end).
| Comment | File | Size | Author |
|---|---|---|---|
| offset-text.jpg | 10.05 KB | arpieb | |
| ok-text.jpg | 20.08 KB | arpieb |