11 Jun
2023
11 Jun
'23
8:39 p.m.
Piotr Caban (@piotr) commented about dlls/wineps.drv/init.c:
metrics->rclFontBox.top = afmle->afm->FontBBox.ury; metrics->rclFontBox.right = afmle->afm->FontBBox.urx; metrics->rclFontBox.bottom = afmle->afm->FontBBox.lly; - wcscpy((WCHAR *)((char *)metrics + metrics->dpwszFaceName), afmle->afm->FullName); + wcscpy((WCHAR *)((char *)metrics + metrics->dpwszFaceName), afmle->afm->FamilyName);
I'll need to take another look on that code tomorrow. Here are some thoughts after a quick look: - metrics_size calculation needs to be updated as well - family name should be stored in metrics->dpwszFamilyName -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3032#note_35390