Angus,

The current behaviour of the --baseline switch is to report like so:

  [1(baseline=2)]

meaning that the baseline pixel row is 2 pixels from the top row. 
      _
*__*  | 2
*__*  v
_***
___*
*__*
_**_

This is somewhat non-intuitive.


I am looking at HTML vertical alignment (via CSS1) and I've noted that
what is needed there is the depth instead:

*__*  
*__*  
_***  _
___*  |
*__*  | 3
_**_  v

Since you haven't done anything to LyX yet (right?) could I exchange
the --baseline switch for a --depth switch? I could have both, I
suppose, but --baseline is mayhap non-intuitive...

(You _can_ get a --height switch too, such that depth+height would be
the total image height)

I was thinking of reporting a fraction, but CSS1 vertical alignment by
percentage is erratic (browser-dependent most likely). So better keep
to pixels.

/JÅ



-- 
Dogs think men are gods. Cats are not so easily deluded 

Reply via email to