This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# 将字体文件内各字体导出图片存储 | |
# 在https://my.oschina.net/colin86/blog/1842419基础上修改 | |
import os | |
import xlsxwriter | |
from fontTools.ttLib import TTFont | |
from fontTools.pens.basePen import BasePen | |
from reportlab.graphics.shapes import Path | |
from reportlab.lib import colors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#-*- coding=utf-8 -*- | |
"""用于和地理信息有关的数据处理 | |
""" | |
__author__ = ['"wuyadong" <wuyadong@tigerknows.com>'] | |
import math |