PhantomJS 2.1.1 > util.breakText hyphen FAILED

This issue has been tracked since 2021-11-16.

It's an assertion that fails, rule 209 from test/jointjs/core/util.js

I found this when running grunt test
as in the readme stated i reported this as a bug

Capture

DCMiracle wrote this answer on 2021-12-02

me too,help me

kumilingus wrote this answer on 2021-12-02

The test uses Courier New font. It is most likely not installed on your device.

  • you can install it locally
  • we can change the test to use a different font (something that is supported across all devices)
  • we can include the font via the tag.
VerscheldeAlynne wrote this answer on 2021-12-02

i think for future-proofing sake, the second and third options would be best. For now though i will employ the first one.

DCMiracle wrote this answer on 2021-12-06

Have you solved this problem?I installed Courier New font, but it still doesn’t work

MartinKanera wrote this answer on 2022-05-27

This issue is caused by how PhantomJS renders text and it will be resolved in the future by migrating to puppeteer.

kumilingus wrote this answer on 2022-10-09

Fixed by #1795.

More Details About Repo
Owner Name clientIO
Repo Name joint
Full Name clientIO/joint
Language JavaScript
Created Date 2009-09-11
Updated Date 2022-12-06
Star Count 3717
Watcher Count 155
Fork Count 817
Issue Count 53

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date