猿人学第7题-字体反爬

This commit is contained in:
aiguigu 2022-05-10 01:42:15 +08:00
parent e8ee2cb087
commit b07074dcd7
4 changed files with 686 additions and 10 deletions

View File

@ -0,0 +1,667 @@
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="4.27">
<GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
<GlyphID id="0" name=".notdef"/>
<GlyphID id="1" name="unic598"/>
<GlyphID id="2" name="unic427"/>
<GlyphID id="3" name="unib875"/>
<GlyphID id="4" name="unib719"/>
<GlyphID id="5" name="unia874"/>
<GlyphID id="6" name="unib365"/>
<GlyphID id="7" name="unie542"/>
<GlyphID id="8" name="unia785"/>
<GlyphID id="9" name="unib296"/>
<GlyphID id="10" name="unif179"/>
</GlyphOrder>
<head>
<!-- Most of this table will be recalculated by the compiler -->
<tableVersion value="1.0"/>
<fontRevision value="1.0"/>
<checkSumAdjustment value="0xee61e9ca"/>
<magicNumber value="0x5f0f3cf5"/>
<flags value="00000000 00001001"/>
<unitsPerEm value="1000"/>
<created value="Sun Oct 13 04:00:31 2019"/>
<modified value="Mon May 9 16:57:12 2022"/>
<xMin value="13"/>
<yMin value="-20"/>
<xMax value="573"/>
<yMax value="722"/>
<macStyle value="00000000 00000000"/>
<lowestRecPPEM value="8"/>
<fontDirectionHint value="2"/>
<indexToLocFormat value="0"/>
<glyphDataFormat value="0"/>
</head>
<hhea>
<tableVersion value="0x00010000"/>
<ascent value="1060"/>
<descent value="-340"/>
<lineGap value="126"/>
<advanceWidthMax value="600"/>
<minLeftSideBearing value="0"/>
<minRightSideBearing value="40"/>
<xMaxExtent value="560"/>
<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="2"/>
</hhea>
<maxp>
<!-- Most of this table will be recalculated by the compiler -->
<tableVersion value="0x10000"/>
<numGlyphs value="11"/>
<maxPoints value="57"/>
<maxContours value="3"/>
<maxCompositePoints value="0"/>
<maxCompositeContours value="0"/>
<maxZones value="2"/>
<maxTwilightPoints value="0"/>
<maxStorage value="10"/>
<maxFunctionDefs value="10"/>
<maxInstructionDefs value="0"/>
<maxStackElements value="255"/>
<maxSizeOfInstructions value="0"/>
<maxComponentElements value="0"/>
<maxComponentDepth value="0"/>
</maxp>
<OS_2>
<!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
will be recalculated by the compiler -->
<version value="4"/>
<xAvgCharWidth value="554"/>
<usWeightClass value="400"/>
<usWidthClass value="5"/>
<fsType value="00000000 00001000"/>
<ySubscriptXSize value="721"/>
<ySubscriptYSize value="979"/>
<ySubscriptXOffset value="0"/>
<ySubscriptYOffset value="196"/>
<ySuperscriptXSize value="721"/>
<ySuperscriptYSize value="979"/>
<ySuperscriptXOffset value="0"/>
<ySuperscriptYOffset value="672"/>
<yStrikeoutSize value="68"/>
<yStrikeoutPosition value="361"/>
<sFamilyClass value="0"/>
<panose>
<bFamilyType value="2"/>
<bSerifStyle value="0"/>
<bWeight value="5"/>
<bProportion value="3"/>
<bContrast value="0"/>
<bStrokeVariation value="0"/>
<bArmStyle value="0"/>
<bLetterForm value="0"/>
<bMidline value="0"/>
<bXHeight value="0"/>
</panose>
<ulUnicodeRange1 value="00000000 00000000 00000000 00000000"/>
<ulUnicodeRange2 value="00010000 00000000 00000000 00000000"/>
<ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
<ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
<achVendID value="PfEd"/>
<fsSelection value="00000000 01000000"/>
<usFirstCharIndex value="42885"/>
<usLastCharIndex value="61817"/>
<sTypoAscender value="1060"/>
<sTypoDescender value="-340"/>
<sTypoLineGap value="126"/>
<usWinAscent value="1060"/>
<usWinDescent value="340"/>
<ulCodePageRange1 value="00000000 00000000 00000000 00000001"/>
<ulCodePageRange2 value="00000000 00000000 00000000 00000000"/>
<sxHeight value="0"/>
<sCapHeight value="0"/>
<usDefaultChar value="0"/>
<usBreakChar value="32"/>
<usMaxContext value="0"/>
</OS_2>
<hmtx>
<mtx name=".notdef" width="100" lsb="0"/>
<mtx name="unia785" width="600" lsb="0"/>
<mtx name="unia874" width="600" lsb="0"/>
<mtx name="unib296" width="600" lsb="0"/>
<mtx name="unib365" width="600" lsb="0"/>
<mtx name="unib719" width="600" lsb="0"/>
<mtx name="unib875" width="600" lsb="0"/>
<mtx name="unic427" width="600" lsb="0"/>
<mtx name="unic598" width="600" lsb="0"/>
<mtx name="unie542" width="600" lsb="0"/>
<mtx name="unif179" width="600" lsb="0"/>
</hmtx>
<cmap>
<tableVersion version="0"/>
<cmap_format_4 platformID="0" platEncID="3" language="0">
<map code="0xa785" name="unia785"/><!-- LATIN SMALL LETTER INSULAR S -->
<map code="0xa874" name="unia874"/><!-- PHAGS-PA SINGLE HEAD MARK -->
<map code="0xb296" name="unib296"/><!-- HANGUL SYLLABLE NEUNH -->
<map code="0xb365" name="unib365"/><!-- HANGUL SYLLABLE DEOB -->
<map code="0xb719" name="unib719"/><!-- HANGUL SYLLABLE DDYULT -->
<map code="0xb875" name="unib875"/><!-- HANGUL SYLLABLE ROT -->
<map code="0xc427" name="unic427"/><!-- HANGUL SYLLABLE SSWAEC -->
<map code="0xc598" name="unic598"/><!-- HANGUL SYLLABLE YAE -->
<map code="0xe542" name="unie542"/><!-- ???? -->
<map code="0xf179" name="unif179"/><!-- ???? -->
</cmap_format_4>
<cmap_format_0 platformID="1" platEncID="0" language="0">
</cmap_format_0>
<cmap_format_4 platformID="3" platEncID="1" language="0">
<map code="0xa785" name="unia785"/><!-- LATIN SMALL LETTER INSULAR S -->
<map code="0xa874" name="unia874"/><!-- PHAGS-PA SINGLE HEAD MARK -->
<map code="0xb296" name="unib296"/><!-- HANGUL SYLLABLE NEUNH -->
<map code="0xb365" name="unib365"/><!-- HANGUL SYLLABLE DEOB -->
<map code="0xb719" name="unib719"/><!-- HANGUL SYLLABLE DDYULT -->
<map code="0xb875" name="unib875"/><!-- HANGUL SYLLABLE ROT -->
<map code="0xc427" name="unic427"/><!-- HANGUL SYLLABLE SSWAEC -->
<map code="0xc598" name="unic598"/><!-- HANGUL SYLLABLE YAE -->
<map code="0xe542" name="unie542"/><!-- ???? -->
<map code="0xf179" name="unif179"/><!-- ???? -->
</cmap_format_4>
</cmap>
<loca>
<!-- The 'loca' table will be calculated by the compiler -->
</loca>
<glyf>
<!-- The xMin, yMin, xMax and yMax values
will be recalculated by the compiler. -->
<TTGlyph name=".notdef" xMin="18" yMin="-20" xMax="40" yMax="16">
<contour>
<pt x="18" y="16" on="1"/>
<pt x="40" y="16" on="1"/>
<pt x="40" y="-20" on="1"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unia785" xMin="43" yMin="-14" xMax="538" yMax="714">
<contour>
<pt x="105" y="714" on="1"/>
<pt x="61" y="308" on="1"/>
<pt x="206" y="308" on="1"/>
<pt x="206" y="377" on="0"/>
<pt x="205" y="382" on="1"/>
<pt x="251" y="414" on="0"/>
<pt x="291" y="414" on="1"/>
<pt x="375" y="414" on="0"/>
<pt x="482" y="305" on="0"/>
<pt x="482" y="228" on="1"/>
<pt x="482" y="151" on="0"/>
<pt x="379" y="46" on="0"/>
<pt x="287" y="46" on="1"/>
<pt x="221" y="46" on="0"/>
<pt x="171" y="74" on="1"/>
<pt x="146" y="113" on="0"/>
<pt x="131" y="187" on="1"/>
<pt x="43" y="187" on="1"/>
<pt x="43" y="111" on="0"/>
<pt x="128" y="32" on="1"/>
<pt x="204" y="-14" on="0"/>
<pt x="293" y="-14" on="1"/>
<pt x="396" y="-14" on="0"/>
<pt x="471" y="61" on="1"/>
<pt x="538" y="112" on="0"/>
<pt x="538" y="228" on="1"/>
<pt x="538" y="335" on="0"/>
<pt x="420" y="464" on="0"/>
<pt x="317" y="464" on="1"/>
<pt x="293" y="473" on="0"/>
<pt x="221" y="456" on="1"/>
<pt x="206" y="431" on="0"/>
<pt x="138" y="393" on="1"/>
<pt x="135" y="393" on="1"/>
<pt x="179" y="636" on="1"/>
<pt x="524" y="636" on="1"/>
<pt x="524" y="714" on="1"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unia874" xMin="43" yMin="-14" xMax="571" yMax="722">
<contour>
<pt x="303" y="721" on="1"/>
<pt x="206" y="721" on="0"/>
<pt x="146" y="611" on="1"/>
<pt x="43" y="508" on="0"/>
<pt x="43" y="331" on="1"/>
<pt x="43" y="203" on="0"/>
<pt x="112" y="74" on="1"/>
<pt x="176" y="-13" on="0"/>
<pt x="297" y="-14" on="1"/>
<pt x="403" y="-13" on="0"/>
<pt x="571" y="124" on="0"/>
<pt x="571" y="328" on="0"/>
<pt x="418" y="467" on="0"/>
<pt x="319" y="467" on="1"/>
<pt x="256" y="467" on="0"/>
<pt x="206" y="422" on="1"/>
<pt x="148" y="414" on="0"/>
<pt x="130" y="335" on="1"/>
<pt x="146" y="335" on="1"/>
<pt x="116" y="377" on="1"/>
<pt x="116" y="489" on="0"/>
<pt x="206" y="565" on="1"/>
<pt x="216" y="661" on="0"/>
<pt x="297" y="661" on="1"/>
<pt x="422" y="661" on="0"/>
<pt x="443" y="530" on="1"/>
<pt x="530" y="530" on="1"/>
<pt x="514" y="722" on="0"/>
</contour>
<contour>
<pt x="306" y="387" on="1"/>
<pt x="369" y="398" on="0"/>
<pt x="418" y="342" on="1"/>
<pt x="463" y="306" on="0"/>
<pt x="463" y="162" on="0"/>
<pt x="415" y="103" on="1"/>
<pt x="379" y="46" on="0"/>
<pt x="306" y="45" on="1"/>
<pt x="222" y="45" on="0"/>
<pt x="173" y="111" on="1"/>
<pt x="146" y="146" on="0"/>
<pt x="146" y="297" on="0"/>
<pt x="228" y="387" on="0"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unib296" xMin="13" yMin="0" xMax="573" yMax="714">
<contour>
<pt x="379" y="714" on="1"/>
<pt x="13" y="259" on="1"/>
<pt x="13" y="174" on="1"/>
<pt x="392" y="174" on="1"/>
<pt x="392" y="0" on="1"/>
<pt x="490" y="0" on="1"/>
<pt x="490" y="174" on="1"/>
<pt x="573" y="174" on="1"/>
<pt x="573" y="226" on="1"/>
<pt x="490" y="226" on="1"/>
<pt x="490" y="714" on="1"/>
</contour>
<contour>
<pt x="369" y="600" on="1"/>
<pt x="392" y="600" on="1"/>
<pt x="392" y="226" on="1"/>
<pt x="146" y="226" on="1"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unib365" xMin="43" yMin="-14" xMax="554" yMax="721">
<contour>
<pt x="291" y="721" on="1"/>
<pt x="173" y="721" on="0"/>
<pt x="113" y="660" on="1"/>
<pt x="61" y="606" on="0"/>
<pt x="61" y="539" on="1"/>
<pt x="61" y="475" on="0"/>
<pt x="105" y="441" on="1"/>
<pt x="146" y="414" on="0"/>
<pt x="176" y="377" on="1"/>
<pt x="176" y="371" on="1"/>
<pt x="128" y="358" on="0"/>
<pt x="86" y="335" on="1"/>
<pt x="43" y="259" on="0"/>
<pt x="43" y="183" on="1"/>
<pt x="43" y="95" on="0"/>
<pt x="206" y="-14" on="0"/>
<pt x="431" y="-14" on="0"/>
<pt x="508" y="39" on="1"/>
<pt x="554" y="95" on="0"/>
<pt x="554" y="183" on="1"/>
<pt x="554" y="259" on="0"/>
<pt x="509" y="335" on="1"/>
<pt x="524" y="358" on="0"/>
<pt x="434" y="371" on="1"/>
<pt x="434" y="377" on="1"/>
<pt x="471" y="414" on="0"/>
<pt x="498" y="441" on="1"/>
<pt x="521" y="475" on="0"/>
<pt x="521" y="539" on="1"/>
<pt x="521" y="606" on="0"/>
<pt x="490" y="660" on="1"/>
<pt x="419" y="721" on="0"/>
</contour>
<contour>
<pt x="291" y="648" on="1"/>
<pt x="375" y="648" on="0"/>
<pt x="419" y="616" on="1"/>
<pt x="453" y="583" on="0"/>
<pt x="453" y="475" on="0"/>
<pt x="431" y="447" on="1"/>
<pt x="392" y="409" on="0"/>
<pt x="201" y="409" on="0"/>
<pt x="206" y="447" on="1"/>
<pt x="146" y="475" on="0"/>
<pt x="146" y="583" on="0"/>
<pt x="178" y="616" on="1"/>
<pt x="250" y="648" on="0"/>
</contour>
<contour>
<pt x="291" y="334" on="1"/>
<pt x="379" y="334" on="0"/>
<pt x="430" y="301" on="1"/>
<pt x="524" y="251" on="0"/>
<pt x="524" y="145" on="0"/>
<pt x="430" y="86" on="1"/>
<pt x="395" y="74" on="0"/>
<pt x="219" y="74" on="0"/>
<pt x="128" y="145" on="0"/>
<pt x="128" y="251" on="0"/>
<pt x="206" y="301" on="1"/>
<pt x="219" y="334" on="0"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unib719" xMin="110" yMin="0" xMax="347" yMax="714">
<contour>
<pt x="298" y="714" on="1"/>
<pt x="264" y="673" on="0"/>
<pt x="206" y="633" on="0"/>
<pt x="110" y="610" on="1"/>
<pt x="110" y="505" on="1"/>
<pt x="206" y="551" on="0"/>
<pt x="293" y="606" on="1"/>
<pt x="293" y="0" on="1"/>
<pt x="347" y="0" on="1"/>
<pt x="347" y="714" on="1"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unib875" xMin="62" yMin="0" xMax="552" yMax="721">
<contour>
<pt x="303" y="721" on="1"/>
<pt x="219" y="721" on="0"/>
<pt x="62" y="570" on="0"/>
<pt x="69" y="456" on="1"/>
<pt x="206" y="456" on="1"/>
<pt x="138" y="551" on="0"/>
<pt x="182" y="594" on="1"/>
<pt x="222" y="661" on="0"/>
<pt x="306" y="646" on="1"/>
<pt x="369" y="646" on="0"/>
<pt x="452" y="585" on="0"/>
<pt x="452" y="517" on="1"/>
<pt x="452" y="439" on="0"/>
<pt x="396" y="393" on="1"/>
<pt x="369" y="367" on="0"/>
<pt x="293" y="297" on="1"/>
<pt x="178" y="228" on="0"/>
<pt x="128" y="203" on="1"/>
<pt x="64" y="83" on="0"/>
<pt x="64" y="0" on="1"/>
<pt x="530" y="0" on="1"/>
<pt x="530" y="71" on="1"/>
<pt x="178" y="71" on="1"/>
<pt x="178" y="138" on="0"/>
<pt x="310" y="228" on="1"/>
<pt x="419" y="305" on="0"/>
<pt x="466" y="342" on="1"/>
<pt x="552" y="427" on="0"/>
<pt x="552" y="606" on="0"/>
<pt x="395" y="721" on="0"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unic427" xMin="63" yMin="0" xMax="530" yMax="714">
<contour>
<pt x="63" y="714" on="1"/>
<pt x="63" y="638" on="1"/>
<pt x="453" y="638" on="1"/>
<pt x="181" y="0" on="1"/>
<pt x="270" y="0" on="1"/>
<pt x="530" y="644" on="1"/>
<pt x="530" y="714" on="1"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unic598" xMin="43" yMin="-14" xMax="571" yMax="721">
<contour>
<pt x="306" y="721" on="1"/>
<pt x="204" y="721" on="0"/>
<pt x="151" y="660" on="1"/>
<pt x="71" y="633" on="0"/>
<pt x="63" y="493" on="1"/>
<pt x="143" y="493" on="1"/>
<pt x="149" y="580" on="0"/>
<pt x="233" y="646" on="0"/>
<pt x="310" y="661" on="1"/>
<pt x="375" y="646" on="0"/>
<pt x="416" y="616" on="1"/>
<pt x="482" y="583" on="0"/>
<pt x="482" y="457" on="0"/>
<pt x="379" y="407" on="0"/>
<pt x="306" y="407" on="1"/>
<pt x="253" y="407" on="1"/>
<pt x="253" y="339" on="1"/>
<pt x="303" y="339" on="1"/>
<pt x="374" y="335" on="0"/>
<pt x="482" y="289" on="0"/>
<pt x="482" y="141" on="0"/>
<pt x="418" y="86" on="1"/>
<pt x="379" y="46" on="0"/>
<pt x="317" y="46" on="1"/>
<pt x="229" y="42" on="0"/>
<pt x="206" y="83" on="1"/>
<pt x="206" y="133" on="0"/>
<pt x="146" y="212" on="1"/>
<pt x="43" y="212" on="1"/>
<pt x="57" y="90" on="0"/>
<pt x="146" y="24" on="1"/>
<pt x="187" y="-13" on="0"/>
<pt x="317" y="-14" on="1"/>
<pt x="409" y="-14" on="0"/>
<pt x="571" y="111" on="0"/>
<pt x="571" y="212" on="1"/>
<pt x="571" y="267" on="0"/>
<pt x="508" y="305" on="1"/>
<pt x="508" y="355" on="0"/>
<pt x="434" y="377" on="1"/>
<pt x="530" y="400" on="0"/>
<pt x="530" y="522" on="1"/>
<pt x="530" y="622" on="0"/>
<pt x="415" y="721" on="0"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unie542" xMin="40" yMin="-14" xMax="571" yMax="722">
<contour>
<pt x="291" y="721" on="1"/>
<pt x="206" y="722" on="0"/>
<pt x="94" y="606" on="1"/>
<pt x="40" y="530" on="0"/>
<pt x="40" y="206" on="0"/>
<pt x="94" y="111" on="1"/>
<pt x="206" y="-14" on="0"/>
<pt x="422" y="-14" on="0"/>
<pt x="498" y="111" on="1"/>
<pt x="571" y="206" on="0"/>
<pt x="571" y="530" on="0"/>
<pt x="498" y="606" on="1"/>
<pt x="422" y="722" on="0"/>
</contour>
<contour>
<pt x="291" y="646" on="1"/>
<pt x="395" y="646" on="0"/>
<pt x="453" y="553" on="1"/>
<pt x="463" y="469" on="0"/>
<pt x="463" y="231" on="0"/>
<pt x="453" y="203" on="1"/>
<pt x="395" y="42" on="0"/>
<pt x="191" y="42" on="0"/>
<pt x="148" y="203" on="1"/>
<pt x="131" y="231" on="0"/>
<pt x="131" y="469" on="0"/>
<pt x="148" y="553" on="1"/>
<pt x="191" y="646" on="0"/>
</contour>
<instructions/>
</TTGlyph>
<TTGlyph name="unif179" xMin="43" yMin="-14" xMax="571" yMax="721">
<contour>
<pt x="293" y="721" on="1"/>
<pt x="187" y="721" on="0"/>
<pt x="43" y="583" on="0"/>
<pt x="43" y="469" on="1"/>
<pt x="43" y="368" on="0"/>
<pt x="113" y="315" on="1"/>
<pt x="178" y="234" on="0"/>
<pt x="264" y="234" on="1"/>
<pt x="331" y="243" on="0"/>
<pt x="428" y="329" on="0"/>
<pt x="461" y="367" on="1"/>
<pt x="466" y="367" on="1"/>
<pt x="475" y="331" on="1"/>
<pt x="475" y="228" on="0"/>
<pt x="415" y="124" on="1"/>
<pt x="375" y="45" on="0"/>
<pt x="293" y="45" on="1"/>
<pt x="206" y="45" on="0"/>
<pt x="146" y="203" on="1"/>
<pt x="62" y="203" on="1"/>
<pt x="83" y="-14" on="0"/>
<pt x="286" y="-14" on="1"/>
<pt x="416" y="-13" on="0"/>
<pt x="469" y="83" on="1"/>
<pt x="571" y="203" on="0"/>
<pt x="571" y="377" on="1"/>
<pt x="571" y="551" on="0"/>
<pt x="472" y="648" on="1"/>
<pt x="434" y="721" on="0"/>
</contour>
<contour>
<pt x="293" y="661" on="1"/>
<pt x="368" y="661" on="0"/>
<pt x="409" y="594" on="1"/>
<pt x="443" y="551" on="0"/>
<pt x="443" y="436" on="0"/>
<pt x="363" y="315" on="0"/>
<pt x="293" y="315" on="1"/>
<pt x="205" y="315" on="0"/>
<pt x="131" y="414" on="0"/>
<pt x="131" y="469" on="1"/>
<pt x="131" y="546" on="0"/>
<pt x="223" y="661" on="0"/>
</contour>
<instructions/>
</TTGlyph>
</glyf>
<name>
<namerecord nameID="0" platformID="1" platEncID="0" langID="0x0" unicode="True">
Created by font-carrier
</namerecord>
<namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
.PingFang SC
</namerecord>
<namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
Regular
</namerecord>
<namerecord nameID="3" platformID="1" platEncID="0" langID="0x0" unicode="True">
.PingFang-SC-Regular
</namerecord>
<namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
.PingFang-SC-Regular
</namerecord>
<namerecord nameID="5" platformID="1" platEncID="0" langID="0x0" unicode="True">
Version 1.0
</namerecord>
<namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
.PingFang-SC-Regular
</namerecord>
<namerecord nameID="10" platformID="1" platEncID="0" langID="0x0" unicode="True">
Generated by svg2ttf from Fontello project.
</namerecord>
<namerecord nameID="11" platformID="1" platEncID="0" langID="0x0" unicode="True">
http://fontello.com
</namerecord>
<namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
Created by font-carrier
</namerecord>
<namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
.PingFang SC
</namerecord>
<namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
Regular
</namerecord>
<namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
.PingFang-SC-Regular
</namerecord>
<namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
.PingFang-SC-Regular
</namerecord>
<namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
Version 1.0
</namerecord>
<namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
.PingFang-SC-Regular
</namerecord>
<namerecord nameID="10" platformID="3" platEncID="1" langID="0x409">
Generated by svg2ttf from Fontello project.
</namerecord>
<namerecord nameID="11" platformID="3" platEncID="1" langID="0x409">
http://fontello.com
</namerecord>
</name>
<post>
<formatType value="2.0"/>
<italicAngle value="0.0"/>
<underlinePosition value="14"/>
<underlineThickness value="0"/>
<isFixedPitch value="0"/>
<minMemType42 value="0"/>
<maxMemType42 value="0"/>
<minMemType1 value="0"/>
<maxMemType1 value="11"/>
<psNames>
<!-- This file uses unique glyph names based on the information
found in the 'post' table. Since these names might not be unique,
we have to invent artificial names in case of clashes. In order to
be able to retain the original information, we need a name to
ps name mapping for those cases where they differ. That's what
you see below.
-->
</psNames>
<extraNames>
<!-- following are the name that are not taken from the standard Mac glyph order -->
<psName name="unif179"/>
<psName name="unia874"/>
<psName name="unib296"/>
<psName name="unib719"/>
<psName name="unia785"/>
<psName name="unic427"/>
<psName name="unib365"/>
<psName name="unie542"/>
<psName name="unic598"/>
<psName name="unib875"/>
</extraNames>
</post>
</ttFont>

View File

@ -0,0 +1,3 @@
# 字体编辑器
http://font.qqe2.com/

View File

@ -1,4 +1,4 @@
from urllib.parse import urlparse
from fontTools.ttLib import TTFont
import requests
import time
import json
@ -22,20 +22,26 @@ class App(object):
def with_ttf(self, woff):
b64_code = woff
with open('font.ttf', 'wb') as f:
with open('font.woff', 'wb') as f:
f.write(base64.decodebytes(b64_code.encode()))
def get_xml(self):
font = TTFont('font.woff')
font.saveXML('movie.xml')
def run(self):
data_sum = 0
for page in range(1, 6):
res = self.get_html("", page)
woff = res.get('woff')
self.with_ttf(woff)
data_list = res.get('data')
for data in data_list:
print(data.get('value'))
# data_sum += data.get('value')
time.sleep(1)
# res = self.get_html("", page)
# woff = res.get('woff')
# self.with_ttf(woff)
self.get_xml()
exit()
# data_list = res.get('data')
# for data in data_list:
# print(data.get('value'))
# # data_sum += data.get('value')
# time.sleep(1)
print(data_sum)