Rename 99-slp.conf to 99-tizen.conf 50/64450/1
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 1 Apr 2016 08:33:03 +0000 (17:33 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Fri, 1 Apr 2016 08:33:45 +0000 (17:33 +0900)
Change-Id: Ic7cf42a153c2d16545397fb48deb05b7920b4c4a

packaging/default-fonts-fc-sdk.spec
sdk_fonts_fc/99-slp.conf [deleted file]
sdk_fonts_fc/99-tizen.conf [new file with mode: 0644]

index 4d449cc89731fd58be7ca2be2368465da25738ca..00ad69d3fe5cea3635568bd02cd6363d1499c8c8 100644 (file)
@@ -20,7 +20,7 @@ This package is maintained by SDK team
 cp %{SOURCE1001} .
 
 %install
-export FONT_CONF_FILE_1="99-slp.conf"
+export FONT_CONF_FILE_1="99-tizen.conf"
 export FONT_CONF_FILE_2="10-hinting-slight.conf"
 
 ## TZ_SYS_RO_ETC: /etc, TZ_SYS_ETC: /opt/etc/
diff --git a/sdk_fonts_fc/99-slp.conf b/sdk_fonts_fc/99-slp.conf
deleted file mode 100644 (file)
index 154d598..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-
-<!--
-  default-fonts-fc-sdk
-  Copyright (c) 2011 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
-  Contact: Minsu Han <minsu81.han@samsung.com>
-  
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and 
-  limitations under the License.
--->
-
-<fontconfig>
-<!-- 
- Accept deprecated 'Tizen' alias, replacing it with 'TizenSans'
- -->
-       <match target="pattern">
-               <!-- check to see if the font is just regular -->
-               <test qual="any" name="family">
-                       <string>Tizen</string>
-               </test>
-               <edit name="family" mode="assign">
-                       <string>BreezeSans</string>
-               </edit>
-       </match>
-
-       <alias binding="strong">
-               <family>BreezeSans</family>
-                       <prefer>
-                               <family>BreezeSans</family>
-                       </prefer>
-                       <default>
-                               <family>BreezeSans</family>
-                       </default>
-       </alias>
-
-       <alias binding="strong">
-               <family>TizenSans</family>
-                       <prefer>
-                               <family>TizenSans</family>
-                       </prefer>
-                       <default>
-                               <family>BreezeSans</family>
-                       </default>
-       </alias>
-
-       <alias binding="strong">
-               <family>BreezeSans</family>
-                       <prefer>
-                               <family>BreezeSans</family>
-                               <family>BreezeSansKorean</family>
-                               <family>BreezeSansChinese</family>
-                               <family>BreezeSansJapanese</family>
-                               <family>BreezeSansThai</family>
-                               <family>BreezeSansArabic</family>
-                               <family>BreezeColorEmoji</family>
-                               <family>BreezeSansFallback</family>
-                       </prefer>
-       </alias>
-
-       <match target="pattern">
-               <test qual="any" name="lang" compare="contains">
-                       <string>ja</string>
-               </test>
-               <test name="family">
-                       <string>BreezeSansChinese</string>
-               </test>
-               <edit name="family" mode="prepend" binding="strong">
-                       <string>BreezeSansJapanese</string>
-               </edit>
-       </match>
-
-</fontconfig>
diff --git a/sdk_fonts_fc/99-tizen.conf b/sdk_fonts_fc/99-tizen.conf
new file mode 100644 (file)
index 0000000..154d598
--- /dev/null
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+
+<!--
+  default-fonts-fc-sdk
+  Copyright (c) 2011 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+  Contact: Minsu Han <minsu81.han@samsung.com>
+  
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and 
+  limitations under the License.
+-->
+
+<fontconfig>
+<!-- 
+ Accept deprecated 'Tizen' alias, replacing it with 'TizenSans'
+ -->
+       <match target="pattern">
+               <!-- check to see if the font is just regular -->
+               <test qual="any" name="family">
+                       <string>Tizen</string>
+               </test>
+               <edit name="family" mode="assign">
+                       <string>BreezeSans</string>
+               </edit>
+       </match>
+
+       <alias binding="strong">
+               <family>BreezeSans</family>
+                       <prefer>
+                               <family>BreezeSans</family>
+                       </prefer>
+                       <default>
+                               <family>BreezeSans</family>
+                       </default>
+       </alias>
+
+       <alias binding="strong">
+               <family>TizenSans</family>
+                       <prefer>
+                               <family>TizenSans</family>
+                       </prefer>
+                       <default>
+                               <family>BreezeSans</family>
+                       </default>
+       </alias>
+
+       <alias binding="strong">
+               <family>BreezeSans</family>
+                       <prefer>
+                               <family>BreezeSans</family>
+                               <family>BreezeSansKorean</family>
+                               <family>BreezeSansChinese</family>
+                               <family>BreezeSansJapanese</family>
+                               <family>BreezeSansThai</family>
+                               <family>BreezeSansArabic</family>
+                               <family>BreezeColorEmoji</family>
+                               <family>BreezeSansFallback</family>
+                       </prefer>
+       </alias>
+
+       <match target="pattern">
+               <test qual="any" name="lang" compare="contains">
+                       <string>ja</string>
+               </test>
+               <test name="family">
+                       <string>BreezeSansChinese</string>
+               </test>
+               <edit name="family" mode="prepend" binding="strong">
+                       <string>BreezeSansJapanese</string>
+               </edit>
+       </match>
+
+</fontconfig>