diff options
author | Masamichi Hosoda <trueroad@trueroad.jp> | 2015-08-08 19:06:50 +0900 |
---|---|---|
committer | Masamichi Hosoda <trueroad@trueroad.jp> | 2015-08-14 19:47:42 +0900 |
commit | 0fbbdc6c58432060770d3d4f76e063c2028c0023 (patch) | |
tree | 082d2d92b208007bf8254d11584fae7754a04a14 /mf | |
parent | 62a6e9aef6f164641a4ac57e3342b7917c6a53b0 (diff) |
Issue 4544 / 2: Fix LilyPond default fonts definition
Due to conf file loading order, generic font aliases
`serif', `sans-serif', 'monospace' were unavailable
in LilyPond default fonts definition.
So the glyphs that are not contained
in the list of font definition,
like Japanese glyphs were used unexpected font.
This commit changes
LilyPond default fonts definition loading order
for enabling the aliases.
Diffstat (limited to 'mf')
-rw-r--r-- | mf/00-lilypond-fonts.conf.in (renamed from mf/lilypond-fonts.conf.in) | 14 | ||||
-rw-r--r-- | mf/99-lilypond-fonts.conf.in | 19 |
2 files changed, 19 insertions, 14 deletions
diff --git a/mf/lilypond-fonts.conf.in b/mf/00-lilypond-fonts.conf.in index e32baf8147..91f90af420 100644 --- a/mf/lilypond-fonts.conf.in +++ b/mf/00-lilypond-fonts.conf.in @@ -41,18 +41,4 @@ </default> </alias> - <!-- - Reject bitmap fonts - from fontconfig 70-no-bitmaps.conf - LilyPond can not use bitmap fonts. - --> - - <selectfont> - <rejectfont> - <pattern> - <patelt name="scalable"><bool>false</bool></patelt> - </pattern> - </rejectfont> - </selectfont> - </fontconfig> diff --git a/mf/99-lilypond-fonts.conf.in b/mf/99-lilypond-fonts.conf.in new file mode 100644 index 0000000000..83f8b5376e --- /dev/null +++ b/mf/99-lilypond-fonts.conf.in @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <!-- + Reject bitmap fonts + from fontconfig 70-no-bitmaps.conf + LilyPond can not use bitmap fonts. + --> + + <selectfont> + <rejectfont> + <pattern> + <patelt name="scalable"><bool>false</bool></patelt> + </pattern> + </rejectfont> + </selectfont> + +</fontconfig> |