Greetings, Rutger:

Rather than query the font size, I use a simple calculation on the global
staff size:

In the individual files, 
globalSize = 18 % or 20 or 15, or what-you-will

In the file of included definitions (thus always accessible):
mgnStf = #(/ 20 globalSize)

Then the eps file is dealt with as needed:
\epsfile #Y #(* 1 mgnStf) % replacing "1" with the number of staff-spaces
you'd like at size 20
        #"your eps file.eps"

===BONUS===
The mgnStf concept is also handy for text positioning within a markup:
\translate #(cons 0 (* mgnStf -3)) % for instance

Not as elegant as an equivalent to "\abs-fontsize", but maybe it'll get you
by...

David



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Absolute-size-for-epsfile-i-e-independent-of-global-staff-size-tp161872p161878.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to