Add multi-user support
[platform/core/graphics/default-fonts-fc-sdk.git] / sdk_fonts_fc / 99-slp.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
4 <!--
5   default-fonts-fc-sdk
6  
7   Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
8  
9   Contact: Minsu Han <minsu81.han@samsung.com>
10   
11   Licensed under the Apache License, Version 2.0 (the "License");
12   you may not use this file except in compliance with the License.
13   You may obtain a copy of the License at
14
15   http://www.apache.org/licenses/LICENSE-2.0
16  
17   Unless required by applicable law or agreed to in writing, software
18   distributed under the License is distributed on an "AS IS" BASIS,
19   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   See the License for the specific language governing permissions and 
21   limitations under the License.
22 -->
23
24 <fontconfig>
25 <!-- 
26  Accept deprecated 'Tizen' alias, replacing it with 'TizenSans'
27  -->
28         <match target="pattern">
29                 <!-- check to see if the font is just regular -->
30                 <test qual="any" name="family">
31                         <string>SLP</string>
32                 </test>
33                 <edit name="family" mode="assign">
34                         <string>TizenSans</string>
35                 </edit>
36         </match>
37
38         <match target="pattern">
39                 <!-- check to see if the font is just regular -->
40                 <test qual="any" name="family">
41                         <string>Tizen</string>
42                 </test>
43                 <edit name="family" mode="assign">
44                         <string>TizenSans</string>
45                 </edit>
46         </match>
47
48         <match>
49                 <test name="lang" compare="contains">
50                         <string>ko</string>
51                 </test>
52                 <test name="family">
53                         <string>TizenSans</string>
54                 </test>
55                 <edit name="family" mode="prepend">
56                         <string>TizenSansKorean</string>
57                 </edit>
58         </match>
59
60         <alias binding="strong">
61         <family>TizenSans</family>
62                 <prefer>
63                         <family>TizenSans</family>
64                 </prefer>
65         </alias>
66 </fontconfig>