I understand that ordinarily the current waveform is not in-phase with
the voltage waveform and that PFC corrects that
That is for a completely different scenario; that scenario being when you are trying to power factor correct an unknown (usually inductive) load such as a motor.
The PFC circuit in your question is trying to ensure that it creates a high-voltage DC (such as 400 volts) and not do so in a way that creates a lot of harmonic distortion in the current it draws from the AC supply. In short, it tries to present a load to the AC supply that "looks" resistive.
A regular bridge rectifier and smoothing capacitor creates horrendous current distortion and harmonics so, when transfer powers get high, legislation says you must PFC. That is what this is all about.
Then, whatever connects to the PFC's high-voltage DC output can draw whatever load current it wants (within reason) and, it can do so knowing it cannot make the current into the PFC correction circuit appear to be anything else other than resistive.
The two scenarios are different.
I saw this figure that shows inductor ripple current
They are not very accurate at portraying the main subtleties. For instance, the falling slope of the current will always be a more constant rate because, the output voltage of the inductor is supplying (or topping up) the DC supply and, that DC supply (once established) is around 400 volts and constant. Maybe try this (that I drew for another answer): -

And, the main thing to observe is that the green charge lines are varying in slope as the AC voltage rises and falls over each half-cycle of AC. Also observe that the red transfer current slope is more constant (dumbed-down version).
- So, green slope is proportional to the input AC voltage and red slope is less variable in slope.
Of course, as Tim Williams points out in a comment below this answer, it's a bit more complex than this because the red-trace slope will reduce as the input voltage rises towards its peak. The inductor only has to supply the difference between the output DC voltage and the input rectified waveform and, when the input voltage is closer to peaking, the voltage difference between input and DC output is less and thus the slope of the red line is less.
The waveforms above are dumbing-down the truth to make it easier to follow for the uninitiated. Dumbing-down is something that might help in this circumstance for the OP. But, it comes with a price and hopefully, that will be appreciated rather than scorned by people who are "in the know". Maybe this added picture will help (less-dumbed-down): -

It is also unclear to me how the voltage gets boosted as well
If you need to know how boost converters work, then I suggest you ask a question about those before trying to figure out how the front-end PFC circuit works. Of course, they are very-related but, you need to grasp basic boost converter operation first.