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

All Text Styles disappear when importing a file (Photo and Designer)


Theseus

Recommended Posts

On both Photo 2 and Designer 2, the default Text Styles disappear when importing a file. Only when creating a new file do the default text styles appear.

Expected behaviour: Importing a file (drag onto toolbar, or using "Open") must have all default Text Styles available. Just like in V1 of Photo and Designer.

To reproduce: Drag and drop a file (.png, .jpeg, any format) onto the toolbar, or open it using "File->Open". Text Styles will be empty and contain only "[No Style]" paragraph and character.

Creating a New file, or using "New From Clipboard" shows the expected behaviour of populating the Text Styles panel.

Link to comment
Share on other sites

  • 2 weeks later...
  • Staff

Hi @Theseus,

I'm experiencing the exact same behaviour in V1 and V2 when opening .JPEGs, PNG, TIFF etc. files which will not open with the default text styles since as far as I'm aware this information isn't retained in the file formats metadata.

In V1 and V2 when I open a native .afphoto/afpub/afdesign file which contained text styles when it was originally created (such as via file > new which inserts the default styles), the text styles contained within are being correctly picked up.

Link to comment
Share on other sites

I think this behavior also applies to other file types that don't contain text style info, @NathanC. I've seen it with PDF files, for example, in V1 (and I expect in V2).

-- 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 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

  • 1 year later...

I think this feature is working as designed - Affinity loads text styles from the document but some formats, such as images, don't have text styles. However, it would be useful to be able to load the default styles even if you're going to save right back to a JPG and the styles won't be saved with the image.

I think it would be nice if Affinity had a new command in the Text Styles panel menu named Import Default Styles.

In the meantime, this is easy to workaround. Create a blank document with text styles (afphoto, afdesign, or afpub) and save it with the name Text Styles or whatever you like, stored in a convenient location. Whenever you want access to the default styles in an image or document without styles, simply choose Import Styles from the Text Styles panel menu and choose that file.

Link to comment
Share on other sites

6 minutes ago, Theseus said:

This is still broken. It works as expected in Affinity v1: importing a picture or from clipboard gives you access to the text styles you have defined in the application.

Can you please fix it?

I believe that (as described above) it's working as intended. When you Open a file (assuming that's what you mean by "import") you only have the Text Styles that are present within that file. That would also apply to New from Clipboard.

And since files except .afphoto, .afdesign, .afpub, .aftemplate, .psd, and .ai do not contain Text Styles, if you Open one of them you won't have any.

-- 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 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

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.