Does gravity effect the bubbles in a glass of beer?

Assume that atmospheric pressure is the same for all events.

1. If beer is on a planet with little gravity but enought to keep the beer in its glass..what would happen.

2. If beer is on a planet with greater gravity than earth..what would happen.

Would any change be due to the beer being “compressed” by the increased gravity(and opposite in the other case)?