Seigo Nonaka 0036da164e Use color font if skin tone is specified.
If skin tone is specified, the base emoji should be emoji style even
if it is text presentation default emoji.

This patch also removes wrong test case which expects default emoji
presentation but it is controlled by family order in /etc/fonts.xml
and there is no special logic for default presentation in minikin.
Thus the default presentation unit test should not be in minikin.

Bug: 27342346

Change-Id: I74a2b2feab4d559535049e368cfd833063cce81c
2016-02-26 11:26:30 +09:00

32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
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.
-->
<familyset version="22">
<!-- Place NoGlyphFont here since the first font can be chosen if no font is
available for the code point. -->
<family>
<font weight="400" style="normal">NoGlyphFont.ttf</font>
</family>
<family>
<font weight="400" style="normal">TextEmojiFont.ttf</font>
</family>
<family lang="und-Zsye">
<font weight="400" style="normal">ColorEmojiFont.ttf</font>
</family>
<family>
<font weight="400" style="normal">ColorTextMixedEmojiFont.ttf</font>
</family>
</familyset>