Jump to content

Recommended Posts

Posted

Sorry, I am having trouble putting text on top of an image. Please help me, when I open a jpeg image in affinity publisher or affinity photo and place a text frame over it, I can't type (can't see anything).
The text size (pt) is not selectable.
When I look at the history, the text I type is reflected, so it is not a keyboard issue.
What should I do?
(I used translation software).

Posted

Check that the outline colour of the text is not transparent or non contrasting.

Temporarily hide the image layer to ensure the text is visible and doesn’t have an attribute set, like leading, that means the text isn’t visible.

Posted
1 hour ago, mico said:

The text size (pt) is not selectable.

When you create a text frame you should see something like the screenshot below
If you don't see that then check that Show Context Toolbar is ticked
If that doesn't help please post a screenshot showing what you see

 

TextFrameProb.png

TextFrameProb2.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted

Catshill-san, thank you very much.
I believe the text color is set correctly.
What is leading?

David in Яuislip-san, thank you very much.
That pull-down menu always shows only "pt" without reflecting my choice of number.

image.thumb.png.b58a532d9fd8e370bbc840d7a136c48d.png

Posted

Sorry, I can't upload the file.
I can't reproduce the phenomenon with other images.
I can't upload the images that cause the problem here because they are used for work.
The image in question is in jpg format, but there are images in the same jpg format that work fine. The difference is not clear to me...

Posted

I take back my previous statement.

I was able to reproduce the phenomenon.
It seems that only still images captured from videos using the windows preset photo apps will have this symptom.

I am attaching the project file.

report230607.afpub

Posted

Ok, I could not get your text frame to work so I created an new version and added a text frame and mine works, try it in your Affinity Publisher...

Report - Test document.afpub

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

The only other option would be to go to Affinity Publisher > Preferences > Miscellaneous: Reset Text Styles

Screenshot2023-06-07at09_47_54.thumb.png.2ec3a69e472f35d28a9fa3a6aa5cc8e4.png

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

There is something weird in the OP's .afpub file.

If I open on my iPad, and select the Text Frame, I can set the font size, but it doesn't seem to take effect. Additionally, if I switch to the Node Tool, it shows the Width as "nanpt".

-- 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.2.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

When I open the OP’s document in Publisher 2.1 on Windows, after selecting the frame text layer, the font size is ‘stuck’ at “ pt” (with a leading space) and cannot be changed either via the drop-down list or by manually entering a value in the Context Toolbar field.

Using the “Revert Defaults” Toolbar button has no effect.

Resizing the text frame, with either bottom-right handle, has no effect.

Changing the font size value in the Character Panel has no effect.

Going into the Text Styles Panel I noticed that the only Paragraph Style which exists has no name, not even “[No Style]”. This could be a symptom of the problem if the text doesn’t even have “[No Style]” (whatever that means).

However, when I create a new document by dragging an image onto the Publisher window all looks to be as expected.

P.S. It’s possible that the “nanpt”, as reported by Walt, could be a result of converting a “Not A Number” value to a string without checking first.

Posted
2 hours ago, joe_l said:

My observation: Change the document dpi from 0!!!! to e.g. 300 and use the "Revert defaults" button on the textframe.

Yeah, the page being infinite inches wide really messes things up.

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

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

Posted
4 hours ago, GarryP said:

“Not A Number”

NaN is mostly a result of division by zero, which is probably a result of setting DPI to 0.
https://en.wikipedia.org/wiki/NaN

It is interesting that the document has this meaningless value at all - if I enter zero DPI in New Document, the value automatically changes to 1 (which is correct).
So this erroneous value, which Affinity apparently no longer tests and corrects, must have been obtained by the document through some kind of import.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
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.

Posted

Thank you all so much for your help.
Was this caused by the DPI being set to 0? I was not aware of this at all.
So it seems that if I want to use an image like this one, I have to create a new document and then load the image, instead of "open image from program".
I will do so in the future.

Posted
29 minutes ago, mico said:

I have to create a new document and then load the image, instead of "open image from program".

How are you performing the “open image from program” operation, and where are you doing it?
Can you give us the exact steps you use, detailing which application(s) you are using, when you do this?

I’ve tried various ways to ‘open’ an image in Publisher:

  • in Explorer, right-clicking the file and choosing “Open With → Affinity Publisher 2” from the context menu;
  • dragging the image file from a folder to the Publisher window;
  • typing the filename with extension into the ‘Open’ dialog filename field;

...and can’t reproduce the result of getting a zero DPI document.

Posted
1 hour ago, GarryP said:

in Explorer, right-clicking the file and choosing “Open With → Affinity Publisher 2” from the context menu;

This one.

However, this phenomenon occurs only for images captured from videos using the PHOTO application, which is a standard Windows implementation.

I can send you an image of it so you can try it out.

If you can't reproduce it using this image, it could be a problem with my computer.

7678_1280x720 - frame at 0m1s.jpg

Posted

Sorry, maybe the properties of the image will change once it is uploaded to the internet.
The best way to be sure is to try it yourself by creating a still image from the video (e.g. mp4) using a photo application.

Posted
16 minutes ago, mico said:

Sorry, maybe the properties of the image will change once it is uploaded to the internet.

To be sure, you can Zip the image first, then upload the .zip file.

-- 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.2.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted
17 minutes ago, mico said:

Sorry, maybe the properties of the image will change once it is uploaded to the internet.

Zip the image and upload the zip file to the forum, then the properties will not change

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted (edited)
27 minutes ago, mico said:

Sorry, maybe the properties of the image will change once it is uploaded to the internet.

It's alright.
Save image and Open image with APhoto:
image.png.34ccc51600dbe359c0fb1e0decc11cdd.png

image.png.c347fd9b90d30e42b96436e62995ae81.png

 

P.S. This is a "bug" in Affinity - image processing with such erroneous/incorrect data must be properly treated.

Edited by Pšenda

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
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.

Posted
12 minutes ago, Pšenda said:

P.S. This is a "bug" in Affinity - image processing with such erroneous/incorrect data must be properly treated.

In this case, would you want the application to invent something (which will probably be incorrect) or simply reject the file as containing incorrect information?

-- 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.2.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

  • Staff
Posted

Hi All stellar detective work as always.

Whilst I'm not entirely sure if this is a bug or something we can actually fix I'm going to log this with our dev team to see if it can be improved in some way.

Thanks
C

Please tag me using @ in your reply so I can be sure to respond ASAP.

Posted (edited)
15 minutes ago, walt.farrell said:

In this case, would you want the application to invent something (which will probably be incorrect) or simply reject the file as containing incorrect information?

??? Why do you think the application comes up with a wrong (probably incorrect) value when entering DPI=0?

22 hours ago, Pšenda said:

It is interesting that the document has this meaningless value at all - if I enter zero DPI in New Document, the value automatically changes to 1 (which is correct).


Simply 0 is nonsense, and the application must not work with it - the calculator also does not divide by zero!

image.png.ab488b97831a7940107d382adcdc34ac.png

Edited by Pšenda

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
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.

Posted
22 minutes ago, Pšenda said:
36 minutes ago, walt.farrell said:

In this case, would you want the application to invent something (which will probably be incorrect) or simply reject the file as containing incorrect information?

??? Why do you think the application comes up with a wrong (probably incorrect) value when entering DPI=0?

Walt didn't say that. Instead, he asked a question:  "would you want the application to invent something?"- Probably because the application cannot derive a correct DPI value from the image itself. 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

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.