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

Recommended Posts

334035103_SerifFontPersonaNonGrataPSCS6.jpg.9b18c77aef311fdb95cf80d447b13853.jpg

Searching the FAQs, and elsewhere on forum.affinity using terms like wrong font I was unable to find an answer for new users trying out about the software as to why Affinity Photo (1.10.5.1342) on Windows 10 Pro is displaying the wrong serif font. For example, below is how Affinity Photo (Trial) is rendering the exact same serif fonts shown above.  The two example sans serif fonts compare fine in this morning's initial test.

807931926_SerifFontPersonaNonGrataAP1_10_5.jpg.dda829ee7d6bca0e02559c2e771140b0.jpg

https://www.360cities.net/image/union-river-bay-to-graham-lake

 

Edited by Kelly Bellis
Link to comment
Share on other sites

For a guess: the fonts you have installed are Variable fonts. As the Affinity applications only support Static fonts, you just see the basic version of the font when the Variable fonts are used.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Bodoni ... makes more sense than Bodini.

Those do look like old conversions from old Type 1 fonts. Those old conversions often have conflicting or bad encoding. Many older applications can understand this old encoding. Affinity applications only support modern Unicode encoding. 

Those fonts probably have Microsoft Symbol encoding specified for the Windows platform and code points up in the PUA - so when you type normal Unicode from your keyboard, there is actually nothing there, so a fallback font is used.

Need to see the fonts.

Link to comment
Share on other sites

6 minutes ago, LibreTraining said:

Bodoni ... makes more sense than Bodini.

... or Bondini 🙂

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

11 minutes ago, LibreTraining said:

Bodoni ... makes more sense than Bodini.

Hahaha - my mind slips and my misspellings are chronic!

 

As for the the encoding, how can this be determined?

P.S. I apparently am unable to post further having reached my daily limit. Will respond further tomorrow if permitted.

 

Edited by Kelly Bellis
Link to comment
Share on other sites

@Kelly Bellis
I took a look at both fonts - both are encoded as Microsoft Symbol (on Windows platform) as suspected.

Regarding looking at encoding - I usually first look at suspect fonts in FontCreator because you can see immediately if it is a "symbol font" - but that is a bit complex for the casual user.
I also use the free DTL OTMaster Lite which allows digging around inside the fonts where you can check the encoding in the cmap table. But that is really a font-geek type of tool.

The easiest way to see font encoding is using an old free tool called FontReport Lite. Because it is so old it shows all the old encodings.
It is a portable application which requires no installation (just run it).
Download here: https://www.acutesystems.com/free/dl_afrl.htm
Here is a partial sample for BodoniExtraBold:
FontReport-Lite-Bodoni-ExtraBold.thumb.png.0510133d4d9f082a8c404290768054d0.png

 

Both of these fonts could be "fixed" but you would end up with a very limited 20-year-old font, with minimal kerning, and no OpenType features.
While there are many free OFL Bodoni and Garamond full-featured fonts as alternatives.

Link to comment
Share on other sites

2 hours ago, Kelly Bellis said:

So, was there a deliberate choice made by Serif to not support (symbol) fonts that don't use modern Unicode encoding?

Or maybe a better question, does Serif publish which Character Encoding is supported by Affinity applications?

Affinity supports modern Unicode encoding - which virtually all applications do now. And you can use correctly constructed symbol fonts (i.e. Symbol on Windows).

But those fonts are actually broken. Text fonts should not be encoded as a symbol font. Also back then different platforms had different encoding (Unicode fixed this crazyness).

Macintosh Roman is the most common old encoding for Mac text. So these fonts were encoded properly for that platform back then.

Windows ANSI (or 1252) would be the most common old text encoding for Windows back then. And that is what these fonts should have for the Windows platform, not Windows Symbol.

So when these fonts were converted from old Type 1 to TrueType they were not converted properly.

Many older applications are better at dealing with old broken fonts as they had to deal with them all the time back then. You can use these in Word or LibreOffice and what you type looks OK, but the codes behind those characters are often wrong - so for example search may not work, screen readers may not work, and editing in Affinity applications does not work - as these all require proper Unicode encoding.

If you paste some text using these fonts from another application, which looks OK in that application, into Affinity, then highlight that text in Affinity and hit Alt+U to display the Unicode codes behind that text - the codes are not correct for the characters displayed. 

These font families are really common so there are a ton of modern, up-to-date, properly Unicode encoded, fully kerned, with lots of OpenType features - free and commercial alternatives.

Some free fonts that come to mind...

Bodoni* on GitHub (in 8 optical sizes IIRC), Bodoni Moda and Libra Bodoni on Google Fonts.

EBGaramond12 on GitHub (a fork). EB Garamond and Cormorant Garamond on both GitHub and Google fonts.

And quite a few others (Gara, etc.) ... on my phone at the moment, would have to find the links later.

These fonts could be quickly fixed so they do work, but what you end up with is still bad. Good quality free alternatives are available.

Link to comment
Share on other sites

7 minutes ago, LibreTraining said:

... highlight that text in Affinity and hit Alt+U to display the Unicode codes behind that text ...

On Mac OS it is Control + U to toggle between Unicode and the glyphs.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

9 minutes ago, LibreTraining said:

Could be the same on Windows and I just had a brain fart. 😀

