This repository has no description
Something went wrong. Try again.
font(coretext): add metrics test case for CT, fix variable font init master
Variable font init used to just select the first available predefined instance, if there were any, which is often not desirable- using createFontDescriptorFromData instead of createFontDescritorsFromData ensures that the default variation config is selected. In the future we should probably allow selection of predefined instances, but for now this is the correct behavior. I found this bug when adding the metrics calculation test case for CoreText, hence why fixing it is part of the same commit.
Author Qwerasd Date (Dec 12, 2024, 2:14 AM UTC) Commit fb50143c fb50143cec9bfec1f86d1fbfda87799519a87829 Parent bd184523 bd1845231011d2b445a78bef07a5b54f0b077479