Am 08.05.2017 um 15:36 schrieb Stjepan Horvat: > > > /Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. > Izreke 12:18/ > > On Mon, May 8, 2017 at 3:14 PM, Urs Liska <[email protected] > <mailto:[email protected]>> wrote: > > > > Am 08.05.2017 um 15:11 schrieb Stjepan Horvat: >> >> >> /Nesmotren govori kao da mačem probada, a jezik je mudrih >> iscjeljenje. Izreke 12:18/ >> >> On Mon, May 8, 2017 at 2:30 PM, Urs Liska <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> >> Am 08.05.2017 um 14:19 schrieb Stjepan Horvat: >>> hi guys.. >>> i'm playing with music font as discribed here: >>> >>> http://lilypondblog.org/2014/01/smufl-fonts-in-lilypond/ >>> <http://lilypondblog.org/2014/01/smufl-fonts-in-lilypond/> >>> http://lilypondblog.org/2014/09/lilyponds-look-and-feel/ >>> <http://lilypondblog.org/2014/09/lilyponds-look-and-feel/> >>> >>> what i would want to try doing is simulating handwritten >>> font by adding 4 or more shapes of same object. >> >> Do you want to prepare an actual font to use instead of >> Emmentaler, for notation (i.e. not text)? >> >> >> Yes! I have already started working on it and have figure it out >> how to change the existing font. >> >> >>> what would you suggest to accomplish this? >> >>> >>> my raw idea is to add diferent signs in normal, italic, >>> bold, bold-italic combination and then on each new object >>> iterate though there combination. >>> This has a limitation of only 4 combinations. >>> >>> Another idea is to add a list of fonts and there go through >>> them. >>> >> >> If you want to create a custom font you could probably >> override the stencil of the different grobs and replace them >> with a markup (I think that's what is described in these >> posts, isn't it?). Then you can place an arbitrary number of >> additional glyphs in that font and write a function that, >> say, for a whole note notehead picks a random glyph out of >> the one at the regular postion and the range of custom glyphs. >> >> What do you mean a range of custom glyphs. Where would that be? >> In a font file? >> > > In your custom font file. If you want to modify an existing font > you will edit it in some editor (or did I misunderstand you and > you are talking about modifying LilyPond's Metafont sources to > build a modified Emmentaler?) > You will change existing glyphs, but the font has lots of empty > spaces for additional glyphs that are not normally used by > LilyPond. There you can add glyphs and access them manually from > LilyPond. But others know much more about this than I do. > > Ok. I want to modify and existing font. I tryed https://birdfont.org/ > and it looks quite ok for this purpose. > What now comes to my mind is to use some kind of numerical offset. For > example for notehead which is for example nr. 40 offset would be > 100..then other note heads would ne 140, 240, 340 and so on. > I dont know if it is possible to have accsess in this manner.
Maybe, or something like: 40 => 4000, 4001, 4002 ... 41 => 4100, 4101, 4102 ... You just have to make sure to be out of the range of any used glyphs. But cleaner would be to use the "private area" of Unicode. Urs > > > > Best > Urs > > >>> Do you have any idea how to implement this in sheme? >>> A snippet would be very helpfull. >> >> Sorry, I can't (and don't have the time to look into it). But >> if you clarify your intention I think it should not be too >> difficult and there should be people around who can help you. >> >> Urs >> >> Thanks for your fast response. >> >> >>> >>> Thanks. >>> >>> >>> >>> /Nesmotren govori kao da mačem probada, a jezik je mudrih >>> iscjeljenje. Izreke 12:18/ >>> >>> >>> _______________________________________________ >>> lilypond-user mailing list >>> [email protected] <mailto:[email protected]> >>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>> <https://lists.gnu.org/mailman/listinfo/lilypond-user> >> >> -- >> [email protected] <mailto:[email protected]> >> https://openlilylib.org >> http://lilypondblog.org >> >> _______________________________________________ lilypond-user >> mailing list [email protected] >> <mailto:[email protected]> >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> <https://lists.gnu.org/mailman/listinfo/lilypond-user> >> > -- > [email protected] <mailto:[email protected]> > https://openlilylib.org > http://lilypondblog.org > -- [email protected] https://openlilylib.org http://lilypondblog.org
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
