crosswordnexus / crossword-tools

Other
1 stars 4 forks source link

Normalize cell array order when reading JPZ files. #19

Closed jpd236 closed 2 years ago

jpd236 commented 2 years ago

Fixes issue with Mechapuzzle and (at least) the most recent MGWCC JPZ file, whose cells are provided in column-major order instead of row-major order. Without this fix, the cell numbers are rendered in the grid in the wrong places.

crosswordnexus commented 2 years ago

We already have a routine in jsCrossword to pull out an appropriate cell, so I don't think we should rely on the ordering. Fixed instead with https://github.com/boisvert42/mechapuzzle/pull/15