joint icon indicating copy to clipboard operation
joint copied to clipboard

PhantomJS 2.1.1 > util.breakText hyphen FAILED

Open VerscheldeAlynne opened this issue 3 years ago • 7 comments

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

VerscheldeAlynne avatar Nov 16 '21 13:11 VerscheldeAlynne

me too,help me

DCMiracle avatar Dec 02 '21 12:12 DCMiracle

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.

kumilingus avatar Dec 02 '21 14:12 kumilingus

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

VerscheldeAlynne avatar Dec 02 '21 14:12 VerscheldeAlynne

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

DCMiracle avatar Dec 06 '21 06:12 DCMiracle

This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar May 05 '22 00:05 github-actions[bot]

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

MartinKanera avatar May 27 '22 10:05 MartinKanera

This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Jul 27 '22 00:07 github-actions[bot]

Fixed by https://github.com/clientIO/joint/pull/1795.

kumilingus avatar Oct 09 '22 15:10 kumilingus