]> git.donarmstrong.com Git - lilypond.git/blob - mf/99-lilypond-fonts.conf.in
Merge branch 'master' of /home/jcharles/GIT/Lily/. into translation
[lilypond.git] / mf / 99-lilypond-fonts.conf.in
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <fontconfig>
4
5   <!--
6       Reject bitmap fonts
7       from fontconfig 70-no-bitmaps.conf
8       LilyPond can not use bitmap fonts.
9   -->
10
11   <selectfont>
12     <rejectfont>
13       <pattern>
14         <patelt name="scalable"><bool>false</bool></patelt>
15       </pattern>
16     </rejectfont>
17   </selectfont>
18
19   <!--
20       LilyPond cannot handle OpenType/CFF Collection (OTC) fonts
21       (NotoSansCJK.ttc and SourceHanSans.ttc etc.).
22       This settings is a workaround that ignores some major OTC fonts
23       for avoiding errors.
24       TODO: Add OTC fonts support and remove this settings
25   -->
26
27   <selectfont>
28     <rejectfont>
29       <!--
30           Noto Sans CJK
31           https://www.google.com/get/noto/help/cjk/
32
33           `CJK OTF fonts with different default language' and
34           `Region specific OTF subsets' can be used.
35           Their file names are `NotoSans*.otf'.
36       -->
37       <glob>*/NotoSansCJK*.ttc</glob>
38
39       <!--
40           Source Han Sans
41           https://github.com/adobe-fonts/source-han-sans
42
43           `Language-specific OTFs' and
44           `Region-specific Subset OTFs' can be used.
45           Their file names are `SourceHanSans*.otf'.
46       -->
47       <glob>*/SourceHanSans*.ttc</glob>
48
49       <!--
50           Source Han Code JP
51           https://github.com/adobe-fonts/source-han-code-jp
52
53           `OTF' can be used.
54           Their file names are `SourceHanCodeJP-*.otf'.
55       -->
56       <glob>*/SourceHanCodeJP.ttc</glob>
57     </rejectfont>
58   </selectfont>
59
60 </fontconfig>