Hi everyone.
When fitting text to path, I'm no longer able to center the text in the path? I recall doing that in previous versions...
I'm using Corel Draw 2017
PR
I have to admit I use an unconventional approach to fit text to path. Select both text and path then go Text/Fit Text to Path. And in X7 I get the same bad result as you. The text defaults to the left most node or end of the path.
So I did some experimenting. Select the text then go Text/Fit Text to Path and then hover over near the center of the path and you'll get a fat red cursor indicating the center. Just drop it there
maybe using macro can help
Make multi selection (hold Shift key when click on objects) – 1. select text and 2. select path and run macro code below
Sub MyFit()Dim myText As Shape, Path As Shape, sr As ShapeRange, x#, y#, w#, h#ActiveDocument.BeginCommandGroup ("myfit")Set sr = ActiveSelectionRangeSet myText = sr(2)Set Path = sr(1)sr(1).GetBoundingBox x, y, w, hmyText.Text.FitToPath PathmyText.Effects(1).TextOnPath.Placement = cdrCenterPlacementmyText.Effects(1).TextOnPath.DistanceFromPath = sr(1).Outline.Width + 0.01ActiveDocument.EndCommandGroupEnd Sub
PS. similar thread - auto center when aligning to path
Using this macro has the advantage of keeping the text centered when changing character spacing. Thank you.
You are welcome.