Coder Social home page Coder Social logo

ankirandomfont's People

Contributors

austinhasten avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ankirandomfont's Issues

Installed fonts problem

Hey, wondering if you can help me with this problem.
I've downloaded some Japanese and Chinese fonts from adobe and after installing them, when I want to select the ones I want in your addon, I can only see the system fonts. The ones I installed don't show up either in Japanese nor Chinese but in Latin. Is this a problem of Linux (Manjaro), a QT problem or an addon problem?
Font manager also shows them all under Latin. They're correctly installed, just not under the right category.
Maybe you could point me in the right direction?
Thanks so much!

Malgun Gothic is not Chinese

For SimplifiedChinese/TraditionalChinese, disable Malgun Gothic/Malgun Gothic Semilight. It's a Korean font that only has some of the characters, so for the sentence 你为什么那么做?, __什_那_做? shows as thick sans and 你为_么_么_ shows as thin serif.
You can test which characters it supports here https://catalog.monotype.com/family/microsoft-corporation/malgun-gothic
This can be done through the addon settings, but having it disabled/removed by default saves having to track it down with AnkiWebView Inspector.
imagen

Danish/Swedish sub-category?

When selecting RandomLatin most fonts don't support the extra characters that Danish and Swedish use, for example ø
Is there a way to circumvent this?

Qt6 anki problem

When using anki qt6 version I get this error:

When loading '⁨Randomize Fonts⁩':
⁨Traceback (most recent call last):
  File "/home/yaoberh/pyenv/lib/python3.10/site-packages/aqt/addons.py", line 239, in loadAddons
    __import__(addon.dir_name)
  File "/home/yaoberh/.local/share/Anki2/addons21/1603486068/__init__.py", line 212, in <module>
    allInstalledFonts = QFontDatabase().families()
TypeError: QFontDatabase(QFontDatabase): not enough arguments

Error loading in 2.1.53

Hi,

I get the following error message when starting 2.1.53 after install of the add-on:


An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading 'Randomize Fonts':
Traceback (most recent call last):
File "aqt.addons", line 244, in loadAddons
File "C:\Users\perai\AppData\Roaming\Anki2\addons21\1603486068_init_.py", line 187, in
allInstalledFonts = QFontDatabase().families()
TypeError: QFontDatabase(QFontDatabase): not enough arguments


Any idea?

Thanks.

Edited: Fixed hideous formatting

Preview font?

Hey!
Was wondering if it's possible to preview the font one wants to add or remove from a specific language list.
This would be especially useful for languages like japanese or chinese where some fonts are calligraphic and others more for daily reading.

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.