On 8/15/2023 10:54 PM, Pablo Rodriguez wrote:
On 8/15/23 22:16, Hans Hagen via ntg-context wrote:
On 8/15/2023 9:27 PM, Pablo Rodriguez wrote:
[...]
I wonder whether we could have (current) frame width and height as unit.
we can have

    fw fh fo lw (width height offset linewidth)

but keep in mind that only properties that are set up have a meaningful
value (so with autoheight it is zero)

So 1fw is equal to 2fo + 1lw, isn’t it? (I mean, frame width is left and
right offset [given that all frames have the same length] plus line width.)

fw is more like width-2offset-2linewidth

Sorry, this is to be sure I’m getting this right.
we can also have (available)

lh   lineheight
sh   strutheight
sd   strutdepth

and maybe (pick up from font or have extra font dimens)

fa   font ascender
fd   font descender
fc   font capheight

and the css (easy)

ch   width of zero

and then a kind of periodic table of units

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to