Skip to content

Instantly share code, notes, and snippets.

KUNZHIPENG kunzhipeng

View GitHub Profile
@kunzhipeng
kunzhipeng / Font2Images.py
Created Apr 15, 2020
将字体文件内各字体导出图片存储,并建立一个Excel索引
View Font2Images.py
# 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
@kunzhipeng
kunzhipeng / gistools.py
Created Nov 13, 2018 — forked from JobsDong/gistools.py
Mercator to BD09, BD09 to GCJ03
View gistools.py
#!/usr/bin/python
#-*- coding=utf-8 -*-
"""用于和地理信息有关的数据处理
"""
__author__ = ['"wuyadong" <wuyadong@tigerknows.com>']
import math
You can’t perform that action at this time.