We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
再遇到 20w/天的访问量目前的后端肯定会崩,需要整理高频字进 baseSplit 把压力交给 CDN
The text was updated successfully, but these errors were encountered:
可以讲讲怎么实现的 https://lab.magiconch.com/api/fontmin 吗? 看了一下 fontmin, 似乎没有提供这种 api 形式的 demo.
Sorry, something went wrong.
like this
fontmin .src(fonts_name) .use( Fontmin.glyph({ text: str.split(','), hinting: true // keep ttf hint info (fpgm, prep, cvt). default = true }) ) .run(function (err, files) { const buffer = files[0].contents; res.writeHead(200, { 'Content-Type': 'font/ttf', 'Content-length': buffer.length }); res.end(buffer); });
No branches or pull requests
再遇到 20w/天的访问量目前的后端肯定会崩,需要整理高频字进 baseSplit 把压力交给 CDN
The text was updated successfully, but these errors were encountered: