What do you mean by ripening? Curing? Or the end of flowering? If you're talking about the end of flowering, then yes they increase in size and weight. Density depends on your lighting, strain, and other factors.
The genetics of a given strain strongly determine the end results, however, gorwing as close to optimal gives you optimal results. The last 2-3 weeks are vital. Harvesting a week or 2 early can serious effect yields and potency, whereas waiting those 14-21 days can greatly increase your potency and improve a yield. less