Jump to content

z@*.tmp coming up as missing font in pdf


Recommended Posts

Hi, I have tried searching but have not found any questions regarding this issue. When I opened up a pdf document in affinity publisher Z@*.tmp comes up as a missing font (several of these come up such as z@rac78.tmp). I have a font to replace it with but words come up as gibberish in the document. I tried deleting my temporary files, restarting the computer but it is still an issue. When I open the same file in adobe acrobat, the pdf file looks fine. It is driving me crazy, LOL. Any help or suggestions are appreciated. Thanks so much. 

Link to comment
Share on other sites

5 hours ago, dianne32 said:

When I open the same file in adobe acrobat, the pdf file looks fine.

Then check in Acrobat which fonts have been finally used there for that PDF file.

See also related ...

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

12 hours ago, dianne32 said:

When I open the same file in adobe acrobat, the pdf file looks fine.

Most likely it is simply displaying the shapes that are there - which look like text, but actually there is no embedded text or font.

Or it could actually be text using an encoding that APub does not support. If that is the case it may be possible to recover the text.

Have to see the PDF.

Link to comment
Share on other sites

15 hours ago, v_kyr said:

Then check in Acrobat which fonts have been finally used there for that PDF file.

See also related ...

Thank you. I will check that. I have read those other links you provided but still haven't been able to fix the issue in affinity. That's where I got the info to delete the temp files. 

 

Link to comment
Share on other sites

8 hours ago, kenmcd said:

Most likely it is simply displaying the shapes that are there - which look like text, but actually there is no embedded text or font.

Or it could actually be text using an encoding that APub does not support. If that is the case it may be possible to recover the text.

Have to see the PDF.

Thanks. I will google recovering the text. 

Link to comment
Share on other sites

2 hours ago, dianne32 said:

Thanks. I will google recovering the text. 

Can you share the PDF?

What application created it?

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

On 7/14/2023 at 11:10 AM, walt.farrell said:

Can you share the PDF?

What application created it?

It is a puzzle file made by someone on fiverr. I am attaching the demo he gave me.  It has the same temp files coming up but final result isn't as gibberish. But it is the same problem. I will get in touch with the creator and see what he used to make it. Thanks for any help.

DEMO Easy-Medium-Hard-Extra Hard Sudoku Puzzles with Solutions.pdf

Link to comment
Share on other sites

1 hour ago, dianne32 said:

Thanks for any help.

The reason you're seeing those is that whatever application he used created the PDF that way. Acrobat Reader, for example, shows some embedded Roboto fonts, but also these at the end of the list of fonts for that demo file:

image.png.595d41fc6eebef0b75275a64b11c99a3.png

As the Affinity apps cannot use embedded fonts, that approach to creating PDFs won't work with any Affinity app.

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

1 hour ago, dianne32 said:

I am attaching the demo he gave me. 

The only pages that have any actual text are:
- page 2 - "This book belongs to"
- page 3 - the table of contents

Everything else is just shapes.
So all the "text" on Page 1 (page 4) is shapes - there is no actual text.
Same with all the other pages to the end. Just shapes. No text.

And the encoding on the actual text is WinAnsi - which is a pre-Unicode encoding which Affinity applications do not support.
A work-around for this type of actual text with old encoding is to open the file in an application which does understand this old encoding - and these applications will often automatically convert/update this old encoding to Unicode - and then paste that updated Unicode text into Affinity.

The only thing you can do with the shapes "text" is use OCR to convert it to actual text.

Link to comment
Share on other sites

40 minutes ago, kenmcd said:

The PDF says it was created with: Adobe Illustrator 27.2 (Windows)

I wonder if those odd fonts were instantiated/created to handle text that was made from a Variable font?

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

4 hours ago, walt.farrell said:

I wonder if those odd fonts were instantiated/created to handle text that was made from a Variable font?

I don't think so.
Adobe has published guidelines on how they think variable font instances should be named - the PS names used in embedding the fonts.

Quote

Adobe Technical Note #5902
Generating PostScript Names for Fonts Using OpenType Font Variations
Version 1.0, September 14 2016

If it is a named instance, then that name is what is going to be used to embed the font - just like static fonts. In the part about "arbitrary instances" they have guidelines on how to construct PS names to use for embedding custom instances.
And those PS name guidelines look nothing like these .tmp font names.

So I have no idea where these weird .tmp font names are coming from.
Or even why they are there.
There does not appear to be any fonts embedded with those names.

