MAX7219 + LED Matrix Wiring?

Guess the mapping is done inside the library?

No, it's done inside the chip. The library is not re-mapping anything.

So try this:

row     led pin     chip pin
1         9         22 SEG DP
2        14         14 SEG A
3         8         16 SEG B
4        12         20 SEG C
5         1         23 SEG D
6         7         21 SEG E
7         2         15 SEG F
8         5         17 SEG G