Jump to content
GarryP

Non-horizontal linear gradients on text frame fill?

Recommended Posts

Windows 10 - Publisher 1.7.0.128.

Is there a way to get a Linear Gradient to be anything other than horizontal in a Text Frame fill?
For example, I'd like to be able to make a gradient from light grey at the top, going down to white at the bottom.
I've looked around a bit but I can't see anything relevant.
It's not a big issue as I can easily do what I want another way (well, probably a few other ways), I'm wondering if I'm just not seeing a better solution.

Share this post


Link to post
Share on other sites

If using the Text Frame Studio to add the gradient, when done select the Fill Tool to move the gradient how you want it.

Or just use the Fill Tool to create the Text Frame gradient in the first place.


Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be concerned about.

Share this post


Link to post
Share on other sites

I don't know if I'm just having one of those days; see attached GIF.
Am I doing something wrong? There's a good chance my head isn't on right at the moment but Designer doesn't work this way.

gradient.gif

Share this post


Link to post
Share on other sites

I think I see what's happening.

Change it from Text to Frame where shown below after selecting Fill Tool

 

frame2.png


Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be concerned about.

Share this post


Link to post
Share on other sites

Argh, dammit, I should have been able to figure that out for myself but I didn't notice the extra option lurking up there on the toolbar.
Yet another schoolboy error. Thanks for pointing it out.
Now I just have to figure out what I've done wrong to get my new bit of unexpected oddness (see new GIF).
I've tried this with other documents and the gradient fill works as it does with Designer, it's just this document that has the weird 'box' that doesn't snap very well and where the nodes don't follow the mouse.
It looks like it could be a useful feature but I don't know how I initiated it or how to get rid of it.
Can't find anything in the help yet but searching for "Where has this weird gradient fill box come from?" won't get me many hits.
Any ideas? (It's probably something simple that I've missed, again.)

Update: Upgraded to build 133 and the same weird box is still there. I created a new text frame and the weird box was in that frame too but when I reset the fill (using the "flower with a line through it" icon) the gradient has gone back to a line.

gradient2.gif

Share this post


Link to post
Share on other sites
1 hour ago, GarryP said:

Argh, dammit, I should have been able to figure that out for myself

I came across the same problem some time ago and was helped by some of the moderators. I think it's indeed a little hidden. At least it is there :)

d.


Affinity Designer 1.7.3.481 (beta 1.8.0.514)   |   Affinity Photo 1.7.3.481 (beta 1.8.0.514)   |   Affinity Publisher 1.7.3.481 (beta 1.8.0.518)
Affinity Designer for iPad 1.7.0.7   |   Affinity Photo for iPad 1.6.8.77

Windows 10 (1809) 64-bit - Core i7 - 16GB - Intel HD Graphics 4600 & NVIDIA GeForce GTX 960M
iPad pro 9.7" + Apple Pencil

Share this post


Link to post
Share on other sites
1 hour ago, GarryP said:

weird 'box' that doesn't snap very well and where the nodes don't follow the mouse

I remember a post some months back from @Ben? describing how pasting a gradient in to a different shape causes it to distort, and that this had now been fixed for v1.7

So I think that is what you are seeing, the gradient has been skewed so that it is visually the same as it was in the original shape from which it was copied. 

I also experienced the bug you report about the floaty nodes that don't snap, but didn't report it yet as I was unable to reproduce it reliably. 


Win7 Ultimate x64   |   i5-3570K @ 3.4GHz   |   16 GB RAM   |   120 GB SSD   |   nVidia GTX 660 Ti   |   Huion 1060 Plus

How I make GIFs >>> ScreenToGIF (Windows only, Open Source, Portable, ~600kB)

Share this post


Link to post
Share on other sites
29 minutes ago, dominik said:

I came across the same problem some time ago and was helped by some of the moderators. I think it's indeed a little hidden. At least it is there :)

