Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11

    Default Re: How to scale font size in spiral

    Are you trying in illustrator, Larry? Or just in an Xara product?

  2. #12
    Join Date
    Jul 2010
    Location
    England
    Posts
    1,137

    Default Re: How to scale font size in spiral

    Hello all

    Another approach is to use a macro to incrementally reduce the font size of the string of numbers. This will obviously require access to a keyboard macro utility. For the example below I used Mini Mouse Macro which is free from Turnssoft. They also offer a Pro version for about £4 GBP.

    Note, I'm not an expert at macros. That said, here we go...

    Here's the sequence of actions for the macro which will reduce text size (one character at a time) in 1pt steps.

    1. Shift+Right (select character)
    2. Ctrl+Shift+A (paste attributes)
    3. Ctrl+Shift+< (reduce font by 1pt)
    4. Ctrl+C (copy)
    5. Right (move cursor to right)


    My method using Xara Photo & Graphic Design (and Mini Mouse Macro)...

    To start with you will need to make all numbers (or text) the same size and copy some of the text to the clipboard to 'prime' the second action (paste attributes) in the macro - see above

    1. paste Pi numbers (copied off a webpage)
    2. zoom out to max zoom level (5%)
    3. change font size to 999pt
    4. run macro, looped 999 times.
    5. create and import (drag and drop) spiral line (I used spxe.exe)
    6. fit text to curve and adjust as req.

    Click image for larger version. 

Name:	pi.gif 
Views:	150 
Size:	159.5 KB 
ID:	106201

    I've not tried yet, but I suspect there are number of laborious tasks that could be made easier using a macro to playback keystrokes.
    Attached Files Attached Files
    Last edited by Jonopen; 18 February 2015 at 01:02 AM. Reason: Added macro txt file

  3. #13

    Default Re: How to scale font size in spiral

    Well done, Jonopen. Haven't tried it yet, looks fine and done in an Xara product. The thread is about Illustrator...and the same can be done in it with javascript. Just too lazy to write it...

    I'll give it a whirl in XDP. Thanks!

    Mike

  4. #14

    Default Re: How to scale font size in spiral

    Hah, works a treat.

    Thanks, Jonopen.

    Mike

  5. #15
    Join Date
    Jul 2010
    Location
    England
    Posts
    1,137

    Default Re: How to scale font size in spiral

    Thanks Mike.

    I'm afraid I didn't have a recent copy of Illustrator to hand for testing, but assuming there are keyboard shortcuts for copying and pasting text attributes, I believe it should work the same. The timings in my macro were intentionally chosen to run on a slow'ish PC. You might find you can decrease the values (the numbers in the 4th column) to make it fly if you have a high spec PC.

    Also it occurred to me that if the default font unit was set to pixels (rather than points), it might result in a slightly gentler incline.

    Click image for larger version. 

Name:	points-and-pixels.png 
Views:	138 
Size:	33.0 KB 
ID:	106210
    Click image for larger version. 

Name:	difference.png 
Views:	134 
Size:	51.6 KB 
ID:	106211

  6. #16
    Join Date
    Oct 2006
    Location
    StPeters, MO USA
    Posts
    10,819

    Default Re: How to scale font size in spiral

    Quote Originally Posted by mwenz View Post
    Are you trying in illustrator, Larry? Or just in an Xara product?
    Just in a Xara product Mike
    Larry a.k.a wizard509

    Never give up. You will never fail, but you may find a lot of ways that don't work.

  7. #17

    Default Re: How to scale font size in spiral

    Then Jonopen's process works just fine. The below was, like Jonopen's example, done wholly in XDP.

    Mike

    Click image for larger version. 

Name:	capture-002726.png 
Views:	160 
Size:	183.0 KB 
ID:	106224

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •