bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shrinking brackets with Lilypond 1.6.8


From: Han-Wen Nienhuys
Subject: Shrinking brackets with Lilypond 1.6.8
Date: Tue, 11 Mar 2003 20:08:51 +0100

address@hidden writes:
> When LilyPond 1.6.8 was released I finally got round to downloading and
> upgrading all the necessary software to produce Type1 versions of the
> LilyPond fonts so that 'ly2dvi -p' produced PDF files which look nicer in
> Acrobat Reader.
> 
> Everything seemed to work well, but when compiled up the same file using the
> old and new methods for comparison, I noticed that the bracket at the
> beginning of each line seems to shrink when you use the Type 1 fonts!
> 
> It happens with several different .ly files I've tried, and it makes no
> difference whether I use the Type1 fonts I've generated or the ones
> downloaded from lilypond.org
> 
> The problem is illustrated in the attached PNG files: vector.png shows the
> start of the music using Type1 fonts, and bitmap.png shows the same section
> using the bitmapped fonts.


Thanks for the report, and sorry for the delay.  Can you check wether
the following patch solves your problem? Try

       rm mf/out/feta-braces*

and

       make pfa

to try.


*** feta-beugel.mf.~1.13.~      2002-08-08 21:14:52.000000000 +0200
--- feta-beugel.mf      2003-03-11 20:06:16.000000000 +0100
***************
*** 2,12 ****
  input feta-macros;
  input feta-params;
  
! fet_beginfont("feta-braces", 16);
  mode_setup;
  
- staffsize#:=16pt#;
- 
  save code;
  code := -1;
  
--- 2,10 ----
  input feta-macros;
  input feta-params;
  
! fet_beginfont("feta-braces", font_count * 10);
  mode_setup;
  
  save code;
  code := -1;
  
***************
*** 27,34 ****
        width# := width_sharp;
        slt# := slt_sharp;
  
! fet_beginchar("brace number "&(decimal code), "brace"&abc_encode_int(code),
!               "brace"&abc_encode_int (code))
  
        set_char_box (0, width#, height#/2, height#/2);
          
--- 25,32 ----
        width# := width_sharp;
        slt# := slt_sharp;
  
! fet_beginchar("brace number "&(decimal (code+1)), 
"brace"&abc_encode_int((code+1)),
!               "brace"&abc_encode_int (code + 1))
  
        set_char_box (0, width#, height#/2, height#/2);
          
-- 

Han-Wen Nienhuys   |   address@hidden   |   http://www.cs.uu.nl/~hanwen 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]