Jump to content
You must now use your email address to sign in [click for more info] ×

Font name problem when pasting text


ashf

Recommended Posts

Affinity doesn't recognize some font names that are treated as a font trait in Affinity other than predefined traits such as Bold.
Many apps including Word treat traits as a individual font. so the name is different between Affinity and others.
When I paste text with those fonts, the question mark appears on the font selector.

Such as these fonts:

Calibri Light
(Calibri and Calibri Bold have no problem.)

Yu Gothic Light / Yu Gothic Medium
(Yu Gothic and Yu Gothic Bold have no problem.)

Link to comment
Share on other sites

19 hours ago, ashf said:

When I paste text with those fonts, the question mark appears on the font selector.

To clarify ... are you pasting from Word to Designer2?
Did you test with APub2?

Word uses the Font Family name and Font Subfamily name fields (aka style groups).
Affinity applications (and similar advanced apps) use the Typographic Family name and Typographic Subfamily name fields.
And with properly constructed fonts, they should be able to connect those two sets of names.
All the needed info should be available in the Affinity font cache.

Link to comment
Share on other sites

  • 2 weeks later...
1 hour ago, ashf said:

Similar problem that Affinity doesn't recognize the font name properly on PDF import.

 

That is a different issue.
Fonts are usually embedded using the PostscriptName to identify the font.
The PostcriptName for Calibri Bold is Calibri-Bold (a standard format).
A .NET application embedded that font as Calibri,Bold.
According to the .NET docs that comma means - use the Bold font if available, but if it is not available use the fake Bold. Same with the Italics font/fake Italics.

Affinity applications should be smart enough to know:
Calibri,Bold = Calibri-Bold
Calibri,Italic = Calibri-Italic

Just replace the stupid comma with a dash whenever found in the font name.
Then match on that fixed name.
And save Affinity users a gazillion font mis-matches per day.

Even InDesign is smart enough to do this.

Link to comment
Share on other sites

  • Staff

On my Affinity Designer 2 I am seeing all 6 font type options for the Calibri font can you please try resetting the Font replacement by starting Designer while holding down the CTRL and then in the Clear User Data screen select the Reset Font Replacements option

Designer 2 font reset.png

Link to comment
Share on other sites

  • 8 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.