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.

Using custom Font

See original GitHub issue

Hello, i’m using a custom font for my chinese cards. Unfortunately since the AnkiConnect update, that font doesn’t work anymore. Console output: chrome-extension://ihoaepdiibjbifnhcjoaddgcnfgjmjdk/_gkai00mp.ttf net::ERR_FILE_NOT_FOUND

When I put that font file in C:\Users\<USER>\AppData\Local\Google\Chrome\User Data\Default\Extensions\ihoaepdiibjbifnhcjoaddgcnfgjmjdk\0.4_0 it works for 1 second after Chrome detects an extension corruption.

I kindly ask you to add a function for custom fonts.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
corollaricommented, Oct 8, 2018

This weekend I’ve been working on this and, while I thought this would be pretty straightforward, it seems it will take a bit longer to implement than planned, as, right now, the chrome extensions API doesn’t support changing a request body[1][2]. Just wanted to give you a heads up so you know that I haven’t forgotten about this.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=104058 [2] https://bugs.chromium.org/p/chromium/issues/detail?id=487422

0reactions
itsmepvrcommented, Sep 13, 2020

Hello, I am also kind of getting into same issue with my decks. All the external images, js files and css files in the card returns error in console as file_not_found. I am using the annotation of ‘_’ before each file and it works perfectly fine in Anki. In chrome, only the html part shows up but not the images, js and css those are in collection.media. Am I missing something here ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Load and Use Custom Fonts with CSS | DigitalOcean
To begin, open fonts.google.com . Search for the font named “Open Sans” using the search bar at the top of the page. The...
Read more >
Use a custom font - Flutter documentation
Use a custom font · 1. Import the font files · 2. Declare the font in the pubspec · 3. Set a font...
Read more >
Using custom fonts - Studio Help - Google Support
Using custom fonts. You can include custom fonts in HTML5 creatives by uploading a custom font file to Studio and using the CSS...
Read more >
Using custom fonts using CSS? - Stack Overflow
Nope, it isn't possible to style your text with a custom font embedded via CSS, while preventing people from downloading it. You need...
Read more >
How to Add a Custom Fonts to Your Website (HTML and CSS)
In this video you will learn how to add custom fonts to your website or web app. This is not about Google or...
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