Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use a more efficient way to load custom fonts into the web application #1940

Open
Labels
topic: codeRelated to content of the project itself type: enhancementProposed improvement
@kittaakos

Description

Describe the request

Custom fonts, such as Open Sans, should be prefetched as it causes performance issues and is noticeable:

@font-face {
font-family: 'Open Sans';
src: url('fonts/OpenSans-Bold-webfont.woff') format('woff');
}

Describe the current behavior

IDE2 loads the fonts on the fly, which causes a UI glitch:

Screen Shot 2023年03月07日 at 12 56 55

Loading:
Screen Shot 2023年03月07日 at 11 18 05

Loaded:
Screen Shot 2023年03月07日 at 11 18 10

In action:

font-load.mp4

Related: #1217 (comment)

Arduino IDE version

2.0.4

Operating system

macOS

Operating system version

12.6.3

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itself type: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /