Giter VIP home page Giter VIP logo

excalidraw's Introduction

Excalidraw

什么是 Excalidraw ?

如果想查看之前替换字体自定义部署的方式, 请查看这里

Excalidraw 手写字体只支持英文, 不支持中文.

手写字体文件是通过网络加载的, 所以可以通过劫持字体文件请求然后改写到自己的字体链接, 就可以达到替换字体的目的.

通过浏览器的 Network 面板可以找到手写字体的请求是 https://excalidraw.com/Virgil.woff2.

改写浏览器请求可以通过 XSwitch 插件.

XSwitch 疑似已停止维护, 可以改用 Requestly, 登录账号情况下可以在多台设备同步数据.

之后将想要的字体托管为静态资源(或者本地部署), 在 XSwitch 中添加 proxy 配置将 Excalidraw 的手写字体链接替换成自己的字体链接:

上面的字体链接只用于演示, 请替换成自己的字体链接

启用 XSwitch 然后刷新 Excalidraw, 可以发现自定义字体已生效:

如果没有生效, 可以清空缓存( Chrome Devtools --> Application --> Storage --> Clear Site Data )再进行刷新.

excalidraw's People

Contributors

dependabot[bot] avatar dwelle avatar lipis avatar dependabot-preview[bot] avatar vjeux avatar ad1992 avatar giovannigiordano avatar tomayac avatar fausto95 avatar nanot1m avatar j-f1 avatar dai-shi avatar petehunt avatar excalibot avatar gasimgasimzada avatar kbariotis avatar h7y avatar voluntadpear avatar xixixao avatar yongdamsh avatar lusingander avatar kentbeck avatar bradymadden97 avatar pshihn avatar steveruizok avatar lissitz avatar muzakparov avatar jnforja avatar paulomenezes avatar idlewinn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.