Giter Club home page Giter Club logo

Comments (4)

va2ron1 avatar va2ron1 commented on May 23, 2024

Font selection dropdown has a little delay, limitation by CKEditor, but the loading is almost instantaneously on Windows 10 and macOS Catalina & Big Sur. Also the font selection loads all the fonts.

Note: The system fonts wasn't tested on Linux, maybe there's a limitation with the Electron dependencies.

Version: beta-v

OS: Windows 10 Pro 2004 (Build 19041.928)
CPU: AMD Ryzen 7 3750H

OS: macOS Catalina 10.15.7
CPU: Intel Core i9 2.4 GHz 8-Core

from imaginary-teleprompter.

Cuperino avatar Cuperino commented on May 23, 2024

There may have been way too many fonts installed on my system... After removing nearly 500 mb of font files I rarely used, load time went from around one and a half minutes to 7 seconds. Fonts continue to stop loading on the same font, meaning the max number of loadable fonts may still be exceeded or there may be a different reason for it stopping at that location.

I've noticed before that Linux takes longer to load fonts than Windows and macOS. Nevertheless, load times are still an order of magnitude higher on Imaginary Teleprompter compared to various other applications. The good thing is the issue is insignificant when you don't have an exorbitant amount of fonts on your system. Therefore, this may be a low priority bug.

@va2ron1, how many fonts have you got installed on your Windows and macOS systems? I have 1072 fonts installed on the Linux box in question.

from imaginary-teleprompter.

va2ron1 avatar va2ron1 commented on May 23, 2024

@Cuperino on the Mac with Catalina I have 508 fonts and 249 on Windows

from imaginary-teleprompter.

Cuperino avatar Cuperino commented on May 23, 2024

I suspect font loading under Linux or font loading in general does something that makes it O(nĀ²) in complexity. The reason I think this is I only removed about a third of the size of fonts in my system, and loading time went down by nearly 80%. Will move Linux fonts to Windows and do further testing there.

from imaginary-teleprompter.

Related Issues (20)

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.