Skip to content

how to check whether font broken when load #615

@natuan62

Description

@natuan62

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions