Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1347)

Delta Between Two Patch Sets: mf/feta-dynamics.mf

Issue 339090043: add dynamic n for “niente” to feta
Left Patch Set: add niente to existing regression test Created 6 years, 3 months ago
Right Patch Set: fix encoding vector lengths, add "n" to font-table.ly, add \n to NR Created 6 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « ly/dynamic-scripts-init.ly ('k') | ps/encodingdefs.ps » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 % Feta (not the Font-En-Tja) music font -- dynamic signs 1 % Feta (not the Font-En-Tja) music font -- dynamic signs
2 % This file is part of LilyPond, the GNU music typesetter. 2 % This file is part of LilyPond, the GNU music typesetter.
3 % 3 %
4 % Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org> 4 % Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org>
5 % 5 %
6 % The LilyPond font is free software: you can redistribute it and/or modify 6 % The LilyPond font is free software: you can redistribute it and/or modify
7 % it under the terms of the GNU General Public License as published by 7 % it under the terms of the GNU General Public License as published by
8 % the Free Software Foundation, either version 3 of the License, or 8 % the Free Software Foundation, either version 3 of the License, or
9 % (at your option) any later version, or under the SIL Open Font License. 9 % (at your option) any later version, or under the SIL Open Font License.
10 % 10 %
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 fet_beginchar ("dynamic n", "n"); 698 fet_beginchar ("dynamic n", "n");
699 save i_thick, i_angle, i_twiddle_thick; 699 save i_thick, i_angle, i_twiddle_thick;
700 save i_twiddle_start_angle, i_twiddle_start_y; 700 save i_twiddle_start_angle, i_twiddle_start_y;
701 save i_twiddle_end_angle, i_left_space; 701 save i_twiddle_end_angle, i_left_space;
702 save idir, center, right_ending; 702 save idir, center, right_ending;
703 save overshoot; 703 save overshoot;
704 save p; 704 save p;
705 pair center, idir, right_ending; 705 pair center, idir, right_ending;
706 path p; 706 path p;
707 707
708 » set_char_box (0, 1.14 ex#, 0, 1.0 ex#); 708 » set_char_box (0, 1.11 ex#, 0, 1.0 ex#);
709 709
710 % should share code with p for twiddle. 710 % should share code with p for twiddle.
711 711
712 overshoot = .25 serif_thick; 712 overshoot = .25 serif_thick;
713 i_thick := 21/80 ex; 713 i_thick := 21/80 ex;
714 i_twiddle_thick = 1.2 serif_thick; 714 i_twiddle_thick = 1.2 serif_thick;
715 i_twiddle_start_y = 8/16 ex; 715 i_twiddle_start_y = 8/16 ex;
716 i_twiddle_start_angle = 0; 716 i_twiddle_start_angle = 0;
717 i_twiddle_end_angle := 35; 717 i_twiddle_end_angle := 35;
718 718
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 right_ending := z5r; 758 right_ending := z5r;
759 penlabels (1, 2, 3, 4, 5); 759 penlabels (1, 2, 3, 4, 5);
760 760
761 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 761 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
762 762
763 clearxy; 763 clearxy;
764 764
765 i_thick := 23/80 ex; 765 i_thick := 23/80 ex;
766 i_angle := -6; 766 i_angle := -6;
767 idir := dir (90 - i_angle); 767 idir := dir (90 - i_angle);
768 » i_left_space := 20/80 ex; 768 » i_left_space := 18/80 ex;
769 769
770 penpos1 (serif_thick, -i_twiddle_start_angle); 770 penpos1 (serif_thick, -i_twiddle_start_angle);
771 z1r = right_ending; 771 z1r = right_ending;
772 772
773 y2l = ex + overshoot; 773 y2l = ex + overshoot;
774 z2l = .08 [z3l, z3r] + whatever * idir; 774 z2l = .08 [z3l, z3r] + whatever * idir;
775 z2r = 5/8 [z1r, z3l] + whatever * idir; 775 z2r = 5/8 [z1r, z3l] + whatever * idir;
776 y2r = y5l + 1/9 ex; 776 y2r = y5l + 1/9 ex;
777 z2 = 1/2 [z2l, z2r]; 777 z2 = 1/2 [z2l, z2r];
778 778
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 % 917 %
918 % Looking at professionally typeset music reveals that typesetters 918 % Looking at professionally typeset music reveals that typesetters
919 % are somewhat unsure about slanting in `mf', `fp', `sfz' 919 % are somewhat unsure about slanting in `mf', `fp', `sfz'
920 % 920 %
921 % `f' and `p' (in any combination) are a lot (factor two) fatter than 921 % `f' and `p' (in any combination) are a lot (factor two) fatter than
922 % `s', `m', and `z'. Sometimes the `m' and `z' are a bit fatter than 922 % `s', `m', and `z'. Sometimes the `m' and `z' are a bit fatter than
923 % `s'. 923 % `s'.
924 % 924 %
925 % Chester, Breitkopf suggest smaller sizes of these other glyphs, 925 % Chester, Breitkopf suggest smaller sizes of these other glyphs,
926 % using the x-height as reference point. 926 % using the x-height as reference point.
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b