The verdict
Same quads, same joint actions, both compound pushes: knee extension and hip extension on both sides. The difference is the demand around the quads. The front squat is listed at expert level, holds the bar across the front of the shoulders, and lists the upper back and core as secondary muscles alongside the glutes. The leg press is listed at beginner level, sits you down with your back supported, and lists the glutes and adductors as secondary. The front squat is the main lift to track; the leg press is the quad volume after it, or the main quad lift when a loaded bar does not suit your back.
Muscles, equipment, force and level from the PasteLift exercise library records for the front squat and the leg press. Sets and reps from the ACSM position stand, cited below.