Forums > Javascript

jsui text rendering (huge black boxes)

Nov 07 2010 | 5:10 pm

I've been trying to get the jsui script jsChord working, and for some reason all my text shows up as black boxes. I've got the fonts installed, and it still gives me black boxes (differently sized) if I change the fonts to Arial or something. Any ideas on what could be causing this? (screenshot attached)

The files are part of the free CNMAT bundle, here:

Thanks in advance.



  1. jsChordissue.png


Nov 07 2010 | 6:14 pm

Um, I just fixed it. Turns out the CNMAT package has "glclearcolor(1, 1, 1)" where it should be "glclearcolor(1, 1, 1, 1)". I’m not totally sure what that did, though–anyone want to enlighten me on this one? I just assumed it was an alpha number, but that doesn’t quite make sense as it’s apparently just changing the background color of the places where notes and clefs appear. Thanks.


Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Javascript