I wonder if the original source was from another application and that was then edited in Illustrator and then output to PDF again. Dunno.

Note: I have seen them embed variable fonts in a manner which does not seem to follow their own guidelines, but still nothing like this.

Another thought, if Adopey had actually done this - there would actually be a font embedded there. They normally do not have any problems embedding variable fonts.

Link to comment
Share on other sites

Hmmm... on looking a little closer...
There three .tmp fonts do actually have characters embedded.
Looks like they are used in the headings on some of the tables.
And they are encoded as Unicode.
And the characters look like they could actually be from Roboto-Bold.

The five styles of Roboto which are embedded are all WinAnsi encoding.
Why would some fonts be embedded as Unicode and some as WinAnsi?
Makes no sense.

Gonna see if I can replace all the fonts...

Link to comment
Share on other sites

pdfmissingfont1.jpg.2ec1054b06648095bf4307c983d44683.jpg

On 7/15/2023 at 7:03 PM, kenmcd said:

The only pages that have any actual text are:
- page 2 - "This book belongs to"
- page 3 - the table of contents

Everything else is just shapes.
So all the "text" on Page 1 (page 4) is shapes - there is no actual text.
Same with all the other pages to the end. Just shapes. No text.

There seem to be some more text layers across the entire document.
Unfortunately many of the text frames are cropped by a nested vector mask. – Does someone have an idea what workflow in the initial layout would cause these masks in the PDF / for Affinity?

pdfmissingfont5.jpg.14be76f4e0090896769ecef2c7122b04.jpg --- pdfmissingfont4.thumb.jpg.e2dbcfd5df4c136e24e28a3986d99729.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

29 minutes ago, thomaso said:

Does someone have an idea what workflow in the initial layout would cause these masks in the PDF / for Affinity?

From earlier posts, it was created in Illustrator, not one of the Affinity applications.

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

27 minutes ago, walt.farrell said:

From earlier posts, it was created in Illustrator, not one of the Affinity applications.

That's what my first screenshot says. too. – But what workflow (in AI, or on PDF export or conversion) might cause the masked text frames in this PDF? It is rather quite unlikely that they got masked by the initial designer / in the Illustrator layout document, right? But I can't think of any export option that causes such masks for text either.

A possibly related question would be: How come that on the pages with tables (?) the numbers got curved but the texts above/below did not ('instead' they got masked)?

Even in case the initial designer imported those items from a third application into Illustrator, I still wonder what step exactly would cause this, and with what goal (to prevent / achieve what)?

EDIT: obviously the masks exist in the PDF as white filled paths:

pdfmaskedtext.thumb.jpg.db0773d54197dfc4717cda740bdf2146.jpg

Edited by thomaso

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

50 minutes ago, thomaso said:

But what workflow (in AI, or on PDF export or conversion) might cause the masked text frames in this PDF? It is rather quite unlikely that they got masked by the initial designer / in the Illustrator layout document, right? But I can't think of any export option that causes such masks for text either.

Read through this here to get a vague idea ...

... the same will happen for PDF generation then (instead of print outs) and by reusing such generated PDFs then in other PDF format related apps.

Further a bunch of Sudoku Generators (Python, JS, PHP, ... based etc.) on the net do also offer to generate PDFs directly as output, they make therefor use of some third party PDF generation libs, where some of those in turn have some own bugs/problems with certain font usages here too when generating PDF files (...some of them especially with certain Arial and Roboto fonts).

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

4 minutes ago, v_kyr said:

Read through this here to get a vague idea ...

It seems to explain the culprit / the font issue – but does it mention "mask"? Whereas, yes, an involved Sudoku Generator with a buggy PDF generation lib could be reason. Thanks.

But I am still curious to understand for what purpose such a command gets written (~ "create a mask for text frames in similar size but slightly larger"), either in a Sudoku or a PDF generator lib. I just can't imagine any use for this, especially because these masks don't really mask anything visually. (the do in my screenshots only because of my font replacement)

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

5 hours ago, thomaso said:

There seem to be some more text layers across the entire document.

As mentioned above...

22 hours ago, kenmcd said:

Hmmm... on looking a little closer...
There three .tmp fonts do actually have characters embedded.
Looks like they are used in the headings on some of the tables.
And they are encoded as Unicode.
And the characters look like they could actually be from Roboto-Bold.

The five styles of Roboto which are embedded are all WinAnsi encoding.
Why would some fonts be embedded as Unicode and some as WinAnsi?
Makes no sense.

 

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.