[tei-council] facsimile diagram

Lou Burnard lou.burnard at computing-services.oxford.ac.uk
Sat Aug 4 18:19:10 EDT 2007


Conal Tuohy wrote:
> But to be honest, rereading the documentation for @height, @width and
> @scale, I'm not entirely sure that I understand how @height and @width
> are supposed to work together with @scale. 
> http://www.tei-c.org/release/doc/tei-p5-doc/html/ref-graphic.html
>
> If I have an image which is 200px wide, I would expect to mark it up as
> a graphic with @width="200px", but what do I do with @scale? And what is
> the "desired display size" anyway? If I give @scale="2", I'd be saying
> that I wanted the image to be displayed as 400 pixels wide, which sounds
> like an odd thing to want to do.
>   

My understanding of these attributes on <graphic> is that they relate to 
the desired display size -- i.e. how the image is to be rendered. If 
@scale=2,. it means I want it rendered twice as big as it actually is. 
If @width=50 it means I want it rendered 50 px wide (and presumably with 
the height scaled accordingly).  You can't supply @scale along with the 
others, clearly -- or if you do I am not sure which wins. The 
documentation (like the schema) is vague on this point.

They do NOT describe the actual size of the image.



More information about the tei-council mailing list