Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*- | 1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*- |
2 @setfilename lilypond-changes.info | 2 @setfilename lilypond-changes.info |
3 @settitle LilyPond Changes | 3 @settitle LilyPond Changes |
4 | 4 |
5 @include macros.itexi | 5 @include macros.itexi |
6 | 6 |
7 @ifhtml | 7 @ifhtml |
8 @macro inputfileref{DIR,NAME} | 8 @macro inputfileref{DIR,NAME} |
9 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c | 9 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c |
10 @end macro | 10 @end macro |
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1008 complex drawing algorithm designed to benefit from stroke | 1008 complex drawing algorithm designed to benefit from stroke |
1009 adjustment is employed mostly for stems and bar lines. | 1009 adjustment is employed mostly for stems and bar lines. |
1010 | 1010 |
1011 Stroke adjustment can be forced by specifying the command line | 1011 Stroke adjustment can be forced by specifying the command line |
1012 option @samp{-dstrokeadjust} to LilyPond. When generating | 1012 option @samp{-dstrokeadjust} to LilyPond. When generating |
1013 @code{PDF} files, this will usually result in markedly better | 1013 @code{PDF} files, this will usually result in markedly better |
1014 looking @code{PDF} previews but significantly larger file size. | 1014 looking @code{PDF} previews but significantly larger file size. |
1015 Print quality at high resolutions will be unaffected. | 1015 Print quality at high resolutions will be unaffected. |
1016 | 1016 |
1017 @item | 1017 @item |
1018 Default text fonts have been changed from | |
1019 @code{Century Schoolbook L}, @code{sans-serif}, and @code{monospace}. | |
1020 | |
1021 For @code{svg} backend: | |
1022 @multitable @columnfractions .15 .30 | |
1023 @headitem Family @tab Default font | |
1024 @item @emph{roman} @tab @code{serif} | |
1025 @item @emph{sans} @tab @code{sans-serif} | |
1026 @item @emph{typewriter} @tab @code{monospace} | |
1027 @end multitable | |
1028 | |
1029 @code{serif}, @code{sans-serif}, and @code{monospace} are | |
1030 @code{generic-family} in SVG and CSS specifications. | |
1031 | |
1032 For other backends: | |
1033 @multitable @columnfractions .15 .30 .55 | |
1034 @headitem Family @tab Default font (alias) @tab Alias definition lists | |
1035 @item @emph{roman} | |
1036 @tab @code{LilyPond Serif} | |
1037 @tab | |
1038 TeX Gyre Schola, | |
1039 C059, Century SchoolBook URW, Century Schoolbook L, | |
1040 DejaVu Serif, | |
1041 ..., serif | |
1042 @item @emph{sans} | |
1043 @tab @code{LilyPond Sans Serif} | |
1044 @tab | |
1045 TeX Gyre Heros, | |
1046 Nimbus Sans, Nimbus Sans L, DejaVu Sans, | |
1047 ..., sans-serif | |
1048 @item @emph{typewriter} | |
1049 @tab @code{LilyPond Monospace} | |
1050 @tab | |
1051 TeX Gyre Cursor, | |
1052 Nimbus Mono PS, Nimbus Mono, Nimbus Mono L, | |
1053 DejaVu Sans Mono, | |
1054 ..., monospace | |
1055 @end multitable | |
1056 | |
1057 @code{LilyPond Serif}, @code{LilyPond Sans Serif}, | |
1058 and @code{LilyPond Monospace} are font aliases defined | |
1059 in the LilyPond dedicated FontConfig configuration file | |
1060 @code{00-lilypond-fonts.conf}. | |
1061 Where a character dosen't exist in the first font listed, | |
1062 the next font listed will be used instead for that character. | |
1063 For details of alias definitions, please see | |
1064 to @code{00-lilypond-fonts.conf} under the installed directory. | |
1065 | |
1066 @item | |
1018 When using OpenType fonts, font features can be used. | 1067 When using OpenType fonts, font features can be used. |
1019 Note: Not all OpenType fonts have all functions. | 1068 Note: Not all OpenType fonts have all functions. |
1020 | 1069 |
1021 @lilypond[quote,verbatim] | 1070 @lilypond[quote,verbatim] |
1022 % True small caps | 1071 % True small caps |
1023 \markup { Normal Style: Hello HELLO } | 1072 \markup { Normal Style: Hello HELLO } |
1024 \markup { \caps { Small Caps: Hello } } | 1073 \markup { \caps { Small Caps: Hello } } |
1025 \markup { \override #'(font-features . ("smcp")) | 1074 \markup { \override #'(font-features . ("smcp")) |
1026 { True Small Caps: Hello } } | 1075 { True Small Caps: Hello } } |
1027 | 1076 |
1028 % Number styles | 1077 % Number styles |
1029 \markup { Normal Number Style: 0123456789 } | 1078 \markup { Normal Number Style: 0123456789 } |
1030 \markup { \override #'(font-features . ("onum")) | 1079 \markup { \override #'(font-features . ("onum")) |
1031 { Old Number Style: 0123456789 } } | 1080 { Old Number Style: 0123456789 } } |
1032 | 1081 |
1082 % Stylistic Alternates | |
1083 \markup { \override #'(font-features . ("salt 0")) | |
1084 { Stylistic Alternates 0: εφπρθ } } | |
1085 \markup { \override #'(font-features . ("salt 1")) | |
1086 { Stylistic Alternates 1: εφπρθ } } | |
1087 | |
1033 % Multiple features | 1088 % Multiple features |
1034 \markup { \override #'(font-features . ("onum" "smcp")) | 1089 \markup { \override #'(font-features . ("onum" "smcp" "salt 1")) |
1035 { Old Number Style and True Small Caps: Hello 0123456789 } } | 1090 { Multiple features: Hello 0123456789 εφπρθ } } |
1036 @end lilypond | 1091 @end lilypond |
1037 | 1092 |
lemzwerg
2017/07/26 20:09:33
It would be nice to have an example of a feature t
trueroad
2017/07/27 13:47:01
Done.
| |
1038 @end itemize | 1093 @end itemize |
1039 | 1094 |
1040 @ifhtml | 1095 @ifhtml |
1041 For older news, go to | 1096 For older news, go to |
1042 @uref{http://lilypond.org/doc/v2.18/Documentation/changes/}, | 1097 @uref{http://lilypond.org/doc/v2.18/Documentation/changes/}, |
1043 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/}, | 1098 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/}, |
1044 or @uref{../,go back} to the Documentation index. | 1099 or @uref{../,go back} to the Documentation index. |
1045 | 1100 |
1046 | 1101 |
1047 @end ifhtml | 1102 @end ifhtml |
1048 | 1103 |
1049 @bye | 1104 @bye |
LEFT | RIGHT |