Bug 1738137 - Refactor new_ct_font_with_variations for better clarity. r=jrmuizel
Bug 1738137 - Refactor new_ct_font_with_variations for better clarity. r=jrmuizel

Differential Revision: https://phabricator.services.mozilla.com/D129732

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/b0d28103ec1f87663446fb55b19eaf90220f2561

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender