Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue embedding Figtree TTF in MS Word docs #9407

@wfx-mainhub-link

Description

@wfx-mainhub-link

Figtree – issues embedding into a Microsoft Word document

Describe the bug

First off, I'm very familiar with embedding fonts into Microsoft documents such as Word and PowerPoint. I also understand there can be differences with certain features in these apps depending on whether they are developed and used on a Mac vs a PC. Typically, when embedding fonts, I perform this on the PC side, regardless of whether the end use is on PC, Mac, or both.

However, trying to embed Figtree has proved difficult. The exact weights I've attempted to embed are Figtree regular, bold, and bold italic. Upon ensuring these weights are activated and the proper option/setting is enabled to embed them, the document does not display the "embedded" fonts when opened on a version of Word that does not have these font weights installed.

To Reproduce

Windows PC
Step 1: Install TTF font weights
Step 2: Open a blank document in the desktop app (latest version) using the default 'normal' template
Step 3: Verify that these weights are available to choose from the font menu
Step 4: In the ribbon, navigate to Design→Fonts→Customize fonts
Step 5: Change the Heading to "Figtree bold" and change the body to "Figtree regular"
Step 6: Create three paragraphs: 1. assign the heading style of Figtree bold; 2. assign the body style of Figtree regular; 3. assign Figtree bold italic
Step 7: Ensure fonts are embedded: navigate to File→Options→Saving→"Embed fonts in the file" enable the checkbox for this setting
Step 8: Save document as .DOCX format
Step 9: Quit the Word app
Step 10: Uninstall Figtree regular, bold, and bold italic
Step 11: Restart PC
Step 12: Open the Word app, choose a new blank document (not the saved one above)
Step 13: Verify that Figtree is unavailable to use (not installed on the machine)
Step 14: Open the save .DOCX from above and verify that the text in the document is using the correct weights assigned above

Expected behavior

In my case, after performing the steps above, the weights are not displaying correctly after opening the .DOCX file when the fonts are not installed. I also verified afterward that File→Options→Saving→"Embed fonts in the file" checkbox is still enabled for this setting. Quitting the app, reinstalling the fonts, restarting the PC, and opening the .DOCX loads the fonts correctly.

I initially thought this was a bug in Word (my experience has been that it's one of the most poorly designed and maintained apps that exists), but I do not have issues embedding other Google TTF fonts in the app

Screenshots

Image
Image

Additional context

I've also tested this on the Mac and have the same issues where the fonts do not display unless they are installed. I was beginning to think that there is an issue with just the bold weight and tried to only embed the regular weight and use Word's bold and or italic buttons to manually apply these instead of using the actual typefaces. This seemed to be promising, as for whatever reason, the regular weight seemed to stick and embed in the file just fine, but Microsoft's "bold" button appears to thicken the weight slightly and not display the true weight. Furthermore, if someone DOES have the fonts installed, then this boldens it even further, kind of like an extra heavy weight.

I should also note that it appears that Cambria (or a similar typeface) is used instead of Figtree. I'm not sure how font replacement works behind the scenes with Word docs, but typically something like Arial, Times, or lately Aptos is more likely to be what displays when a font isn't available, so this is something even more strange to me of what's being displayed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions