Let $X$ be a smooth projective variety of dimension $d$ over $\mathbb C$ and let $E$ be a zero-dimensional coherent sheaf on $X$. The dual sheaf $E^D=\mathscr Ext_X^d(E,\omega_X)$ is again zero-dimensional.
Question. Do $E$ and $E^D$ have support of the same length?
In other words, if $Z,Z^D\subset X$ are the supports of $E,E^D$ respectively, is it true that $h^0(X,\mathscr O_Z)=h^0(X,\mathscr O_{Z^D})$? A more ambitious question would be to ask if the supporting points are the same. Maybe these questions can be reduced to a commutative algebra problem involving canonical modules, but I do not see how to do that. Any reference (I feel this is well-known) is very much appreciated. Thanks!