No, you were correct with Alt+U for Windows.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

512363098_ancientfonts.jpg.2fafa5db7c59e842f5392c21cf468031.jpg

This has been an interesting discussion and perhaps a wee bit nostalgic for me with a genesis story of some ancient fonts. The one on the left from World Art date from about 1994 and can be blamed for this thread's origin. The one on the right dates back to 1990 up until Atech's death in about 1993. There have been other fonts added since, but these are the oldest in my Windows font collection.

Quote

If you paste some text using these fonts from another application which looks OK in that application into Affinity, then highlight that text in Affinity and hit Alt+U to display the Unicode codes behind that text - the codes are not correct for the characters displayed.

My (bad) incorrectly converted [BodoniExtraBold] text copied from the (correctly) displayed in PS CS6 .psd then pasted into a new Affinity Photo document becomes:

U+0042U+006FU+0064U+006FU+006EU+0069U+0045U+0078U+0074U+0072U+0061U+0042U+006FU+006CU+0064

Compare this to the same text; i.e., [BodoniExtraBold] entered in and originating in Affinity Photo that used Helvetica Bold

U+0042U+006FU+0064U+006FU+006EU+0069U+0045U+0078U+0074U+0072U+0061U+0042U+006FU+006CU+0064

So this looks like Helvetica Bold had somehow been chosen by Affinity to become the substitute font - is this correct?

 

 

 

 

Link to comment
Share on other sites

2 hours ago, Kelly Bellis said:

So this looks like Helvetica Bold had somehow been chosen by Affinity to become the substitute font - is this correct?

Interesting. Not sure how that happened, but those are the correct Unicode codes for the text "BodoniExtraBold" ... but, those codes do not exist in the BodoniExtraBold font. All of the codes actually used in that font are up in what is called the Private Use Area (PUA). The PUA is where anyone can assign any code to any glyph. So nothing is standard up there (with a few exceptions).
All the correct codes such as for the letter B etc. are simply not there in the font. So like any missing character, they are replaced with a fallback font. In this case I guess that fallback font is Helvetica.

A long, long time ago waaaaay back in the Type 1 era, and then TrueType era, before Unicode ... the encoding was small groups of characters (less than 256 per font) also known as code pages. Glyph order was important. Glyph names were important. Specific characters had to be a specific glyph number and usually a specific name. Older applications recognize, for example, Macintosh Roman encoding and can insert the characters in the document by this glyph number. Now your particular fonts did also have some Unicode codes in the character maps inside the fonts, but they are not correct, they are in the PUA.

Font editors such as FontCreator and FontLab can convert these fonts to Unicode by using the glyph names, and then assigning the correct Unicode codes based on those names. So that is the quick fix I mentioned. But, these old conversions will often have bad glyph names, or duplicate glyph names, or missing glyph names - all of which make this a much more manual process.
I have seen fonts where none of the glyph names are correct for the glyphs they are assigned to (it looked totally random) - that would take quite awhile to manually sort, and to guess, which should be which. Generally, unless the font is some completely unique font that you just cannot live without, this is not worth the time and effort. And some characters you may need are usually missing. One I saw recently was missing one side of the curly quotes.

Thanks for the picture of the sources - I was curious where these came from.

Link to comment
Share on other sites

@LibreTraining Brilliant! Thanks so much for this entire illustrated discussion lesson and for sharing the post FontCreator conversion of the (2) circa 1994 fonts.

1522535977_ThanksLibreTraining.thumb.png.5bb001a12a3d670da6e99d9517b80bfe.png

Looking at the metadata for my old fonts, with the help of Phil Harvey's amazing ExifTool; something I've used forever with images, but never thought that it would work with fonts, the spreadsheet was produced via the command line:

exiftool -csv -r "c:/Windows/Fonts" > "L:/Serif Software/font related/fonts.csv"

Out of the 1600+ files, there are 250 files copyright tagged FontBank, Inc. ROE which include the GaramondAmerica and BodoniExtraBold examples. But what isn't revealed by ExifTool are the bits about the character encoding; i.e., Unicode 1.0 (0,0), Windows Symbols (3,0), etc., presumably hidden in the Private Use Area (PUA). I'm guessing that none of them can be correctly rendered by Affinity applications without first doing the quick font fix you spoke of using font editors such as FontCreator and FontLab to convert these fonts to Unicode by using the glyph names, and then assigning the correct Unicode codes based on those names like your examples in fixed-fonts. For now, and probably forever, there's no burning need to consider doing this quick fix, even for the nerdy fun of trying. I probably should instead focus on the greater parts of Affinity Photo during this trial period in the 7 days that remain.

So back to the general issue of Affinity non-supported fonts, including what Walt first introduced, Variable fonts, which I have not played with yet. Font substitution allows for some means of still being able to make sense out of a character string when the application; e.g., Affinity Photo, can't otherwise display the string. That's nice, but there ought to be something communicated to the user detailing 1) why the intended font was unable to be correctly rendered by Affinity Photo, 2) why font substituere was chosen, 3) maybe suggested methods to remedy the situation, and 4) maybe allowing the user to choose the default substitution font. The latter would readily facilitate /communicate /flag the issue to the user once the popup notice had been dismissed.

 

Link to comment
Share on other sites

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.