Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to check whether font broken when load #615

Open
natuan62 opened this issue Sep 13, 2023 · 1 comment
Open

how to check whether font broken when load #615

natuan62 opened this issue Sep 13, 2023 · 1 comment

Comments

@natuan62
Copy link

natuan62 commented Sep 13, 2023

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

  1. Could we have any methods or way to check a font will be broken when load ?

Example 2 fonts broken bellow (https://opentype.js.org/)

checkBrokenFont(fontPath) {
   // logic handle
   return true // or false;
}

image

image

Context

Your Environment

  • Version used:
  • Font used: .woff and .woff2 fonts
  • Browser Name and version: Chrome 116
  • Operating System and version (desktop or mobile): Desktop
  • Link to your project: https://opentype.js.org/
@ILOVEPIE
Copy link
Contributor

ILOVEPIE commented Sep 14, 2023 via email

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

No branches or pull requests

2 participants