Skip to content

Load font files synchronously, when possible. (#1458)#1500

Open
dpvc wants to merge 1 commit into
developfrom
issue1458
Open

Load font files synchronously, when possible. (#1458)#1500
dpvc wants to merge 1 commit into
developfrom
issue1458

Conversation

@dpvc

@dpvc dpvc commented Jun 11, 2026

Copy link
Copy Markdown
Member

This PR allows font ranges to be loaded synchronously if the mathjax.asyncLoad() method is marked as synchronous. That makes it possible to use the synchronous typesetting and conversion calls in more situations.

Resolves issue #1458.

@dpvc dpvc requested a review from zorkow June 11, 2026 19:29
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.46%. Comparing base (a65456c) to head (e33f654).

Files with missing lines Patch % Lines
ts/output/common/FontData.ts 0.00% 14 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1500      +/-   ##
===========================================
- Coverage    86.47%   86.46%   -0.02%     
===========================================
  Files          340      340              
  Lines        86125    86135      +10     
  Branches      3206     3206              
===========================================
  Hits         74476    74476              
- Misses       11649    11659      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dpvc dpvc added this to the v4.1.3 milestone Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant