In the next version of LilyPondTool (to be released until Sunday) there will be 
a visual tweaking tool. There I use the following (magnification is 100 for 
100% IIRC):

public static final double STAFFSIZEFACTOR = 3.5;
public static final double STAFFSIZEBIAS = 3;

public static double pixelToStaffSize(int pixels, double staffSize, double 
magnification) {   
return pixels / ((staffSize * STAFFSIZEFACTOR - STAFFSIZEBIAS) * (magnification 
/ 10));}



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

Reply via email to