diff options
Diffstat (limited to 'sdk_fonts_fc/99-tizen.conf')
-rw-r--r-- | sdk_fonts_fc/99-tizen.conf | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/sdk_fonts_fc/99-tizen.conf b/sdk_fonts_fc/99-tizen.conf new file mode 100644 index 0000000..154d598 --- /dev/null +++ b/sdk_fonts_fc/99-tizen.conf @@ -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> |