> On 1/22/11 1:37 AM, "Janek Warchoł" <lemniskata.bernoull...@gmail.com> > wrote: >> it seems that no matter what i do inside the metafont files in mf >> directory, the changes to the font are not made
W dniu 22 stycznia 2011 15:42 użytkownik Carl Sorensen <c_soren...@byu.edu> napisał: > I do > rm mf/out/* > make > when I want to rebuild fonts. 2011/1/22 Marc Hohl <m...@hohlart.de>: > yes, this is due to > http://code.google.com/p/lilypond/issues/detail?id=779 > I did > cd mf > make clean > cd .. > make all > to force the recompilation of the fonts. 2011/1/22 Werner LEMBERG <w...@gnu.org>: > Perhaps there are missing dependencies in the makefiles. Try to > remove the relevant PFB files to force a run of fontforge. This > should automatically build the OTF files also. Thank you all very much for the advice! Now i can handle this painlessly. >> - i was unable to find where the point in which flag is attached to >> the stem is determined. > > It's not explicitly specified. Horizontally, it is determined by the > metric box of the flag. Vertically, the flag's stem always has the > height of a multiple of the space between two staff lines. To be more > precise, if the flag's glyph name is uN or dN, the flag stem length is > N-2 staff line spaces. What i meant is where to find the place which makes flagged stems in forced directions longer than unflagged ones (i.e. here the first note gets a longer stem than the second note: \clef treble \voiceOne c'''8 c'''4 ). I supposed that this happens when the flag is attached to the stem, but eventually i found out that lines 346-349 of stem.cc are responsible for this :) Now i'm almost done. However i still don't know how to attach different versions of flags to the stems. For example i've created new flag u4short, and i want to tell LilyPond to use this new flag for stems shorter than 3 staff spaces (and normal flag for longer stems). How can i do this? I searched for "flags.u4" and "u4" in source files and found results only in font source files... And there is one more thing - is it a bug in font sources? When i change total_depth# = 3.5 staff_space# - blot_diameter# / 2; to total_depth# = 3 staff_space# - blot_diameter# / 2; (in definition of u4 flag, line 163 of feta-flags.mf), i get the output in attachment. I've tried other values, and: 2.95, 3, 3.1 are bugged 2,9, 3.05, 3.15 are not bugged What do you think about it? cheers, Janek
font bug.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel