question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

question: where to put customFont.ttf ?

See original GitHub issue

Forgive me if I overlooked it in the docs (great source!), but how/where should I put custom fonts? Should I use fontface in css like this?

@font-face {
    font-family: 'DevilBreezeBold';
    src: url('??/DevilBreezeBold.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
  }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

6reactions
beebasecommented, Sep 26, 2016

To everyone figuring out custom fonts (and a bit of stylus), …I believe customizing works pretty well 😉

img2309

font location img2311

declare in app.variables.styl img2316

webpack bundling image

reference in vue component style image

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to include a font .ttf using CSS ? - GeeksforGeeks
1. Download .ttf format file: The .ttf format is quite famous nowadays, these font files are available for free on Google. You can...
Read more >
Install Custom Fonts TTF On Every Samsung ... - YouTube
In this video you will find guide how to install custom external fonts on your Samsung galaxy device using every version of One...
Read more >
How To Load and Use Custom Fonts with CSS | DigitalOcean
The most performant way to customize fonts is to use fonts already ... TTF stands for TrueType Font, and is an older font...
Read more >
How to include a font .ttf using CSS? - Stack Overflow
This code assumes you have .eot , .woff , .ttf and svg format for you webfont. To automate all this process , you...
Read more >
How to use @font-face in CSS
The @font-face rule allows custom fonts to be loaded on a webpage. Once added to a stylesheet, the rule instructs the browser to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found