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