Looks like a bit unneeded complication. I do not know if this is so elegantly settled in InDesign either but this seems far clumsier. 

Share this post


Link to post
Share on other sites

Another Update: I tried to reset an existing text frame - one that had the weird box problem - and all was fine until I went to give it a gradient background.
The same sort of weird box came up again.
This isn't a massive problem in this particular instance because I don't need to be overly exact but I'd definitely say that it looks like either a bug or a feature that hasn't been fully implemented.

Share this post


Link to post
Share on other sites

This is an new interesting tool for positionning gradient and skewing it, but like you I think it need to be tamed!

Mine run away, out of the visible area and I had to zoom out to find it… :D

2018-09-22_135128.png.f960172a147079f93069756b9bb25040.png

Share this post


Link to post
Share on other sites

I'd actually like to see it extended…

If I could add a different colour to each corner that would be excellent!


Win7 Ultimate x64   |   i5-3570K @ 3.4GHz   |   16 GB RAM   |   120 GB SSD   |   nVidia GTX 660 Ti   |   Huion 1060 Plus

How I make GIFs >>> ScreenToGIF (Windows only, Open Source, Portable, ~600kB)

Share this post


Link to post
Share on other sites
19 minutes ago, Wosven said:

@Aammppaa

How would the color merge? Can you show an example?

I'm not @Aammppaa (obviously!) but I've attached an example from PagePlus X9, showing a square with a four-colour fill applied.

PPX9_Four-Colour.png.9fd4a636cdfab3937328358e546b622f.png


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.3.155 • Designer for iPad 1.7.3.1 • iPadOS 13.2.2 (iPad Air 2)

Share this post


Link to post
Share on other sites
On 9/22/2018 at 2:10 PM, Aammppaa said:

I'd actually like to see it extended…

If I could add a different colour to each corner that would be excellent!

It's not a mesh fill.  It's still a linear fill, but has correction points for when the fill has become skewed/sheared by its parent object - so the two additional points only pick up the gradient end colours.

 

If you drag out a new linear fill, you get the conventional single line.  If you then shear the object, you will see that the linear fill is still conforming to its object, and you will now get the shearing handles on the fill.

 

This is a (new) unique Affinity feature, and allows you to put a linear fill on an object and non-uniformly scale or shear it while preserving the fill qualities.  If the fill was still based on a 2D line, it would walk or distort relative to its parent object.  Not good for scaling objects or symbols.

 


SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB

Share this post


Link to post
Share on other sites

As for the "floaty nodes" bug - if anyone can provide an example document, I'll look into it.


SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB

Share this post


Link to post
Share on other sites

@Ben Here's a cut-down example document where you should see the problems with the nodes.
* Select the "Other Contacts" text frame (or any other that looks the same);
* Zoom in so you can see what's happening more easily;
* Select the "Fill Tool";
* Select "Frame" in the Context toolbar.
Issue A:
* Drag one of the bottom nodes around and the node will not follow the mouse. The difference is more pronounced the more you drag away from the original position.
Issue B:
* Drag one of the top nodes around for a bit and you should see that the box disappears. Difficult to say when exactly, it just seems to be a bit random (but probably isn't).
Issue C:
* The frame isn't rotated or skewed so I don't know why the gradient line isn't a single line.

Hope this helps.

floaty_nodes.gif

floaty_nodes.afpub

Share this post


Link to post
Share on other sites

This looks like a bug to do with fills on text frames.

 

I'm guessing you don't see these problems with fills on other objects?


SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB

Share this post


Link to post
Share on other sites
On 9/22/2018 at 11:56 AM, Wosven said:

@Aammppaa

How would the color merge? Can you show an example?

For now you can have different colors on the radial gradiant

2018-09-22_173730.thumb.png.4ebc04fcaf47cb49f2e3948a738f1afc.png

Hey how did you manage to get the canonical gradient shape to go from circle to oval shape? I can't figure it out. Everytime canonical is a circle for me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | 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.