]> git.donarmstrong.com Git - lilypond.git/commitdiff
Support mf2pt1 2.4.2.
authorWerner Lemberg <wl@gnu.org>
Sun, 16 Dec 2007 13:02:11 +0000 (14:02 +0100)
committerWerner Lemberg <wl@gnu.org>
Sun, 16 Dec 2007 13:02:11 +0000 (14:02 +0100)
mf/feta-autometric.mf

index 921053ec797c484787984d5c6691d570303ef4c8..f189360df1507bdc0e62d40a8bd3a9383cbd7374 100644 (file)
@@ -125,13 +125,19 @@ def set_char_box (expr b_sharp, w_sharp, d_sharp, h_sharp) =
        charwx := charwd;
        charwy := 0;
 
-       % additions for mf2pt1
+       % additions for mf2pt1 (`bbox' is called `glyph_dimensions' starting
+       % with version 2.4.2)
        if known bp_per_pixel:
                special "% MF2PT1: bbox "
                        & to_bp (-b) & " "
                        & to_bp (-d) & " "
                        & to_bp (w) & " "
                        & to_bp (h);
+               special "% MF2PT1: glyph_dimensions "
+                       & to_bp (-b) & " "
+                       & to_bp (-d) & " "
+                       & to_bp (w) & " "
+                       & to_bp (h);
                special "% MF2PT1: font_size " & decimal designsize;
                special "% MF2PT1: font_slant " & decimal font_slant_;