Jump to content

[Publisher] Cannot export to PDF


Recommended Posts

There is one old reported problem with Source Han Sans, and it has a bug tag of AFB-3865, but I'm unable to tell if it was specific to that font nor if it is still open. Someone from Serif may know.

 

-- 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

OK. I am now on my laptop and opened your document.

I see the font used is Source Han Sans SC VF - no way to tell if OTF or TTF.
The Light instance was selected.

I tested exporting from the variable TTF and it did work... eventually.
Took a long time to display the preview.
And took a long time to export and display the PDF.

Changed the font to the Source Han Sans SC Light static OTF font.
Preview showed quickly.
Export to PDF was quick.

Source Han Sans SC has 65,535 glyphs and 44,812 characters.
It appears Affinity processes all characters in a font, not just what is needed.
So a huge font like this, and being variable with two masters - it takes a long time.
Affinity needs to optimize this.

Work-around in the meantime - use the static fonts.

Link to comment
Share on other sites

@walt.farrell, Thank you for the suggestions, and to the link to the existing bug report!

@kenmcd The font that I was using is SourceHanSansSC-VF.otf, and from it I’m using simplified Chinese characters. The main language of the document is American English.

Also, thank you for explaining what may be happening, namely Publisher processing all characters in the font. That means quite a bit of computation: As I just learned, by default these fonts create glyphs for different weights dynamically. Using the static version of Source Han Sans, with all weights baked in, indeed solves the issue. Now export is indeed fast.

Before, I never got a successful export. I even let my computer sit over dinner, and Publisher just crashed, very frustrating. I tried all kinds of improvements, such as making sure the resolutions of images used are not carelessly high. It took me a while to find that the issue is with the font.

Link to comment
Share on other sites

@feklee: Forum usage hint: If you want to tag/notify someone:

  • Type the @ sign
  • Start typing their name until you get the dropdown list of matching names. Type more letters to make the list smaller.
  • Choose a name from the dropdown list.
  • Then you get a highlighted field (as at the beginning of this post, rather than plain text @feklee and (depending on their notification settings) they will be notified..

(And, you're welcome :) )

-- 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

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.