blob: 8459ab0cea1b44031ae9ff422d0143d6874e7f29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<% data['fonts'].each do |font| %>
<!-- Noto <%= font['family'] %> -->
<match>
<%- if data['lang'] -%>
<test name="lang" compare="contains">
<%- (font['lang'] || data['lang']).each do |code| -%>
<string><%= code %></string>
<%- end -%>
</test>
<%- end -%>
<test name="family">
<string><%= font['alias'] %></string>
</test>
<edit name="family" mode="prepend">
<string>Noto <%= font['family'] %></string>
</edit>
<edit name="fonthashint" mode="append">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto <%= font['family'] %></family>
<default>
<family><%= font['alias'] %></family>
</default>
</alias>
<% end %>
</fontconfig>
|