Add the sources of the color emoji font.
|
@ -0,0 +1,35 @@
|
||||||
|
#!/usr/bin/python
|
||||||
|
#
|
||||||
|
# Copyright 2014 Google Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
FONT = NotoColorEmoji
|
||||||
|
PNGS_PREFIX1 = ./png/128/emoji_u
|
||||||
|
PNGS_PREFIX2 = ./png/64/emoji_u
|
||||||
|
|
||||||
|
EMOJI_BUILDER = ../third_party/color_emoji/emoji_builder.py
|
||||||
|
ADD_GLYPHS= ../third_party/color_emoji/add_glyphs.py
|
||||||
|
|
||||||
|
%.ttx: %.ttx.tmpl $(ADD_GLYPHS) $(UNI)
|
||||||
|
python $(ADD_GLYPHS) "$<" "$@" "$(PNGS_PREFIX1)"
|
||||||
|
|
||||||
|
%.ttf: %.ttx
|
||||||
|
@rm -f "$@"
|
||||||
|
ttx "$<"
|
||||||
|
|
||||||
|
$(FONT).ttf: $(FONT).tmpl.ttf $(EMOJI_BUILDER) $(PNGS_PREFIX1)*.png $(PNGS_PREFIX2)*.png
|
||||||
|
python $(EMOJI_BUILDER) -V $< "$@" $(PNGS_PREFIX1) $(PNGS_PREFIX2)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(FONT).ttf $(FONT).tmpl.ttf $(FONT).tmpl.ttx
|
|
@ -0,0 +1,179 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.3">
|
||||||
|
|
||||||
|
<GlyphOrder>
|
||||||
|
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
|
||||||
|
<GlyphID id="0" name=".notdef"/>
|
||||||
|
</GlyphOrder>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<!-- Most of this table will be recalculated by the compiler -->
|
||||||
|
<tableVersion value="1.0"/>
|
||||||
|
<fontRevision value="1.01"/>
|
||||||
|
<checkSumAdjustment value="0x4d5a161a"/>
|
||||||
|
<magicNumber value="0x5f0f3cf5"/>
|
||||||
|
<flags value="00000000 00001011"/>
|
||||||
|
<unitsPerEm value="2048"/>
|
||||||
|
<created value="Wed May 22 20:00:43 2013"/>
|
||||||
|
<modified value="Wed May 22 20:00:43 2013"/>
|
||||||
|
<xMin value="0"/>
|
||||||
|
<yMin value="-500"/>
|
||||||
|
<xMax value="2550"/>
|
||||||
|
<yMax value="1900"/>
|
||||||
|
<macStyle value="00000000 00000000"/>
|
||||||
|
<lowestRecPPEM value="8"/>
|
||||||
|
<fontDirectionHint value="2"/>
|
||||||
|
<indexToLocFormat value="0"/>
|
||||||
|
<glyphDataFormat value="0"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<hhea>
|
||||||
|
<tableVersion value="1.0"/>
|
||||||
|
<ascent value="1900"/>
|
||||||
|
<descent value="-500"/>
|
||||||
|
<lineGap value="256"/>
|
||||||
|
<advanceWidthMax value="2550"/>
|
||||||
|
<minLeftSideBearing value="0"/>
|
||||||
|
<minRightSideBearing value="0"/>
|
||||||
|
<xMaxExtent value="2550"/>
|
||||||
|
<caretSlopeRise value="1"/>
|
||||||
|
<caretSlopeRun value="0"/>
|
||||||
|
<caretOffset value="0"/>
|
||||||
|
<reserved0 value="0"/>
|
||||||
|
<reserved1 value="0"/>
|
||||||
|
<reserved2 value="0"/>
|
||||||
|
<reserved3 value="0"/>
|
||||||
|
<metricDataFormat value="0"/>
|
||||||
|
<numberOfHMetrics value="4"/>
|
||||||
|
</hhea>
|
||||||
|
|
||||||
|
<maxp>
|
||||||
|
<!-- Most of this table will be recalculated by the compiler -->
|
||||||
|
<tableVersion value="0x10000"/>
|
||||||
|
<numGlyphs value="30"/>
|
||||||
|
<maxPoints value="8"/>
|
||||||
|
<maxContours value="2"/>
|
||||||
|
<maxCompositePoints value="0"/>
|
||||||
|
<maxCompositeContours value="0"/>
|
||||||
|
<maxZones value="2"/>
|
||||||
|
<maxTwilightPoints value="0"/>
|
||||||
|
<maxStorage value="1"/>
|
||||||
|
<maxFunctionDefs value="1"/>
|
||||||
|
<maxInstructionDefs value="0"/>
|
||||||
|
<maxStackElements value="64"/>
|
||||||
|
<maxSizeOfInstructions value="46"/>
|
||||||
|
<maxComponentElements value="0"/>
|
||||||
|
<maxComponentDepth value="0"/>
|
||||||
|
</maxp>
|
||||||
|
|
||||||
|
<OS_2>
|
||||||
|
<version value="4"/>
|
||||||
|
<xAvgCharWidth value="2550"/>
|
||||||
|
<usWeightClass value="500"/>
|
||||||
|
<usWidthClass value="5"/>
|
||||||
|
<fsType value="00000000 00000000"/>
|
||||||
|
<ySubscriptXSize value="1331"/>
|
||||||
|
<ySubscriptYSize value="1433"/>
|
||||||
|
<ySubscriptXOffset value="0"/>
|
||||||
|
<ySubscriptYOffset value="286"/>
|
||||||
|
<ySuperscriptXSize value="1331"/>
|
||||||
|
<ySuperscriptYSize value="1433"/>
|
||||||
|
<ySuperscriptXOffset value="0"/>
|
||||||
|
<ySuperscriptYOffset value="983"/>
|
||||||
|
<yStrikeoutSize value="102"/>
|
||||||
|
<yStrikeoutPosition value="530"/>
|
||||||
|
<sFamilyClass value="0"/>
|
||||||
|
<panose>
|
||||||
|
<bFamilyType value="2"/>
|
||||||
|
<bSerifStyle value="0"/>
|
||||||
|
<bWeight value="6"/>
|
||||||
|
<bProportion value="9"/>
|
||||||
|
<bContrast value="0"/>
|
||||||
|
<bStrokeVariation value="0"/>
|
||||||
|
<bArmStyle value="0"/>
|
||||||
|
<bLetterForm value="0"/>
|
||||||
|
<bMidline value="0"/>
|
||||||
|
<bXHeight value="0"/>
|
||||||
|
</panose>
|
||||||
|
<ulUnicodeRange1 value="00000000 00000000 00000000 00000001"/>
|
||||||
|
<ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
|
||||||
|
<ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
|
||||||
|
<ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
|
||||||
|
<achVendID value="GOOG"/>
|
||||||
|
<fsSelection value="00000000 11000000"/>
|
||||||
|
<fsFirstCharIndex value="0"/>
|
||||||
|
<fsLastCharIndex value="90"/>
|
||||||
|
<sTypoAscender value="1900"/>
|
||||||
|
<sTypoDescender value="-500"/>
|
||||||
|
<sTypoLineGap value="256"/>
|
||||||
|
<usWinAscent value="1900"/>
|
||||||
|
<usWinDescent value="500"/>
|
||||||
|
<ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
|
||||||
|
<ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
|
||||||
|
<sxHeight value="0"/>
|
||||||
|
<sCapHeight value="1900"/>
|
||||||
|
<usDefaultChar value="0"/>
|
||||||
|
<usBreakChar value="32"/>
|
||||||
|
<usMaxContex value="1"/>
|
||||||
|
</OS_2>
|
||||||
|
|
||||||
|
<hmtx>
|
||||||
|
<mtx name=".notdef" width="2550" lsb="0"/>
|
||||||
|
</hmtx>
|
||||||
|
|
||||||
|
<cmap>
|
||||||
|
<tableVersion version="0"/>
|
||||||
|
<cmap_format_12 platformID="3" platEncID="10" language="0" format="12" reserved="0" length="1" nGroups="1">
|
||||||
|
<map code="0x0" name=".notdef"/><!-- <control> -->
|
||||||
|
</cmap_format_12>
|
||||||
|
</cmap>
|
||||||
|
|
||||||
|
<name>
|
||||||
|
<namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Copyright 2013 Google Inc. All Rights Reserved.
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Noto Color Emoji
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Regular
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Noto Color Emoji
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Noto Color Emoji
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Version 1.01
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
NotoColorEmoji
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="7" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Noto is a trademark of Google Inc. and may be registered in certain jurisdictions.
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="11" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
http://code.google.com/p/noto/
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="13" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
Licensed under the Apache License, Version 2.0
|
||||||
|
</namerecord>
|
||||||
|
<namerecord nameID="14" platformID="3" platEncID="1" langID="0x409">
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
</namerecord>
|
||||||
|
</name>
|
||||||
|
|
||||||
|
<post>
|
||||||
|
<formatType value="3.0"/>
|
||||||
|
<italicAngle value="0.0"/>
|
||||||
|
<underlinePosition value="-1244"/>
|
||||||
|
<underlineThickness value="131"/>
|
||||||
|
<isFixedPitch value="1"/>
|
||||||
|
<minMemType42 value="0"/>
|
||||||
|
<maxMemType42 value="0"/>
|
||||||
|
<minMemType1 value="0"/>
|
||||||
|
<maxMemType1 value="0"/>
|
||||||
|
</post>
|
||||||
|
|
||||||
|
</ttFont>
|
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 937 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 927 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 940 B |
After Width: | Height: | Size: 863 B |
After Width: | Height: | Size: 1002 B |
After Width: | Height: | Size: 817 B |
After Width: | Height: | Size: 447 B |
After Width: | Height: | Size: 415 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 431 B |
After Width: | Height: | Size: 357 B |
After Width: | Height: | Size: 747 B |
After Width: | Height: | Size: 864 B |
After Width: | Height: | Size: 390 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 834 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 697 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 877 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 403 B |
After Width: | Height: | Size: 795 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1004 B |
After Width: | Height: | Size: 800 B |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 563 B |
After Width: | Height: | Size: 853 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 909 B |
After Width: | Height: | Size: 965 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 902 B |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 626 B |
After Width: | Height: | Size: 822 B |
After Width: | Height: | Size: 801 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 987 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 851 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 976 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 980 B |