Density is effected by gravity. A white dwarf would tell you that
English
-
but it isn't directly affected by it. A white dwarf is dense because it is being squished by gravity. But weight is a direct measurement of how mass is effected by gravity