Skip to content

import custom from ttf #118

Answered by cduck
Patrone411 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, but you'll need to write a bit more code. Here's a rough sketch of what you need:

  • Copy, with modifications, the CSS from an SVG with an embedded font (like
    <style>/*<![CDATA[*/@font-face {
    font-family: 'Permanent Marker';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(data:application/octet-stream;base64,AAEAAAANAIAAAwBQT1MvMmHz9PQAAAHoAAAAYGNtYXACFQHXAAACSAAAAGxjdnQgABUAAAAAANwAAAACZnBnbZJB2voAAAK0AAABYWdseWaaWcwyAAAGNAAAEvZoZWFkAUtbYgAAAXAAAAA2aGhlYQhdAj8AAAFMAAAAJGhtdHgidABYAAABqAAAAEBsb2NhJmkiSQAAASgAAAAibWF4cAIoA7AAAADoAAAAIG5hbWUsfEgtAAAEGAAAAhpwb3N0/7YAMwAAAQgAAAAg…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cduck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants