{"categories":["Python","font"],"version":"1.0","blog_url":"https://randommemory.hatenablog.com/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2019%2F10%2F17%2F020611\" title=\"Jupyter\u3067\u30b0\u30ea\u30d5\u306e\u63cf\u753b - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u843d\u3068\u3055\u306a\u304f\u3066\u3082\u3067\u304d\u305f\u3002 from defcon import Font from fontTools.pens.svgPathPen import SVGPathPen from IPython.display import SVG, display font = Font(\"font.ufo\") glyph_set = font._glyphSet pen = SVGPathPen(glyph_set) font[\"a\"].draw(pen) svg_commands = pen.getCommands() svg = '<svg version=\"1.1\" wi\u2026","image_url":null,"blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","author_name":"derwind","author_url":"https://blog.hatena.ne.jp/derwind/","published":"2019-10-17 02:06:11","type":"rich","url":"https://randommemory.hatenablog.com/entry/2019/10/17/020611","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"Jupyter\u3067\u30b0\u30ea\u30d5\u306e\u63cf\u753b"}