vitineth Posted November 26, 2021 Posted November 26, 2021 I'm currently attempting to export from Publisher using an installed font with font embedding enabled. However despite affinity showing the font normally in the editor, when it is exported the font appears completely corrupted. The font being used is Cooper Hewitt (download from https://www.dafontfree.io/download/cooper-hewitt/). Images of the result are shown below and a copy of the exported PDF (Testing Font Export.pdf) and the affinity file (Testing Font Export.afpub) are attached. The file looks normal when fonts are converted to curves but I would like to be able to maintain the ability to copy the text out of the file. Apologies if this has already been asked but in my searching I haven't been able to find anything that matches! Quote
Komatös Posted November 26, 2021 Posted November 26, 2021 Hello @vitineth and welcome to the forums. I've made a quick test and I can say that the font is faulty. As you can see there are few entrys with the same style name. vitineth 1 Quote MAC mini M4 | MacOS Sequoia 15.3.1 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194) Affinity Suite V 2.5.7 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF Ferengi Acquisition Rule No. 49: “A deal is a deal is a deal.”
vitineth Posted November 26, 2021 Author Posted November 26, 2021 Thanks! And thanks for the help, guess I'll try and find a different font! I had a suspicion that it could be the font because windows seems to show it fine But Affinity sees the issue with the style names Back to the drawing board for me but thank you again for the help! Quote
Alfred Posted November 26, 2021 Posted November 26, 2021 Try this version instead (after uninstalling the one you currently have, of course): https://www.fontsquirrel.com/fonts/cooper-hewitt vitineth 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
R C-R Posted November 26, 2021 Posted November 26, 2021 36 minutes ago, vitineth said: But Affinity sees the issue with the style names FWIW, I downloaded & installed the full set of Cooper Hewitt fonts from the dafontfree source in the first post & in APub I do not see all those extra 'thin' entries or anything out of the ordinary when I export a document using those fonts to PDF. (Same with AD & AP.) This is the Cooper Hewitt font choices I get in any of the 3 Mac Affinity apps: I also used Font Book's validate font on each of them & it found no issues. So maybe this is a Windows-only bug? vitineth 1 Quote All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
foto-grafic Posted November 27, 2021 Posted November 27, 2021 13 hours ago, Komatös said: I've made a quick test and I can say that the font is faulty. Question dictated by curiosity: What quick test to see if a font is faulty? A thousand thanks... Quote
Komatös Posted November 27, 2021 Posted November 27, 2021 3 hours ago, foto-grafic said: Question dictated by curiosity: What quick test to see if a font is faulty? A thousand thanks... First i've exported with the font the OP has used. The result was like the OP. Then i've changed the font to Arial. And the result was like expected. After that I saw that the style Thin is displayed several times. My further analysis with a font editor showed that the weight classes did not match the style name. vitineth 1 Quote MAC mini M4 | MacOS Sequoia 15.3.1 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194) Affinity Suite V 2.5.7 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF Ferengi Acquisition Rule No. 49: “A deal is a deal is a deal.”
Alfred Posted November 27, 2021 Posted November 27, 2021 14 hours ago, Alfred said: Try this version instead (after uninstalling the one you currently have, of course): https://www.fontsquirrel.com/fonts/cooper-hewitt 5 hours ago, foto-grafic said: Question dictated by curiosity: What quick test to see if a font is faulty? A thousand thanks... Here’s the result of my quick test with the Font Squirrel version of Cooper Hewitt: I’ve also attached the PDF file that I used for the above screenshot. Cooper Hewitt.pdf vitineth 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
kenmcd Posted November 27, 2021 Posted November 27, 2021 19 hours ago, vitineth said: Cooper Hewitt The original Cooper Hewitt fonts are broken - they have messed-up name fields in them which causes issues like this. IIRC there are fixed versions in a repo on GitHub, plus I have fixed versions. On my phone at the moment, but I will post links and/or fixed fonts in a few hours. vitineth 1 Quote
R C-R Posted November 27, 2021 Posted November 27, 2021 2 hours ago, LibreTraining said: The original Cooper Hewitt fonts are broken - they have messed-up name fields in them which causes issues like this. If you mean the version from dafontfree mentioned by the OP in the first post, while they might be broken, as I mentioned I did not have any issues using that version in any of the Mac Affinity apps, & the Mac Font Book app validation found no problems with any of them: I am not sure of the relevance here but perhaps this is something that affects only the Windows versions? vitineth 1 Quote All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
vitineth Posted November 27, 2021 Author Posted November 27, 2021 Thanks everyone for the help! @Komatös was absolutely right in the fonts are broken and I think @R C-R was right in that this is a windows exclusive issue. I actually found a solution on the cooper hewitt GitHub where someone else has reporting having issues on Windows: https://github.com/cooperhewitt/cooperhewitt-typeface/issues/4. After using the replacement fonts someone re-hosted here (I think this is what @LibreTraining was talking about?), all the issues are resolved and I can export happily! Thank you so much everyone for the help and for such a helpful welcome to the forum, all the help has been massively appreciated! Komatös and kenmcd 2 Quote
kenmcd Posted November 27, 2021 Posted November 27, 2021 2 hours ago, vitineth said: (I think this is what @LibreTraining was talking about?) Yes. Glad you got it working. 2 hours ago, vitineth said: I think @R C-R was right in that this is a windows exclusive issue. Yes, it is the style groups (used by Windows) that is the problem. They set the style group "family" the same in all the fonts. And they did not set the Regular, Italic, Bold settings - 11 are set to Regular, and 1 Italic set to Bold. Never going to work properly in Windows apps. I first came across this issue because the fonts do not work properly in LibreOffice on Windows. Alfred and vitineth 2 Quote
foto-grafic Posted November 27, 2021 Posted November 27, 2021 @Komatös @Alfred Very kind and helpful ...Thanks... Alfred, vitineth and Komatös 3 Quote
Komatös Posted November 27, 2021 Posted November 27, 2021 You are welcome! vitineth 1 Quote MAC mini M4 | MacOS Sequoia 15.3.1 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194) Affinity Suite V 2.5.7 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF Ferengi Acquisition Rule No. 49: “A deal is a deal is a deal.”
Komatös Posted November 27, 2021 Posted November 27, 2021 11 minutes ago, LibreTraining said: Yes. Glad you got it working. Yes, it is the style groups (used by Windows) that is the problem. They set the style group "family" the same in all the fonts. Never going to work properly in Windows apps. I first came across this issue because the fonts do not work properly in LibreOffice on Windows. And have you seen the weight classes? They count this from 701 up to 710 by one point per step. Alfred and kenmcd 2 Quote MAC mini M4 | MacOS Sequoia 15.3.1 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194) Affinity Suite V 2.5.7 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF Ferengi Acquisition Rule No. 49: “A deal is a deal is a deal.”
kenmcd Posted November 27, 2021 Posted November 27, 2021 29 minutes ago, Komatös said: And have you seen the weight classes? They count this from 701 up to 710 by one point per step. LOL. I still have them open on screen and did not even notice until you pointed it out. ID uses that field to sort the fonts by weight in their font list - wonder how this works. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.