MS Word 2016 do support svg. But they are rasterized when exporting to PDF currently. Here is a workaround.
-
Export as svg
-
Use inkscape to convert dash into paths
(function () { | |
function escapeHtml(unsafe) { | |
return unsafe | |
.replace(/&/g, "&") | |
.replace(/</g, "<") | |
.replace(/>/g, ">") | |
.replace(/"/g, """) | |
.replace(/'/g, "'"); | |
} |
#!/usr/bin/python | |
from __future__ import print_function | |
import argparse | |
import json | |
import os | |
import sys | |
def collect_mtime_list(path): |
extern crate proc_macro; | |
use quote::quote; | |
use proc_macro::TokenStream; | |
use syn::*; | |
use syn::parse::{Parse, ParseStream}; | |
#[derive(Debug)] | |
struct MetricDefinition { | |
vis: Visibility, |
#[macro_use] | |
extern crate lazy_static; | |
use hyper::rt::Future; | |
use hyper::service::service_fn_ok; | |
use hyper::{Body, Request, Response, Server}; | |
use prometheus::*; | |
use rand::prelude::*; | |
lazy_static! { |
//! AST vs RPN evaluation performance in Rust language. | |
#![feature(test)] | |
extern crate test; | |
#[derive(Clone, Copy, Debug)] | |
pub enum Function { | |
Plus, | |
Minus, |
import through2 from 'through2'; | |
import { BufferReader } from 'protobufjs'; | |
function decodeProtobuf(decodeFunc, msgMaxSize = 20 * 1000 * 1000) { | |
const buffer = Buffer.alloc(msgMaxSize); | |
const reader = new BufferReader(buffer); | |
let bufferLen = 0; // The length of valid data in buffer, may contain multiple messages | |
reader.pos = 0; |
(function () { | |
const VERTEX_SHADER = ` | |
attribute vec4 a_position; | |
attribute vec2 a_texcoord; | |
varying vec2 v_texcoord; | |
void main() { | |
gl_Position = a_position; |
@include-when-export url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext); | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: normal; | |
src: local('Open Sans Regular'),url('./github/400.woff') format('woff') | |
} | |
@font-face { |
const assert = require("assert").strict; | |
const child_process = require("child_process"); | |
const path = require("path"); | |
const crypto = require("crypto"); | |
const glob = require("glob"); | |
const fs = require("fs-extra"); | |
const _ = require("lodash"); | |
const sort = require("alphanum-sort"); | |
const Kuroshiro = require("kuroshiro"); | |
const KuromojiAnalyzer = require("kuroshiro-analyzer-kuromoji"); |